Use semop syscall for Linux implementation
[glibc.git] / ChangeLog
blob76ad37da1e78666022c9ee1f5afcd3edf7f7aee7
1 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
7         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10         Likewise.
11         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12         Likewise.
13         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
14         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
15         defined.
17         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
18         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
19         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
20         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
21         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
22         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
23         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
24         Likewise.
25         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
26         Likewise.
27         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
28         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
29         if it is defined.
31         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
32         oldsemctl.
33         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
34         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
35         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
36         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
37         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
38         implementation.
39         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
40         syscall if it is defined.
41         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
42         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
43         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
44         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
45         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
46         Likewise.
47         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
49         * sysvipc/Makefile (tests): Add test-sysvmsg.
50         * sysvipc/test-sysvmsg.c: New file.
51         * support/check.h (FAIL_UNSUPPORTED): New define.
53         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
54         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
55         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
56         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
57         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
58         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
59         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
60         Likewise.
61         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
62         Likewise.
63         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
64         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
65         define.
67         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
68         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
69         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
70         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
71         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
72         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
73         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
74         Likewise.
75         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
76         Likewise.
77         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
78         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
79         if defined.
81         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
82         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
83         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
84         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
85         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
86         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
87         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
88         Likewise.
89         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
90         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
91         Likewise.
92         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
93         if defined.
94         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
96         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
97         oldmsgctl.
98         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
99         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
100         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
101         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
102         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
103         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
104         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
105         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
106         Likewise.
107         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
108         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
109         implementation.
110         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
111         if defined.
113         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
114         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
115         definition and define its own.
116         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
117         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
118         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
119         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
120         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
121         definitions to common header.
122         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
123         operation from ipc_ops.h.
125         * sysdeps/unix/sysv/linux/kernel-features.h
126         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
127         * sysdeps/unix/sysv/linux/i386/kernel-features.h
128         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
129         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
130         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
131         * sysdeps/unix/sysv/linux/mips/kernel-features.h
132         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
133         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
134         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
135         * sysdeps/unix/sysv/linux/s390/kernel-features.h
136         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
137         * sysdeps/unix/sysv/linux/sh/kernel-features.h
138         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
139         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
140         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
142 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
144         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
145         overflow in pointer addition.
147 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
149         * sysdeps/powerpc/powerpc64/multiarch/Makefile
150         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
152         (strchr): Add __strchr_power8 to list of strchr functions.
153         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
154         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
155         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
156         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
157         (strchr): Add __strchr_power8 to ifunc list.
158         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
159         (__strchrnul): Add __strchrnul_power8 to ifunc list.
160         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
161         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
163 2016-12-28  Florian Weimer  <fweimer@redhat.com>
165         * support/Makefile (libsupport-routines): Add
166         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
167         (tests): Add tst-support_record_failure.
168         (tests-special): tst-support_record_failure-2.
169         (tst-support_record_failure-2.out): Depend on
170         tst-support_record_failure-2.sh and tst-support_record_failure.
171         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
172         (support_test_verify_impl, support_record_failure)
173         (support_report_failure, support_report_failure_reset): Declare.
174         * support/support_test_main.c (adjust_exit_status): New function.
175         (support_test_main): Call it to incorporate record test failures.
176         * support/support_test_verify_impl.c: New file.
177         * support/support_record_failure.c: Likewise.
178         * support/tst-support_record_failure.c: Likewise.
179         * support/tst-support_record_failure-2.sh: Likewise.
180         * support/xunistd.h: Likewise.
181         * support/xfork.c: Likewise.
182         * support/xwaitpid.c: Likewise.
184 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
186         * scripts/check-c++-types.sh: Add comments.
188 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
190         [BZ #19514]
191         * resolv/res_send.c: Fix typo in comment.
192         * sysdeps/i386/i386-mcount.S: Likewise.
193         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
194         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
195         * sysdeps/sparc/sparc-mcount.S: Likewise.
197 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
199         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
200         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
201         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
202         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
203         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
204         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
205         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
206         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
208 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
210         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
212 2016-12-27  Florian Weimer  <fweimer@redhat.com>
214         [BZ #17252]
215         * posix/unistd.h (getentropy): Declare.
217 2016-12-27  Florian Weimer  <fweimer@redhat.com>
219         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
220         Remove.
221         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
222         (cmd): Remove spoof, nospoof, spoofalert.
223         (parse_line): Ignore spoof-related lines.
224         (do_init): Do not process RESOLV_SPOOF_CHECK.
226 2016-12-27  Florian Weimer  <fweimer@redhat.com>
228         [BZ #20964]
229         sunrpc: Always obtain AF_INET addresses from NSS.
230         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
231         * sunrpc/rpc_gethostbyname.c: New file.
232         * sunrpc/Makefile (routines): Add it.
233         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
234         * sunrpc/clnt_simp.c (callrpc): Likewise.
235         * sunrpc/getrpcport.c (getrpcport): Likewise.
237 2016-12-27  Florian Weimer  <fweimer@redhat.com>
239         * sunrpc/rpcinfo.c: Remove.
240         * sunrpc/Makefile: Remove comments referring to rpcinfo.
242 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
244         [BZ# 19387]
245         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
246         addition.
247         * string/test-memchr.c (do_test): Remove alignment limitation.
248         (test_main): Add test that trigger BZ# 19387.
250 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
252         [BZ #7065]
253         Enable stack protectore if requested by ./configure.
254         * Makeconfig (+stack-protector): New variable.
255         (+cflags): Use it.
257 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
259         [BZ #7065]
260         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
261         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
262         (__rt_sigreturn_stub): Use inhibit_stack_protector.
263         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
264         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
266 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
268         [BZ #7065]
269         * login/Makefile (pt_chown-cflags): Remove.
270         * nscd/Makefile (CFLAGS-nscd): Likewise.
271         * resolv/Makefile (CFLAGS-libresolv): Likewise.
273 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
275         [BZ #7065]
276         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
277         non-libc-linking testcase.
279 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
280             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
281             Florian Weimer  <fweimer@redhat.com>
283         [BZ #7065]
284         PLT avoidance for __stack_chk_fail*.
285         * debug/Makefile (CFLAGS-stack_chk_fail.c)
286         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
287         * debug/stack_chk_fail.c (__stack_chk_fail): Add
288         __stack_chk_fail_local alias.
289         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
290         (__stack_chk_fail): Turn into hidden reference to
291         __stack_chk_fail_local.
293 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
295         [BZ #7065]
296         * configure.ac: Add check for unsupported stack-protection level.
297         (libc_cv_predef_stack_protector): Remove.
298         (no_ssp): New variable.
299         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
300         (stack_protector): Set to -fno-stack-protector similarly.
301         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
302         (libc_cv_asm_set_directive): Likewise.
303         (libc_cv_protected_data): Likewise.
304         (libc_cv_z_combreloc): Likewise.
305         (libc_cv_hashstyle): Likewise.
306         (libc_cv_has_glob_dat): Likewise.
307         (libc_cv_output_format): Likewise.
308         (libc_cv_output_format): Likewise.
309         (libc_cv_ehdr_start): Likewise.
310         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
311         (LIBC_LINKER_FEATURE): Likewise.
312         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
314 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
316         [BZ #7065]
317         * elf/Makefile (dummy-stack-chk-fail): New.
318         (librtld.map): Use it.
320 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
322         [BZ #7065]
323         Compile the dynamic linker without stack protection.
324         * elf/Makefile (elide-stack-protector): New.
325         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
326         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
327         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
328         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
330 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
332         [BZ #7065]
333         * config.make.in (have-ssp, no-stack-protector): New.
334         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
335         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
336         (CFLAGS-sbrk.op): Likewise.
337         (CFLAGS-brk.o): Likewise.
338         (CFLAGS-brk.op): Likewise.
339         * string/Makefile (CFLAGS-memcpy.c): Likewise.
340         (CFLAGS-wordcopy.c): Likewise.
342 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
344         [BZ #7065]
345         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
346         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
347         * include/libc-symbols.h (inhibit_stack_protector): New macro.
348         (__ifunc_resolver): Use it.
349         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
350         inhibit_stack_protector.
351         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
352         * elf/ifuncmain7.c (foo_ifunc): Likewise.
353         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
354         (foo_protected_ifunc): Likewise.
355         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
356         (foo_protected_ifunc): Likewise.
357         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
358         * sysdeps/nacl/nacl_interface_query.c
359         (nacl_interface_query_ifunc): Likewise.
360         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
361         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
362         Likewise.
363         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
364         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
365         the generated vDSO syscall resolver.
367 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
368             Florian Weimer  <fweimer@redhat.com>
370         [BZ #7065]
371         Initialize the stack guard earlier when linking statically.
372         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
373         (__pthread_initialize_minimal): Declare.
374         * csu/libc-start.c (__pthread_initialize_minimal): Remove
375         declaration.
376         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
377         stack canary and apply_irel initialization up.  Call
378         __pthread_initialize_minimal only if linked in.
379         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
380         constant values.
381         (__pthread_initialize_minimal): Remove.
382         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
383         (__pthread_initialize_minimal_internal): Do not call
384         __libc_setup_tls.
386 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
388         [BZ #7065]
389         * configure.ac (libc_cv_ssp): Move up.
390         (libc_cv_ssp_strong): Likewise.
391         (libc_cv_ssp_all): New.
392         (stack_protector): Augment, adding -fstack-protector-all.
393         (no_stack_protector): New.
394         (STACK_PROTECTOR_LEVEL): New.
395         (AC_ARG_ENABLE(stack-protector)): New configure flag.
396         * manual/install.texi (--enable-stack-protector): Document it.
397         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
399 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
401         * README.pretty-printers: Must specify CPPFLAGS-* also.
402         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
403         (CPPFLAGS-test-mutex-printers.c): Define.
404         (CPPFLAGS-test-condattr-printers.c): Define.
405         (CPPFLAGS-test-cond-printers.c): Define.
406         (CPPFLAGS-test-rwlockattr-printers.c): Define.
407         (CPPFLAGS-test-rwlock-printers.c): Define.
409         * nss/Makefile [ifeq (yes,$(have-thread-library))]
410         (tests): Add tst-cancel-getpwuid_r.
411         * nss/tst-cancel-getpwuid_r.c: New file.
413         [BZ #11941]
414         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
415         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
416         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
417         tst-nodelete-dlclose.
418         (modules-names): Add tst-nodelete-dlclose-dso and
419         tst-nodelete-dlclose-plugin.
420         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
421         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
422         ($(objpfx)tst-nodelete-dlclose): Define.
423         ($(objpfx)tst-nodelete-dlclose.out): Define.
425 2016-12-23  Florian Weimer  <fweimer@redhat.com>
427         * scripts/test_printers_common.py: Log GDB output in case of
428         Python detection failure.
430 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
432         * configure.ac: Check for python3 or python.
433         * configure: Regenerated.
434         * config.make.in (PYTHON): New variable.
435         * benchtests/Makefile: Don't define PYTHON.
436         (bench): Define target only if PYTHON was defined.
437         * Rules: Don't define PYTHON.
438         Define pretty printer targets only if PYTHON was defined.
439         (tests-printers): Add to tests-unsupported if PYTHON is not
440         found.
441         (python-flags, python-invoke): Remove.
442         (tests-printers-out): Use PYTHON instead of python-invoke.
444 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
446         [BZ #20978]
447         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
448         Compare name == NULL, not name != NULL.
450         * manual/texinfo.tex: Update to version 2016-09-18.18 with
451         trailing whitespace removed.
452         * scripts/config.guess: Update to version 2016-10-02.
453         * scripts/config.sub: Update to version 2016-11-19.
454         * scripts/install-sh: Update to version 2016-01-11.22.
455         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
456         * scripts/move-if-change: Update to version 2016-01-11 22:04.
458 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
460         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
461         (do_one_test) Restore original string so iteration works.
462         * string/string-inlines.c (do_test): Create better input strings.
463         (test_main) Reduce number of testruns.
464         * string/string-inlines.c (__old_strsep_1c): New function.
465         (__old_strsep_2c): Likewise.
466         (__old_strsep_3c): Likewise.
467         * string/strsep.c (__strsep): Remove case of small delim string.
468         Call strcspn directly rather than strpbrk.
469         * string/bits/string2.h (__strsep): Remove define.
470         (__strsep_1c): Remove.
471         (__strsep_2c): Remove.
472         (__strsep_3c): Remove.
473         (strsep): Remove.
474         * sysdeps/unix/sysv/linux/internal_statvfs.c
475         (__statvfs_getflags): Rename to __strsep.
477 2016-12-21  Florian Weimer  <fweimer@redhat.com>
479         * csu/libc-tls.c (_dl_tls_setup): Remove.
480         * elf/dl-tls.c (_dl_tls_setup): Likewise.
481         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
482         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
484 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
486         [BZ #7065]
487         * sysdeps/x86_64/Makefile [$(subdir) = elf]
488         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
490 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
491             Florian Weimer  <fweimer@redhat.com>
493         [BZ #7065]
494         * csu/Makefile (tests): Empty assignment and document it.
495         (tests-static): Remove.
496         * csu/tst-empty.c: Move to...
497         * misc/tst-empty.c: ... here.  Switch to new test driver.
498         * csu/tst-atomic.c: Move to...
499         * misc/tst-atomic.c: ... here.  Switch to new test driver.
500         * csu/tst-atomic-long.c: Move to...
501         * misc/tst-atomic-long.c: ... here.
502         * misc/Makefile (tests): Add tst-empty, tst-atomic,
503         tst-atomic-long.
504         (tests-static): Add tst-empty.
506 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
508         * manual/nss.texi: Change incorrect @vtable to @table.
509         * manual/arith.texi: Convert @tables of variables to @vtables
510         and remove unnecessary indexing.
511         * manual/filesys.texi: Likewise.
512         * manual/llio.texi: Likewise.
513         * manual/memory.texi: Likewise.
514         * manual/process.texi: Likewise.
515         * manual/resource.texi: Likewise.
516         * manual/search.texi: Likewise.
517         * manual/signal.texi: Likewise.
518         * manual/socket.texi: Likewise.
519         * manual/stdio.texi: Likewise.
520         * manual/sysinfo.texi: Likewise.
521         * manual/syslog.texi: Likewise.
522         * manual/terminal.texi: Likewise.
523         * manual/time.texi: Likewise.
524         * manual/users.texi: Likewise.
526 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
528         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
529         (roundeven): New declaration.
530         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
531         macro.
532         * math/Versions (roundeven): New libm symbol at version
533         GLIBC_2.25.
534         (roundevenf): Likewise.
535         (roundevenl): Likewise.
536         * math/Makefile (libm-calls): Add s_roundevenF.
537         * math/libm-test.inc (roundeven_test_data): New array.
538         (roundeven_test): New function.
539         (main): Call roundeven_test.
540         * math/test-tgmath.c (NCALLS): Increase to 134.
541         (F(compile_test)): Call roundeven.
542         (F(roundeven)): New function.
543         * manual/arith.texi (Rounding Functions): Document roundeven,
544         roundevenf and roundevenl.
545         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
546         * include/math.h (roundeven): Use libm_hidden_proto.
547         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
548         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
549         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
550         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
551         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
552         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
553         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
554         roundeven.
555         (CFLAGS-nldbl-roundeven.c): New variable.
556         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
557         * sysdeps/nacl/libm.abilist: Update.
558         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
559         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
560         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
561         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
562         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
563         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
564         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
565         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
566         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
567         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
568         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
569         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
571         Likewise.
572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
573         Likewise.
574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
575         Likewise.
576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
577         Likewise.
578         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
579         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
580         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
581         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
582         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
584         Likewise.
585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
586         Likewise.
587         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
588         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
591 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
593         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
594         preprocessor indentation inside #if.
596 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
598         * math/libm-test.inc (fmt_ftostr): New function.
599         (print_float, check_float_internal): Replace some uses of
600         FTOSTR with uses of fmt_ftostr.
601         (print_max_error, print_complex_max_error, print_function_ulps)
602         (print_complex_function_ulps): Remove uses of the macros
603         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
604         * math/test-double.h (FTOSTR): Define to strfromd.
605         (PRINTF_EXPR): Delete.
606         (PRINTF_XEXPR): Likewise.
607         (PRINTF_NEXPR): Likewise.
608         * math/test-float.h (FTOSTR): Define to strfromf.
609         (PRINTF_EXPR): Delete.
610         (PRINTF_XEXPR): Likewise.
611         (PRINTF_NEXPR): Likewise.
612         * math/test-ldouble.h (FTOSTR): Define to strfroml.
613         (PRINTF_EXPR): Delete.
614         (PRINTF_XEXPR): Likewise.
615         (PRINTF_NEXPR): Likewise.
617 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
619         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
620         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
621         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
622         (__lll_lock_elision): Decrement adapt_count while unlocking
623         instead of before locking.
624         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
625         (__lll_trylock_elision): Likewise.
626         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
627         (__lll_unlock_elision): Likewise.
629 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
631         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
632         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
633         Use __libc_tbegin_retry macro.
635 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
637         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
638         Add -msoft-float.
639         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
640         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
641         Use __libc_t* transaction macros instead of __builtin_t*.
642         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
643         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
645 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
647         * sysdeps/unix/sysv/linux/s390/elision-lock.c
648         (__lll_lock_elision): Use atomics to load / store adapt_count.
649         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
650         (__lll_trylock_elision): Likewise.
652 2016-12-20  Florian Weimer  <fweimer@redhat.com>
654         Do not require memset elimination in explicit_bzero test.
655         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
656         (enum test_expectation): Add NO_EXPECTATIONS.
657         (subtests): NO_EXPECTATIONS for ordinary clear.
658         (check_test_buffer): Handle NO_EXPECTATIONS.
659         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
661 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
663         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
664         (fmaxmag): New declaration.
665         (fminmag): Likewise.
666         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
667         macro.
668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
669         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
670         (fmaxmagf): Likewise.
671         (fmaxmagl): Likewise.
672         (fminmag): Likewise.
673         (fminmagf): Likewise.
674         (fminmagl): Likewise.
675         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
676         * math/s_fmaxmag_template.c: New file.
677         * math/s_fminmag_template.c: Likewise.
678         * math/libm-test.inc (fmaxmag_test_data): New array.
679         (fmaxmag_test): New function.
680         (fminmag_test_data): New array.
681         (fminmag_test): New function.
682         (main): Call fmaxmag_test and fminmag_test.
683         * math/test-tgmath.c (NCALLS): Increase to 132.
684         (F(compile_test)): Call fmaxmag and fminmag.
685         (F(fminmag)): New function.
686         (F(fmaxmag)): Likewise.
687         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
688         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
689         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
690         fminmag.
691         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
692         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
693         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
694         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
695         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
696         and fminmag.
697         (CFLAGS-nldbl-fmaxmag.c): New variable.
698         (CFLAGS-nldbl-fminmag.c): Likewise.
699         * sysdeps/nacl/libm.abilist: Update.
700         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
706         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
707         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
708         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
709         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
710         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
711         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
713         Likewise.
714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
715         Likewise.
716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
717         Likewise.
718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
719         Likewise.
720         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
721         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
722         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
723         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
724         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
726         Likewise.
727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
728         Likewise.
729         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
730         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
731         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
733 2016-12-19  Torvald Riegel  <triegel@redhat.com>
735         [BZ #20973]
736         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
737         wake-up in robust mutexes.
738         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
740 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
742         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
743         (CFLAGS-bench-fmaxf.c): New rule.
744         (CFLAGS-bench-fminf.c): Likewise.
745         * benchtests/fmaxf-inputs: New file.
746         * benchtests/fminf-inputs: Likewise.
748         * benchtests/Makefile (bench-math): Add fmin and fmax.
749         (CFLAGS-bench-fmax.c): New rule.
750         (CFLAGS-bench-fmin.c): Likewise.
751         * benchtests/fmax-inputs: New file.
752         * benchtests/fmin-inputs: Likewise.
754         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
755         parenthesis.
756         (CMDLINE_PROCESS): Define using function instead of macro.
757         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
758         of test-skeleton.
759         * benchtests/bench-memchr.c: Likewise.
760         * benchtests/bench-memcmp.c: Likewise.
761         * benchtests/bench-memcpy-large.c: Likewise.
762         * benchtests/bench-memcpy.c: Likewise.
763         * benchtests/bench-memmem.c: Likewise.
764         * benchtests/bench-memmove-large.c: Likewise.
765         * benchtests/bench-memmove.c: Likewise.
766         * benchtests/bench-memset-large.c: Likewise.
767         * benchtests/bench-memset.c: Likewise.
768         * benchtests/bench-rawmemchr.c: Likewise.
769         * benchtests/bench-strcasecmp.c: Likewise.
770         * benchtests/bench-strcasestr.c: Likewise.
771         * benchtests/bench-strcat.c: Likewise.
772         * benchtests/bench-strchr.c: Likewise.
773         * benchtests/bench-strcmp.c: Likewise.
774         * benchtests/bench-strcpy.c: Likewise.
775         * benchtests/bench-strcpy_chk.c: Likewise.
776         * benchtests/bench-strlen.c: Likewise.
777         * benchtests/bench-strncasecmp.c: Likewise.
778         * benchtests/bench-strncmp.c: Likewise.
779         * benchtests/bench-strncpy.c: Likewise.
780         * benchtests/bench-strnlen.c: Likewise.
781         * benchtests/bench-strpbrk.c: Likewise.
782         * benchtests/bench-strrchr.c: Likewise.
783         * benchtests/bench-strsep.c: Likewise.
784         * benchtests/bench-strspn.c: Likewise.
785         * benchtests/bench-strstr.c: Likewise.
786         * benchtests/bench-strtok.c: Likewise.
788 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
790         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
791         stepping identification.
792         (init_cpu_features): Add handle of Haswell.
794 2016-11-25  Jim Meyering  <meyering@fb.com>
796         [BZ #20386]
797         Let gcc detect assert(a = 1) errors.
798         * assert/assert.h (assert): Rewrite, retaining the old definintion
799         when required, but otherwise putting the expression as-is in an "if"
800         expression (hence, with no added parentheses) within a statement
801         expression.
803 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
805         * benchtests/Makefile (binaries-benchset): Depend on libsupport
806         DSO.
808 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
810         * Rules (python-flags, python-invoke): New.
811         ($(test-printers-out)): Use $(python-flags).
813 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
815         * manual/arith.texi (Math Error Reporting): Document that sNaN
816         arguments are not considered domain errors.
818 2016-12-16  Zack Weinberg <zackw@panix.com>
819             Florian Weimer <fweimer@redhat.com>
820             Nick Mathewson <nickm@torproject.org>
822         * string/explicit_bzero.c: New routine.
823         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
824         * string/Makefile (routines, strop-tests, tests): Add them.
825         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
826         * string/string.h [__USE_MISC]: Declare explicit_bzero.
828         * debug/explicit_bzero_chk.c: New routine.
829         * debug/Makefile (routines): Add it.
830         * debug/tst-chk1.c: Test fortification of explicit_bzero.
831         * string/bits/string3.h: Fortify explicit_bzero.
833         * manual/string.texi: Document explicit_bzero.
834         * NEWS: Mention addition of explicit_bzero.
836         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
837         data before returning, using explicit_bzero.
838         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
839         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
840         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
842         * include/string.h: Redirect internal uses of explicit_bzero
843         to __explicit_bzero_chk[_internal].
844         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
845         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
846         * sysdeps/arm/nacl/libc.abilist
847         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
848         * sysdeps/unix/sysv/linux/alpha/libc.abilist
849         * sysdeps/unix/sysv/linux/arm/libc.abilist
850         * sysdeps/unix/sysv/linux/hppa/libc.abilist
851         * sysdeps/unix/sysv/linux/i386/libc.abilist
852         * sysdeps/unix/sysv/linux/ia64/libc.abilist
853         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
854         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
855         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
856         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
857         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
858         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
859         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
860         * sysdeps/unix/sysv/linux/nios2/libc.abilist
861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
865         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
866         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
867         * sysdeps/unix/sysv/linux/sh/libc.abilist
868         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
869         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
872         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
873         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
874         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
875         Add entries for explicit_bzero and __explicit_bzero_chk.
877 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
879         * math/fenv.h
880         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
881         (FE_SNANS_ALWAYS_SIGNAL): New macro.
882         * math/test-fe-snans-always-signal.c: New file.
883         * math/Makefile (tests): Add test-fe-snans-always-signal.
884         (CFLAGS-test-fe-snans-always-signal.c): New variable.
885         * manual/arith.texi (Infinity and NaN): Document
886         FE_SNANS_ALWAYS_SIGNAL.
888 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
890         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
891         bracket.
893 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
895         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
896         before calling execv.
898 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
900         [BZ# 20971]
901         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
902         overflow in pointer addition.
903         * string/test-memchr.c (do_test): Add an argument to pass as
904         the size on memchr.
905         (test_main): Add check for SIZE_MAX.
907 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
909         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
910         (libm-calls): Add w_scalblnF.
911         * math/w_scalbln.c: Remove.
912         * math/w_scalblnf.c: Likewise.
913         * math/w_scalblnl.c: Likewise.
914         * math/w_scalbln_template.c: New file with type-generic
915         implementation based on math/w_scalbln.c.
916         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
917         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
919 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
921         [BZ #20947]
922         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
923         either is a signaling NaN.
924         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
925         follow fmaxl more closely.
926         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
927         when either is a signaling NaN.
928         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
929         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
930         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
931         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
932         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
933         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
934         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
935         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
936         (fmin_test_data): Likewise.
938 2016-12-15  Andreas Schwab  <schwab@suse.de>
940         * support/support_test_main.c (support_test_main): Don't shadow
941         file-local variable test_pid.
943 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
945         [BZ #20947]
946         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
947         either is a signaling NaN.
948         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
950 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
952         [BZ #20947]
953         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
954         when either is a signaling NaN.
955         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
957         * bits/long-double.h: New file.
958         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
959         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
960         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
961         * sysdeps/mips/bits/long-double.h: Likewise.
962         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
963         * math/Makefile (headers): Add bits/long-double.h.
964         * misc/sys/cdefs.h: Include <bits/long-double.h>.
965         * stdlib/strtold.c: Include <bits/long-double.h> instead of
966         <bits/wordsize.h>.
967         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
968         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
969         * math/math.h: Do not include <bits/mathdef.h>.
970         * sysdeps/aarch64/bits/mathdef.h: Remove file.
971         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
972         inclusion.
973         * sysdeps/ia64/bits/mathdef.h: Remove file.
974         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
975         * sysdeps/mips/bits/mathdef.h: Likewise.
976         * sysdeps/powerpc/bits/mathdef.h: Likewise.
977         * sysdeps/s390/bits/mathdef.h: Likewise.
978         * sysdeps/sparc/bits/mathdef.h: Likewise.
979         * sysdeps/x86/bits/mathdef.h: Likewise.
980         * sysdeps/s390/s390-32/bits/wordsize.h
981         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
982         conditional code.
983         * sysdeps/s390/s390-64/bits/wordsize.h
984         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
985         Likewise.
986         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
987         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
988         Likewise.
989         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
990         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
991         Likewise.
992         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
993         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
994         Likewise.
996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
997         <linux/falloc.h>.
998         (FALLOC_FL_KEEP_SIZE): Remove.
999         (FALLOC_FL_PUNCH_HOLE): Likewise.
1000         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1001         (FALLOC_FL_ZERO_RANGE): Likewise.
1003 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1005         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1007 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1009         * sysdeps/unix/sysv/linux/renameat.c: New file.
1010         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1012         * sysdeps/unix/sysv/linux/rename.c: New file.
1013         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1015 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1017         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1018         * string/strtok.c (strtok): Change to tailcall __strtok_r.
1019         * string/strtok_r.c (__strtok_r): Optimize for performance.
1020         * string/string-inlines.c (__old_strtok_r_1c): New function.
1021         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1023 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1025         * math/Makefile (gen-libm-calls): Add w_log1pF.
1026         (libm-calls): Remove w_log1pF.
1027         * math/w_log1p.c: Remove.
1028         * math/w_log1pf.c: Likewise.
1029         * math/w_log1pl.c: Likewise.
1030         * math/w_log1p_template.c: New file with type-generic
1031         implementation based on math/w_log1p.c.
1032         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1033         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1035 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1037         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1039 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1041         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1042         kernel version to 4.9.
1044 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
1046         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1047         ($(inst_libdir)/libm.a): Fix rule to create the target only.
1049 2016-12-13  Andreas Schwab  <schwab@suse.de>
1051         * sysdeps/powerpc/dl-procinfo.c: Don't define
1052         _dl_powerpc_platforms.
1053         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1054         constants instead of referencing _dl_powerpc_platforms.
1055         (_dl_platform_string): Remove.
1057 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1059         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1061 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1063         * Rules (binaries-shared-tests, binaries-pie-tests)
1064         (binaries-static-tests): Link with $(link-extra-libs-tests).
1065         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1066         Remove $(link-extra-libs-tests).
1068 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1070         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1071         (sysdep_routines): Add strncmp_power9.
1072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1073         (strncmp): Add __strncmp_power9 to list of strncmp functions.
1074         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1075         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1076         (strncmp): Add __strncmp_power9 to ifunc list.
1077         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1079 2016-12-12  Florian Weimer  <fweimer@redhat.com>
1081         [BZ #17252]
1082         Add getentropy, getrandom.
1083         * stdlib/sys/random.h: New file.
1084         (headers): Add it.
1085         * stdlib/Makefile (routines): Add getentropy, getrandom.
1086         (tests): Add tst-getrandom.
1087         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1088         * stdlib/getentropy.c: New file.
1089         * stdlib/getrandom.c: Likewise.
1090         * stdlib/tst-getrandom.c: Likewise.
1091         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1092         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1093         * manual/crypt.texi (Unpredictable Bytes): New section.
1094         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1095         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1096         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1097         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1098         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1099         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1100         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1101         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1102         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1103         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1104         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1105         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1106         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1107         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1108         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1109         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1111         Likewise.
1112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1116         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1117         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1118         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1119         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1120         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1123         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1124         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1125         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1127 2016-12-10  Florian Weimer  <fweimer@redhat.com>
1129         [BZ #20956]
1130         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1131         as additional compiler barriers.
1132         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1133         (fn2, do_test): Declare with external linkage.
1134         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1135         (do_test): Declare with external linkage.
1136         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1137         (do_test): Declare with external linkage.
1138         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1139         (do_test): Declare with external linkage.
1141 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
1143         * support/support_test_main.c (support_test_main): Use correct
1144         timeout.
1146 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
1147             Florian Weimer  <fweimer@redhat.com>
1149         [BZ #16421]
1150         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1151         and __u6_addr32 members.
1152         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1153         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1154         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1155         Use __u6_addr32.
1156         * inet/tst-checks.c: Use <support/test-driver.c>
1157         * inet/tst-checks-posix.c: New file.
1158         * inet/Makefile (tests): Add it.
1159         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1161 2016-12-09  Florian Weimer  <fweimer@redhat.com>
1163         New subdirectory support for build and test infrastructure.
1164         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
1165         setting install-lib.
1166         * Makeconfig (link-extra-libs-tests): Define.
1167         (+link-pie-tests, +link-static-tests, +link-tests): Use
1168         link-extra-libs-tests.
1169         (rpath-dirs, all-subdirs): Add support.
1170         (built-modules): Add libsupport.
1171         (libsupport): Define.
1172         * support: New directory.
1173         * support/Makefile: New file.
1174         * support/check.c: Likewise.
1175         * support/check.h: Likewise.
1176         * support/delayed_exit.c: Likewise.
1177         * support/ignore_stderr.c: Likewise.
1178         * support/oom_error.c: Likewise.
1179         * support/set_fortify_handler.c: Likewise.
1180         * support/support.h: Likewise.
1181         * support/temp_file-internal.h: Likewise.
1182         * support/temp_file.c: Likewise.
1183         * support/test-driver.c: Likewise.
1184         * support/test-driver.h: Likewise.
1185         * support/test_main.c: Likewise.
1186         * support/write_message.c: Likewise.
1187         * support/xasprintf.c: Likewise.
1188         * support/xcalloc.c: Likewise.
1189         * support/xmalloc.c: Likewise.
1190         * support/xpthread_barrier_destroy.c: Likewise.
1191         * support/xpthread_barrier_init.c: Likewise.
1192         * support/xpthread_barrier_wait.c: Likewise.
1193         * support/xpthread_cancel.c: Likewise.
1194         * support/xpthread_check_return.c: Likewise.
1195         * support/xpthread_cond_wait.c: Likewise.
1196         * support/xpthread_create.c: Likewise.
1197         * support/xpthread_detach.c: Likewise.
1198         * support/xpthread_join.c: Likewise.
1199         * support/xpthread_mutex_lock.c: Likewise.
1200         * support/xpthread_mutex_unlock.c: Likewise.
1201         * support/xpthread_sigmask.c: Likewise.
1202         * support/xpthread_spin_lock.c: Likewise.
1203         * support/xpthread_spin_unlock.c: Likewise.
1204         * support/xrealloc.c: Likewise.
1205         * support/xsignal.h: Likewise.
1206         * support/xthread.h: Likewise.
1207         * support_tempfile.h: Likewise.
1208         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1209         (TEST_DATA_LIMIT): Remove unused macro.
1210         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
1211         <support/check.h>.
1212         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1213         (ignore_stderr, set_fortify_handler): Remove.  Now in
1214         <support/support.h>.
1215         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
1216         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1217         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1218         (xpthread_join): Remove.  Now in <support/xthread.h>.
1219         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1220         Introduce legacy wrappers.
1221         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1222         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1223         (write_message): Remove.
1224         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
1225         test-skeleton.c.
1226         * io/test-open-tmpfile: Likewise.
1227         * io/tst-posix_fallocate-common.c: Likewise.
1228         * libio/tst-fseek.c: Likewise.
1229         * malloc/tst-malloc-backtrace.c: Likewise.
1230         * malloc/tst-malloc-fork-deadlock.c: Likewise.
1231         * malloc/tst-malloc-thread-exit.c: Likewise.
1232         * nptl/tst-cancel7.c: Likewise.
1233         * nptl/tst-cleanup0.c: Likewise.
1234         * posix/tst-posix_fadvise-common.c: Likewise.
1235         * rt/tst-shm.c: Likewise.
1236         * time/bug-getdate1.c: Likewise.
1237         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1238         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
1239         * elf/Makefile (tst-piemod1.so): Link against libsupport.
1241 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
1243         * Rules [$(run-built-tests) != no] (tests-expected): Add
1244         $(tests-printers).
1245         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
1247 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1249         [BZ #20539]
1250         * math/Makefile (install-lib-ldscripts): Add libm.a.
1251         (install_subdir): Remove.
1252         (install-others): Add.
1253         ($(inst_libdir)/libm.a): Add rule for installation as
1254         linker script.
1255         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
1257 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
1259         * INSTALL: Regenerated.
1260         * Makeconfig: Add comments and whitespace to make the control flow
1261         clearer.
1262         (+link-printers-tests, +link-pie-printers-tests,
1263         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
1264         built-rtld-LDFLAGS, link-libc-rpath,
1265         link-libc-tests-after-rpath-link,
1266         link-libc-printers-tests): New.
1267         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
1268         link-libc-tests): Use the new variables as required.
1269         * Makerules ($(py-const)): New rule.
1270         generated: Add $(py-const).
1271         * README.pretty-printers: New file.
1272         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
1273         (others): Depend on $(py-const).
1274         (tests): Depend on $(tests-printers-programs) or
1275         $(tests-printers-out),
1276         as required.  Pass $(tests-printers) to merge-test-results.sh.
1277         * manual/install.texi: Add requirements for testing the pretty
1278         printers.
1279         * nptl/Makefile (gen-py-const-headers, pretty-printers,
1280         tests-printers, CFLAGS-test-mutexattr-printers.c
1281         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
1282         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
1283         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
1284         * nptl/nptl-printers.py: New file.
1285         * nptl/nptl_lock_constants.pysym: Likewise.
1286         * nptl/test-cond-printers.c: Likewise.
1287         * nptl/test-cond-printers.py: Likewise.
1288         * nptl/test-condattr-printers.c: Likewise.
1289         * nptl/test-condattr-printers.py: Likewise.
1290         * nptl/test-mutex-printers.c: Likewise.
1291         * nptl/test-mutex-printers.py: Likewise.
1292         * nptl/test-mutexattr-printers.c: Likewise.
1293         * nptl/test-mutexattr-printers.py: Likewise.
1294         * nptl/test-rwlock-printers.c: Likewise.
1295         * nptl/test-rwlock-printers.py: Likewise.
1296         * nptl/test-rwlockattr-printers.c: Likewise.
1297         * nptl/test-rwlockattr-printers.py: Likewise.
1298         * scripts/gen-py-const.awk: Likewise.
1299         * scripts/test_printers_common.py: Likewise.
1300         * scripts/test_printers_exceptions.py: Likewise.
1302 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
1304         * scripts/build-many-glibcs.py (Context.__init__): Take strip
1305         argument.
1306         (Glibc.build_glibc): Strip installed shared libraries if
1307         requested.
1308         (get_parser): Add --strip option.
1309         (main): Update Context call.
1311 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1312             Dominik Vogt  <vogt@linux.vnet.ibm.com>
1314         [BZ #20847]
1315         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1316         array bounds for else branch.
1317         (__execvpe): Style fixes.
1318         * posix/tst-vfork3.c (run_script): New function.
1319         (create_script): Likewise.
1320         (do_test): Use run_script internal function.
1321         (do_prepare): Use create_script internal function.
1323 2016-12-07  Andreas Schwab  <schwab@suse.de>
1325         * sysdeps/unix/sysv/linux/x86/elision-conf.h
1326         (__elision_available): Don't declare.
1327         * sysdeps/unix/sysv/linux/x86/elision-conf.c
1328         (__elision_available): Don't define.
1329         (elision_init): Don't set __elision_available.
1331 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
1333         [BZ #20940]
1334         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
1335         return Inf for arguments Inf and sNaN.
1336         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
1337         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1338         Likewise.
1339         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1340         Likewise.
1341         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1342         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
1343         for arguments Inf and sNaN.  When returning a NaN, compute it by
1344         arithmetic on the arguments.
1345         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
1346         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
1347         arguments.
1349 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
1351         [BZ #20916]
1352         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
1353         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
1354         to compute result.
1355         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1356         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
1358 2016-12-05  Torvald Riegel  <triegel@redhat.com>
1360         * include/atomic.h (__atomic_check_size_ls): New.
1361         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
1362         atomic_store_release): Use it.
1363         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
1364         (elision_adapt, ELIDE_LOCK): Use atomics.
1365         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
1366         atomics and improve code comments.
1367         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
1368         (__lll_trylock_elision): Likewise.
1370 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1372         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
1373         programs.
1375 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
1377         [BZ #20916]
1378         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
1379         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
1380         arguments to compute result.
1381         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
1382         1 for arguments (sNaN, 0) or (1, sNaN).
1383         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
1384         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1386         [BZ #20919]
1387         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
1388         NaN first argument when raised to power 0.
1389         * math/w_pow.c (__pow): Do not check for NaN or zero results from
1390         raising to power zero.
1391         * math/w_powf.c (__powf): Likewise.
1392         * math/w_powl.c (__powl): Likewise.
1393         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
1394         pow (0, 0) or pow (NaN, 0).
1396 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
1398         [BZ #20918]
1399         * configure.ac: Test for static NSS cryptographic libraries and set
1400         libc_cv_static_nss_crypt.
1401         * configure: Regenerate.
1402         * config.make.in (static-nss-crypt): Define.
1403         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
1404         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
1405         (CFLAGS-tst-linkall-static.c): Define.
1406         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
1407         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
1408         ($(objpfx)tst-linkall-static): Define.
1409         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
1410         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
1412 2016-12-02  Florian Weimer  <fweimer@redhat.com>
1414         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
1415         (one-hundred, tst-tls-many-dynamic-modules): Define.
1416         (modules-names): Add $(tst-tls-many-dynamic-modules).
1417         (tst-tls-manydynamic%mod.os): Build with special preprocessor
1418         macros.
1419         (tst-tls-manydynamic): Link against libdl, libpthread.
1420         (tst-tls-manydynamic.out): The test needs the test modules at run
1421         time.
1422         * elf/tst-tls-manydynamic.c: New file.
1423         * elf/tst-tls-manydynamic.h: Likewise.
1424         * elf/tst-tls-manydynamicmod.c: Likewise.
1426 2016-12-02  Florian Weimer  <fweimer@redhat.com>
1428         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
1429         (TLS_DTV_UNALLOCATED): Add.
1430         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
1431         offsets.
1433 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
1435         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1437 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
1439         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
1440         Add -fno-optimize-sibling-calls.
1442 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
1444         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
1445         New declaration.
1446         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
1447         macro.
1448         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
1449         New macro.
1450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
1451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
1452         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
1453         (llogbf): Likewise.
1454         (llogbl): Likewise.
1455         * math/Makefile (gen-libm-calls): Add w_llogbF.
1456         (tests): Add test-fp-llogb-constants.
1457         * math/w_llogb_template.c: New file.  Based on
1458         math/w_ilogb_template.c.
1459         * math/libm-test.inc (llogb_test_data): New array.
1460         (llogb_test): New function.
1461         (main): Call llogb_test.
1462         * math/test-fp-llogb-constants.c: New file.  Based on
1463         math/test-fp-ilogb-constants.c.
1464         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
1465         (do_test): Call check_return_llogb.
1466         * math/test-tgmath.c (NCALLS): Increase to 126.
1467         (F(compile_test)): Call llogb.
1468         (F(llogb)): New function.
1469         * manual/math.texi (Exponents and Logarithms): Document llogb,
1470         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
1471         * manual/libm-err-tab.pl (@all_functions): Add llogb.
1472         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
1473         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1474         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
1475         (CFLAGS-nldbl-llogb.c): New variable.
1476         * sysdeps/nacl/libm.abilist: Update.
1477         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1478         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1479         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1480         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1481         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1490         Likewise.
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1492         Likewise.
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1494         Likewise.
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1496         Likewise.
1497         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1498         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1499         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1500         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1501         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1503         Likewise.
1504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1505         Likewise.
1506         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1507         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1508         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1510 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
1512         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
1513         _Float128 instead of long double.
1514         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
1516         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
1517         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
1518         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
1519         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
1520         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
1521         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
1522         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
1523         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
1524         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
1525         Likewise.
1527 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1529         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
1530         Remove redirection to __strrchr_ppc.
1532 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1534         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1535         (sysdep_routines): Add strcmp_power9.
1536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1537         (strcmp): Add __strcmp_power9 to list of strcmp functions.
1538         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
1539         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
1540         (strcmp): Add __strcmp_power9 to ifunc list.
1541         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
1543 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
1545         * bits/fp-logb.h: New file.
1546         * sysdeps/ia64/bits/fp-logb.h: Likewise.
1547         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
1548         * sysdeps/x86/bits/fp-logb.h: Likewise.
1549         * math/Makefile (headers): Add bits/fp-logb.h.
1550         * math/math.h: Include <bits/fp-logb.h>.
1551         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
1552         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
1553         * bits/mathdef.h (FP_ILOGB0): Remove.
1554         (FP_ILOGBNAN): Likewise.
1555         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
1556         (FP_ILOGBNAN): Likewise.
1557         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
1558         (FP_ILOGBNAN): Likewise.
1559         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
1560         (FP_ILOGBNAN): Likewise.
1561         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
1562         (FP_ILOGBNAN): Likewise.
1563         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
1564         (FP_ILOGBNAN): Likewise.
1565         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
1566         (FP_ILOGBNAN): Likewise.
1567         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
1568         (FP_ILOGBNAN): Likewise.
1569         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
1570         (FP_ILOGBNAN): Likewise.
1571         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
1572         (FP_ILOGBNAN): Likewise.
1574         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
1575         time module.
1576         (Context.__init__): Initialize self.logsdir_old.
1577         (Context.run_builds): Handle bot action.
1578         (Context.bot_cycle): Copy logs directory before running builds.
1579         (Context.bot_run_self): Take argument for whether to check
1580         subprocess result.  Flush stdout before running subprocess.
1581         (Context.bot): New function.
1582         (get_parser): Allow bot action.
1584 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
1586         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
1587         Import email.mime.text, email.utils and smtplib modules.
1588         (Context.__init__): Initialize self.bot_config_json.
1589         (Context.run_builds): Handle bot-cycle action.
1590         (Context.load_bot_config_json): New function.
1591         (Context.part_build_old): Likewise.
1592         (Context.bot_cycle): Likewise.
1593         (Context.bot_build_mail): Likewise.
1594         (Context.bot_run_self): Likewise.
1595         (get_parser): Allow bot-cycle action.
1597 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1599         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
1600         Remove redirection to __stpcpy_ppc.
1602 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1604         Remove __libc_memalign from ld.so because it is unused.
1605         * elf/dl-minimal.c: Update comment on the malloc implementation.
1606         (malloc): Renamed from __libc_memalign, replacing the original
1607         malloc implementation.  Replace the align parameter with
1608         MALLOC_ALIGNMENT.
1609         * elf/Versions (ld): Update comment and remove __libc_memalign.
1610         * sysdeps/nacl/ld.abilist: Likewise.
1611         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
1612         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
1613         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
1614         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
1615         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
1616         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
1617         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
1618         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
1619         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
1620         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
1621         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
1622         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
1623         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
1624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1627         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
1628         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
1629         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
1630         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
1631         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
1632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
1633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
1634         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1635         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
1636         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
1637         * sysdeps/generic/localplt.data (ld.so): Likewise.
1638         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1639         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1640         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1641         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1642         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1643         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1644         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1645         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
1646         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1648         (ld.so): Likewise.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1650         (ld.so): Likewise.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1652         Likewise.
1653         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1654         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1655         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
1656         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
1657         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1659 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1661         [BZ #16628]
1662         Implement _dl_catch_error, _dl_signal_error in libc.so.
1663         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
1664         (catch_hook): Define as thread-local or regular variable,
1665         depending on DL_ERROR_BOOTSTRAP.
1666         (CATCH_HOOK): Remove.
1667         (dl_signal_error, _dl_catch_error): Use
1668         catch_hook.  Add hidden definition for libc.
1669         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
1670         for DL_ERROR_BOOTSTRAP only.
1671         * elf/dl-error.c: New file.
1672         * elf/dl-error-minimal.c: Likewise.
1673         * elf/tst-latepthread.c: Likewise.
1674         * elf/tst-latepthreadmod.c: Likewise.
1675         * elf/Makefile (routines): Add dl-error.
1676         (dl-routines): Remove dl-error.
1677         (rtld-routines): Add dl-error-minimal.
1678         [build-shared] (tests): Add tst-latepthread.
1679         (module-names): Add tst-latepthreadmod.
1680         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
1681         symbol.
1682         (tst-latepthreadmod.so): Link against libpthread.
1683         (tst-latepthread): Link against libdbl.
1684         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
1685         _dl_catch_error.
1686         [ld] (GLIBC_PRIVATE): Likewise.
1687         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
1688         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
1689         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
1690         directly.
1691         * elf/dl-tsd.c: Remove file.
1692         * elf/rtld.c (_rtld_global_ro): Remove initializers for
1693         _dl_catch_error, _dl_signal_error.
1694         (_dl_initial_error_catch_tsd): Remove definition.
1695         (do_preload): Remove initialization of dl_error_catch_tsd.
1696         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
1697         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
1698         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1699         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1700         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
1701         set dl_error_catch_tsd.
1702         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
1703         _dl_error_catch_tsd member.
1704         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
1705         members.
1706         (_dl_initial_error_catch_tsd): Remove declaration.
1707         (_dl_dprintf): Provide definition for use outside of ld.so.
1708         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
1709         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
1710         prototype for libc.
1711         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
1712         _dl_catch_error.
1713         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1714         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1715         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1716         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1717         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1718         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1719         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1720         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
1721         Likewise.
1722         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1724         (ld.so): Likewise.
1725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1726         (ld.so): Likewise.
1727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1728         Likewise.
1729         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1730         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1731         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
1732         Likewise.
1733         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
1734         Likewise.
1735         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1737 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1739         [BZ #4099]
1740         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
1741         _IO_BUFSIZ (8192).
1743 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
1745         * PROJECTS: Remove file.
1747 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1749         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
1751 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
1752             Steve Ellcey  <sellcey@caviumnetworks.com>
1754         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
1755         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
1756         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
1757         fxstatat.
1758         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
1759         lxstat.
1760         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
1761         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
1762         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
1763         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
1764         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
1765         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
1766         __xstat.
1768 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1770         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
1771         Define.
1772         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
1773         definition.
1775 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1777         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
1778         version and turn into strong alias.  Remove compat symbol.
1780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1781         (__longjmp): Remove.
1783 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
1785         * bits/fp-fast.h: New file.
1786         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
1787         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
1788         * math/Makefile (headers): Add bits/fp-fast.h.
1789         * math/math.h: Include <bits/fp-fast.h>.
1790         * bits/mathdef.h (FP_FAST_FMA): Remove.
1791         (FP_FAST_FMAF): Likewise.
1792         (FP_FAST_FMAL): Likewise.
1793         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
1794         (FP_FAST_FMAF): Likewise.
1795         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
1796         (FP_FAST_FMAF): Likewise.
1797         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
1798         (FP_FAST_FMAF): Likewise.
1799         (FP_FAST_FMAL): Likewise.
1800         * sysdeps/arm/bits/mathdef.h: Remove file.
1801         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
1802         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1803         * sysdeps/tile/bits/mathdef.h: Likewise.
1805 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1807         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
1808         * math/w_ilogb.c: Remove.
1809         * math/w_ilogbf.c: Likewise.
1810         * math/w_ilogbl.c: Likewise.
1811         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
1812         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
1813         * math/Makefile (gen-libm-calls): Add w_ilogbF.
1814         (libm-calls): Remove w_ilogbF.
1815         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
1816         (LDOUBLE_ilogbl_libm_version): New macro.
1818         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
1820         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
1821         [!__STRICT_ANSI__ && !__cplusplus].
1823 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1825         [BZ #20750]
1826         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
1827         of PIC.
1829 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1830             Yury Norov  <ynorov@caviumnetworks.com>
1831             Steve Ellcey  <sellcey@caviumnetworks.com>
1833         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
1834         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
1835         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
1836         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
1837         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
1838         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
1839         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
1840         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
1841         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
1842         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
1843         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
1844         to get correct reg name for ILP32.
1845         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
1846         (RELA_SIZE): New Macro.
1847         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
1848         to support ILP32.
1849         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
1850         cast for ILP32 mode.
1851         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
1852         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
1853         * sysdeps/aarch64/memset.S (__memset): Ditto.
1854         * sysdeps/aarch64/strchr.S (strchr): Ditto.
1855         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
1856         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
1857         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
1858         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
1859         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
1860         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
1861         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
1862         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
1863         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
1864         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
1865         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
1866         change PTR_MANGLE call to use register numbers instead of names.
1867         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
1868         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
1869         ILP32 mode, change PTR_MANGLE calls to use register numbers.
1870         * sysdeps/aarch64/start.S (_start): Ditto.
1871         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
1872         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
1873         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
1874         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
1875         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
1876         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
1877         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
1878         Make defined values dependent on __ILP32__.
1879         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
1880         (sem_t): Change __align type.
1881         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
1882         PTR_SIZE): New Macros.
1883         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
1884         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
1885         Set when in ILP32 mode.
1886         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
1887         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
1888         Set elf flags for ILP32.
1889         (add_system_dir): Set ILP32 library directories.
1890         * sysdeps/unix/sysv/linux/aarch64/init-first.c
1891         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
1892         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
1893         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
1894         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
1895         New Macros.
1896         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
1898 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1900         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
1901         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
1902         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
1904 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1906         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
1907         <asm/cachectl.h>.
1909 2016-11-27  Zack Weinberg  <zackw@panix.com>
1911         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
1912         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
1914 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1916         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
1917         error_t to fix usage in C++ programs.
1919 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
1921         * scripts/build-many-glibcs.py: Import datetime module.
1922         (Context.__init__): Load JSON build state.  Initialize list of
1923         status logs.
1924         (Context.run_builds): Update saved build state.
1925         (Context.add_makefile_cmdlist): Update list of status logs.
1926         (Context.load_build_state_json): New function.
1927         (Context.store_build_state_json): Likewise.
1928         (Context.clear_last_build_state): Likewise.
1929         (Context.update_build_state): Likewise.
1930         (CommandList.status_logs): Likewise.
1932 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
1934         * scripts/build-many-glibcs.py (Context.__init__): Save text of
1935         script being executed.
1936         (Context.get_script_text): New function.
1937         (Context.exec_self): Likewise.
1938         (Context.checkout): Re-exec script if changed by checkout process.
1940 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1942         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1943         (setpayloadsig): New declaration.
1944         * math/Versions (setpayloadsig): New libm symbol at version
1945         GLIBC_2.25.
1946         (setpayloadsigf): Likewise.
1947         (setpayloadsigl): Likewise.
1948         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1949         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1950         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1951         (setpayloadsig_test_data): New array.
1952         (setpayloadsig_test): New function.
1953         (main): Call setpayloadsig_test.
1954         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1955         setpayloadsigf and setpayloadsigl.
1956         * manual/libm-err-tab.pl: Update comment on interfaces without
1957         ulps tabulated.
1958         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1959         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1960         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1961         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1962         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1963         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1964         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1965         setpayloadsig.
1966         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1967         * sysdeps/nacl/libm.abilist: Update.
1968         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1971         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1972         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1973         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1974         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1976         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1977         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1978         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1979         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1981         Likewise.
1982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1983         Likewise.
1984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1985         Likewise.
1986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1987         Likewise.
1988         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1989         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1990         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1991         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1992         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1994         Likewise.
1995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1996         Likewise.
1997         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1998         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1999         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2001         * scripts/build-many-glibcs.py: Import json module.
2002         (Context.__init__): Take replace_sources argument.  Load
2003         versions.json.
2004         (Context.load_versions_json): New function.
2005         (Context.store_json): Likewise.
2006         (Context.store_versions_json): Likewise.
2007         (Context.set_component_version): Likewise.
2008         (Context.checkout): Update versions.json.  Check for and handle
2009         changes of version.  Prefer previously explicitly specified
2010         version to default version.
2011         (Context.checkout_vcs): Return a revision identifier.
2012         (Context.git_checkout): Likewise.
2013         (Context.gcc_checkout): Likewise.
2014         (get_parser): Add --replace-sources option.
2015         (main): Pass replace_sources argument to Context call.
2017 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2019         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2020         * nptl/allocatestack.c (allocate_stack): Likewise.
2021         (__reclaim_stacks): Likewise.
2022         (setxid_signal_thread): Obtain pid through syscall.
2023         * nptl/nptl-init.c (sigcancel_handler): Likewise.
2024         (sighandle_setxid): Likewise.
2025         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2026         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2027         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2028         Likewise.
2029         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2030         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2031         comment.
2032         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2033         * nptl/descr.h (struct pthread): Change comment about pid value.
2034         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2035         pid assert.
2036         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2037         Do not set pid value.
2038         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2039         pid cache check.
2040         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2041         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2042         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2043         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2044         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2045         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2046         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2047         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2048         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2049         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2050         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2051         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2052         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2053         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2054         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2055         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2056         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2057         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2058         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2059         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2060         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2061         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2062         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2063         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2064         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2067         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2068         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2069         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2070         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2071         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2072         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2073         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2074         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2075         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2076         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2077         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2078         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2079         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2080         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2081         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2082         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2085         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2086         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2087         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2088         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2089         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2090         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2091         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2092         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2093         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2094         struct access.
2095         (clone_test): Remove function.
2096         (do_test): Rewrite to take in consideration pid is not cached anymore.
2098 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2100         * bits/flt-eval-method.h: New file.
2101         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2102         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2103         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2104         * math/Makefile (headers): Add bits/flt-eval-method.h.
2105         * math/math.h: Include <bits/flt-eval-method.h>.
2106         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2107         [__USE_ISOC99] (double_t): Likewise.
2108         * bits/mathdef.h (float_t): Remove.
2109         (double_t): Likewise.
2110         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2111         (double_t): Likewise.
2112         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2113         (double_t): Likewise.
2114         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2115         (double_t): Likewise.
2116         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2117         (double_t): Likewise.
2118         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2119         (double_t): Likewise.
2120         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2121         (double_t): Likewise.
2122         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2123         (double_t): Likewise.
2124         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2125         (double_t): Likewise.
2126         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2127         (double_t): Likewise.
2128         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2129         (double_t): Likewise.
2130         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2131         (double_t): Likewise.
2132         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2133         (double_t): Likewise.
2134         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2135         (double_t): Likewise.
2137 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
2139         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2140         instead of PIC.
2142 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2144         [BZ #20859]
2145         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2146         (-0x7fffffff) instead of 0x80000001.
2147         * math/test-fp-ilogb-constants.c: New file.
2148         * math/Makefile (tests): Add test-fp-ilogb-constants.
2150 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
2152         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2153         (_init): Use it in place of hardcoded R_MIPS_JALR.
2154         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2155         (_init): Use it in place of hardcoded R_MIPS_JALR.
2156         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2157         (_init): Use it in place of hardcoded R_MIPS_JALR.
2159 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2161         [BZ #20787]
2162         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2163         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2164         (double_t): Do not define to double if [__x86_64__] when
2165         __FLT_EVAL_METHOD__ is nonzero.
2166         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2167         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2168         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2169         test-flt-eval-method-387 and test-flt-eval-method-sse.
2170         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2171         variable.
2172         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2174 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
2176         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2177         use of -fno-isolate-erroneous-paths options for tilepro.
2179 2016-11-23  Florian Weimer  <fweimer@redhat.com>
2181         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2182         structure initialization is no longer needed.
2184 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2186         [BZ #20855]
2187         * bits/mathdef.h (float_t): Define to float.
2188         * math/test-flt-eval-method.c: New file.
2189         * math/Makefile (tests): Add test-flt-eval-method.
2190         (CFLAGS-test-flt-eval-method.c): New variable.
2192 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
2194         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2195         and __fstatfs.  Make them aliases of __fstatfs64 if
2196         STATFS_IS_STATFS64 is set to non-zero.
2197         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2198         and __statfs64.
2199         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2200         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2201         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2202         for __statfs and statfs.
2203         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2204         to 0.
2205         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2206         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2207         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2208         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2209         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2210         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2213         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2214         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2215         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2216         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2218 2016-11-22  Andreas Schwab  <schwab@suse.de>
2220         * misc/mkstemp.c: Include <fcntl.h>.
2221         * misc/mkstemps.c: Likewise.
2222         * misc/mkostemp.c: Likewise.
2223         * misc/mkostemps.c: Likewise.
2225 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
2227         [BZ #20847]
2228         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2229         array bounds.
2230         (__execvpe): Likewise.
2232 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
2234         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
2235         -fno-isolate-erroneous-paths options for tilepro.
2237 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
2239         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
2240         to 0 when in 32 bit mode.
2241         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
2242         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2243         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2244         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2246         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2247         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
2248         XSTAT_IS_XSTAT64 test.
2249         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
2250         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
2251         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
2252         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
2253         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
2254         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
2255         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
2256         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
2257         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
2258         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
2259         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
2261 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
2263         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2264         (setpayload): New declaration.
2265         * math/Versions (setpayload): New libm symbol at version
2266         GLIBC_2.25.
2267         (setpayloadf): Likewise.
2268         (setpayloadl): Likewise.
2269         * math/Makefile (libm-calls): Add s_setpayloadF.
2270         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
2271         test_Ff_b1_data.
2272         (RUN_TEST_Ff_b1): New macro.
2273         (RUN_TEST_LOOP_Ff_b1): Likewise.
2274         (canonicalize_test_data): Update type.
2275         (setpayload_test_data): New array.
2276         (setpayload_test): New function.
2277         (main): Call setpayload_test.
2278         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
2279         setpayloadf and setpayloadl.
2280         * manual/libm-err-tab.pl: Update comment on interfaces without
2281         ulps tabulated.
2282         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
2283         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
2284         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
2285         Likewise.
2286         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
2287         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
2288         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
2289         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
2290         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
2291         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
2292         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
2293         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
2294         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
2295         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2296         setpayload.
2297         (CFLAGS-nldbl-setpayload.c): New variable.
2298         * sysdeps/nacl/libm.abilist: Update.
2299         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2300         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2301         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2302         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2303         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2304         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2305         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2306         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2307         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2308         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2309         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2310         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2312         Likewise.
2313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2314         Likewise.
2315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2316         Likewise.
2317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2318         Likewise.
2319         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2320         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2321         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2322         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2323         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2325         Likewise.
2326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2327         Likewise.
2328         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2329         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2330         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2332 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2334         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
2335         * include/unistd.h: Extend comment about __access_noerrno return
2336         semantics.
2337         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
2338         (access_common): Correct typo for EACCES.
2340 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
2342         * sysdeps/tile/math-tests.h: New file.
2344         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
2345         (__old_set_dataplane): Rename from set_dataplane and make a
2346         compatibility symbol.
2347         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
2348         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
2349         sys/dataplane.h.
2351 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
2353         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
2354         script quote words in command output to log suitably for input to
2355         the shell.
2357 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
2358             Maciej W. Rozycki  <macro@imgtec.com>
2360         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
2361         `.Lno_weak_fn' label.
2362         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
2363         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
2365 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2366             Yury Norov  <ynorov@caviumnetworks.com>
2368         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
2369         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
2370         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2371         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
2372         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2373         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
2374         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2376         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2377         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
2378         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2379         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
2380         (sysdep_routines): Remove oldgetrlimit64.
2381         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
2382         (sysdep_routines): Likewise.
2383         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
2384         (sysdep_routines): Likewise.
2385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2386         [$(subdir) = resource] (sysdep_routines): Likewise.
2387         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2388         [$(subdir) = resource] (sysdep_routines): Likewise.
2389         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
2390         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
2391         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
2392         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
2393         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
2394         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2395         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
2396         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
2397         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
2398         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
2399         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
2400         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
2401         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
2402         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
2403         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
2404         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
2405         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
2406         setrlimit and getrlimit.
2407         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2408         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2409         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
2412         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2413         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2414         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2415         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2416         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2417         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
2418         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2419         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
2420         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
2421         (__old_getrlimit64): Add compatibility symbol.
2422         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
2424 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
2426         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
2427         newly built gmp, mpfr and mpc.
2429         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
2431 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
2433         * conform/Makefile (linknamespace-libs): Rename to
2434         linknamespace-libs-thr.
2435         (linknamespace-libs-posix): New variable.
2436         (linknamespace-libs-xsi): Likewise.
2437         (linknamespace-libs-XPG3): Include libcrypt.a.
2438         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
2439         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
2440         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
2441         (linknamespace-libs-XOPEN2K): Likewise.
2442         (linknamespace-libs-XOPEN2K8): Likewise.
2443         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
2445         [BZ #20829]
2446         * stdio-common/Versions (__snprintf): Add to version
2447         GLIBC_PRIVATE.
2448         * include/stdio.h (__snprintf): Use libc_hidden_proto.
2449         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
2450         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
2451         of snprintf.
2452         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2454 2016-11-16  Zack Weinberg  <zackw@panix.com>
2456         * string/string.h: Remove obsolete comment stating that
2457         strcoll_l and strxfrm_l have not yet been standardized.
2459 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2461         * hurd/hurd.h (__hurd_fail_noerrno): New function.
2462         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
2463         __access_noerrno.
2464         * io/access.c (__access_noerrno): New function.
2465         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
2466         (hurd_fail_seterrno): Likewise.
2467         (access_common): Likewise.
2468         (__access_noerrno): Likewise.
2469         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
2470         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
2471         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
2472         macro.
2474 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
2476         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
2477         Only declare fpregs if [__SH_FPU_ANY__].
2479 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
2481         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
2482         Make code unconditional.
2483         [!(__SH4__ || __SH4A__)]: Remove conditional code.
2485 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
2487         * manual/sysinfo.texi (S_APPEND): Delete.
2488         (S_IMMUTABLE): Likewise.
2490 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
2491             Magnus Granberg  <zorry@gentoo.org>
2492             Mike Frysinger  <vapier@gentoo.org>
2494         [BZ #20662]
2495         * configure.ac (libc_cv_predef_stack_protector): Also check for
2496         __stack_chk_fail_local symbols.
2497         * configure: Regenerated.
2499 2016-11-15  Florian Weimer  <fweimer@redhat.com>
2501         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
2502         (libc_hidden_def): Remove redefinition.
2503         (__sigsetjmp): Add hidden definition.
2504         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
2505         (libc_hidden_def): Remove redefinition.
2506         (__sigsetjmp): Add hidden definition.
2508 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
2510         * scripts/build-many-glibcs.py (os.path): Do not import.
2511         (Context): Inherit explicitly from object.  Remove blank line
2512         between class and docstring.
2513         (Config): Likewise.
2514         (Glibc): Likewise.
2515         (Command): Likewise.
2516         (CommandList): Likewise.
2517         (Context.write_files): Store chmod mode in a variable.
2519         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
2520         LIBC_SLIBDIR_RTLDDIR for tilegx32.
2521         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
2523 2016-11-14  Zack Weinberg  <zackw@panix.com>
2525         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
2526         creating or re-creating it.
2528         * string/bits/string2.h: Fix typo in comment.
2530 2016-11-14  Zack Weinberg  <zackw@panix.com>
2532         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
2533         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
2534         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
2535         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
2536         of redirected function names.
2538         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
2539         as well.  Document that MESSAGE must be a single string literal.
2541 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
2543         * scripts/build-many-glibcs.py: New file.
2545         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
2546         (do_test): Disable -Wmaybe-uninitialized around uses of
2547         except_mask.
2549         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
2551 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
2553         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
2554         (atomic_store_release): Provide tilepro-specific implementations.
2556 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
2558         * math/math.h (__MATH_TG): New macro.
2559         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
2560         [__USE_ISOC99] (signbit): Likewise.
2561         [__USE_ISOC99] (isfinite): Likewise.
2562         [__USE_ISOC99] (isnan): Likewise.
2563         [__USE_ISOC99] (isinf): Likewise.
2564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
2565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
2566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
2567         __MATH_TG and __MATH_EVAL_FMT2.
2568         * sysdeps/generic/math_private.h (fabs_tg): Define using
2569         __MATH_TG.
2570         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2571         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
2572         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
2573         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
2574         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
2575         macro.
2576         (__iscanonical): Likewise.
2577         (iscanonical): Define using __MATH_TG.
2579 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2581         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
2582         guards.
2584         * sysdeps/unix/sysv/linux/access.c: New file.
2585         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
2587 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
2589         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
2590         and __WORDSIZE32_PTRDIFF_LONG.
2592 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2594         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2596 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2598         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
2599         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
2600         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
2601         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
2602         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
2603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
2604         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
2605         * sysdeps/unix/sysv/linux/truncate.c: New file.
2606         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
2607         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
2608         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
2609         Remove.
2610         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
2611         Likewise.
2613         * posix/tst-truncate-common.c: New file.
2614         * posix/tst-truncate.c: Use tst-truncate-common.c.
2615         * posix/tst-truncate64.c: Likewise and add LFS tests.
2616         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
2617         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
2618         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
2619         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
2620         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
2621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
2622         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
2623         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
2624         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
2625         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
2626         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
2627         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
2628         Remove.
2629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
2630         Likewise.
2632 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
2634         [BZ #20790]
2635         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
2636         to MAXLINESIZE.
2637         * sunrpc/bug20790.x: New file.
2638         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
2639         variable.
2640         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
2641         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
2643         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
2645         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
2647         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
2648         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
2649         calloc, realloc, free, memalign and __libc_memalign rather than
2650         making them optional.
2652         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
2653         for libc.so.
2655 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2657         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
2658         ptw-lseek64.
2659         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
2660         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
2661         Likewise.
2662         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
2663         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
2664         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
2665         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
2666         * sysdeps/unix/sysv/linux/lseek.c: New file.
2667         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
2668         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
2669         __libc_lseek64 from auto-generation.
2670         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2671         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
2673 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2675         * nptl/tst-basic1.c (tf, do_test): Use write_message.
2676         * nptl/tst-cleanup1.c (do_test): Likewise.
2677         * nptl/tst-cleanup3.c (do_test): Likewise.
2678         * nptl/tst-key1.c (do_test): Likewise.
2679         * nptl/tst-key2.c (tf, do_test): Likewise.
2680         * nptl/tst-key3.c (tf, do_test): Likewise.
2681         * nptl/tst-stdio1.c (do_test): Likewise.
2682         * nptl/tst-stdio2.c (do_test): Likewise.
2684         * nptl/tst-kill3.c (handler): Use write_message in place of write.
2685         * nptl/tst-kill6.c (handler): Likewise.
2686         * nptl/tst-tls2.c (CB): Likewise.
2687         * nptl/tst-tls3.c (CB): Likewise.
2689 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
2691         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
2693 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
2694             Steve Ellcey  <sellcey@caviumnetworks.com>
2696         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
2697           __ASSUME_ST_INO_64_BIT as 0
2698         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
2699         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
2700           over the code where __ASSUME_ST_INO_64_BIT is used.
2701         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2702         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2703         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2705 2016-11-07  Florian Weimer  <fweimer@redhat.com>
2707         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2708         Document ABI exposure of the __kind offset.
2709         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2710         Mention reason for the __kind offset exposure in the ABI.
2711         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2712         Likewise.
2713         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2714         Likewise.
2715         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2716         Likewise.
2717         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
2718         (struct __pthread_mutex_s): Likewise.
2719         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2720         Likewise.
2721         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2722         Likewise.
2723         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2724         Likewise.
2725         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2726         Likewise.
2727         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2728         Likewise.
2729         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2730         Likewise.
2731         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2732         (struct __pthread_mutex_s): Likewise.
2733         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2734         (struct __pthread_mutex_s): Likewise.
2735         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
2736         Likewise.
2738 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
2740         * test-skeleton.c: Document do_test usage.
2742 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
2744         * iconv/gconv.h (__gconv_info): Define __data element using a
2745         zero-length array.
2747 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
2749         * math/test-tgmath2.c: Split up test function.
2751 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2753         * Rules (tests-expected): New variable, depending on
2754         $(run-built-tests).
2755         (tests): Pass $(tests-expected) to merge-test-results.sh, not
2756         $(tests).
2758         * Rules [$(run-built-tests) = no] (tests): Do not depend on
2759         $(tests-unsupported).
2761 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2763         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2764         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
2766 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2768         [BZ #20768]
2769         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
2770         __fegetenv instead of fegetenv.
2772         [BZ #14139]
2773         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
2774         (find_files): Obtain platform name from libm-test-ulps-name and
2775         store in %pplatforms.
2776         (canonicalize_platform): Remove.
2777         (print_platforms): Use $pplatforms directly.
2778         (by_platforms): Do not allow for platforms missing from
2779         %pplatforms.
2780         * sysdeps/aarch64/libm-test-ulps-name: New file.
2781         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
2782         * sysdeps/arm/libm-test-ulps-name: Likewise.
2783         * sysdeps/generic/libm-test-ulps-name: Likewise.
2784         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
2785         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
2786         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
2787         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
2788         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
2789         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
2790         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
2791         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
2792         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
2793         * sysdeps/nios2/libm-test-ulps-name: Likewise.
2794         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
2795         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
2796         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
2797         * sysdeps/sh/libm-test-ulps-name: Likewise.
2798         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
2799         * sysdeps/tile/libm-test-ulps-name: Likewise.
2800         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
2802         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
2804         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
2805         (test-xfail-check-execstack): New variable.
2807         * sysdeps/mips/localplt.data: New file.
2809 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
2810             Steve Ellcey  <sellcey@caviumnetworks.com>
2812         * bits/wordsize.h: Add documentation.
2813         * sysdeps/aarch64/bits/wordsize.h : New file
2814         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
2815         definitions.
2816         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
2817         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
2818         with #if instead of #ifdef.
2819         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
2820         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
2821         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
2822         Add or change defines.
2823         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
2824         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2825         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
2826         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
2827         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2828         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2829         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
2830         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
2831         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
2832         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2833         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
2834         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
2835         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
2836         * sysdeps/x86/bits/wordsize.h: Likewise.
2838 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
2839             Kevin Petit  <kevin.petit@arm.com>
2841         * sysdeps/aarch64/memchr.S (__memchr): New file.
2843 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2845         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
2847 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
2849         [BZ #19398]
2850         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
2851         $(linknamespace-symlists-tests).
2853 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
2855         * time/tst-strptime2.c: Ignore -Wformat-length warning.
2857 2016-11-02  Florian Weimer  <fweimer@redhat.com>
2858             Carlos O'Donell  <carlos@redhat.com>
2860         [Bug #20729]
2861         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
2862         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
2863         for -Os related change.
2865 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
2867         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
2869 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
2871         [BZ #19673]
2872         * manual/math.texi (Exponents and Logarithms): Correct description
2873         of clog10.
2875 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
2877         [Bz #20729]
2878         * locale/weight.h: Include libc-internal.h.
2879         * locale/weightwc.h: Likewise.
2880         * nptl/nptl_dbP.h: Likewise.
2882 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
2884         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
2885         when it is MACH_PORT_NULL.
2887 2016-10-31  Andreas Schwab  <schwab@suse.de>
2889         [BZ #20707]
2890         * posix/glob.c (glob): Initialize pglob before checking for
2891         GLOB_BRACE.  Don't call glob recursively if pattern contains no
2892         valid brace expression despite GLOB_BRACE.
2893         * posix/globtest.sh: Test it.
2895 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2897         [BZ #20729]
2898         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
2899         Define.
2900         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
2901         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
2902         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
2903         for seq2.back_us and seq1.back_us only for -Os compiles.
2904         * locale/weightwc.h (findix): Likewise.
2905         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
2906         DB_GET_FIELD_ADDRESS only for -Os compiles.
2907         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
2908         for slen only for -Os compiles.
2909         * string/strcoll_l.c (get_next_seq): Ignore
2910         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
2911         for -Os compiles.
2913         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
2914         * include/crypt.h: New file.
2916 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2918         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
2919         from test-skeleton.c.
2920         (statclass): Replace calls to write with calls to write_message.
2922 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2924         * math/math.h
2925         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
2926         New macro.
2927         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
2928         Likewise.
2929         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
2930         Likewise.
2931         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
2932         SNANL.
2933         * math/test-double.h (snan_value_MACRO): New macro.
2934         * math/test-float.h (snan_value_MACRO): Likewise.
2935         * math/test-ldouble.h (snan_value_MACRO): Likewise.
2936         * math/libm-test.inc (issignaling_test_data): Add tests of
2937         snan_value_MACRO.
2939 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2941         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2942         behavior when eliding a lock not held by the current thread.
2943         * sysdeps/powerpc/nptl/elide.h: Likewise.
2945 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2947         [BZ #20728]
2948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2949         branch to _exit() by a function call.
2951 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2953         * malloc/malloc.c: Update chunk layout comments.
2954         (chunk_main_arena): Update comment.
2956 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2958         * crypt/sha256.c, crypt/sha256-block.c,
2959         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2960         sha256_process_block to __sha256_process_block.
2961         * crypt/sha512.c, crypt/sha512-block.c,
2962         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2963         sha512_process_block to __sha512_process_block.
2965 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2967         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2969         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2971 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2973         [BZ #20019]
2974         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2975         definition in unrelocated shared library.
2976         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2978 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2980         [BZ #20729]
2981         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2982         * sysdeps/unix/sysv/linux/i386/Makefile
2983         (uses-6-syscall-arguments): Define.
2984         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2985         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2986         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2987         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2988         Likewise.
2989         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2990         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2991         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2992         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2993         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2994         (CFLAGS-fallocate64.os): Likewise.
2995         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2996         (CFLAGS-pthread_rwlock_timedrdlock.os)
2997         (CFLAGS-pthread_rwlock_timedwrlock.o)
2998         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2999         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3000         (CFLAGS-sem_timedwait.os): Likewise.
3002 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3004         * elf/tst-linkall-static.c: New file.
3005         * elf/Makefile (tests-static): Add tst-linkall-static.
3006         (tst-linkall-static): Link against static libraries.
3008 2016-10-27  Florian Weimer  <fweimer@redhat.com>
3010         * malloc/malloc.c (sysmalloc): Initialize previous size field of
3011         mmaped chunks.
3013 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3015         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3016         members to mchunk_prev_size, mchunk_size.
3017         (chunk_main_arena): Reverse sense and rename from
3018         chunk_non_main_arena.
3019         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3020         mchunk_size instead of size.
3021         (set_non_main_arena): Define.
3022         (chunksize): Use chunksize_nomask instead of direct member access.
3023         (chunksize_nomask): Define.
3024         (next_chunk): Use chunksize instead of direct member access.
3025         (prev_size, set_prev_size): Define.
3026         (prev_chunk): Use prev_size instead of direct member access.
3027         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3028         (inuse_bit_at_offset, set_inuse_bit_at_offset)
3029         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3030         (mchunk_prev_size, mchunk_size): Poison tokens.
3031         (unlink): Use chunksize_nomask, prev_size accessors.
3032         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3033         (do_check_free_chunk): Use prev_size accessor.
3034         (sysmalloc): Use set_prev_size, set_head accessors.
3035         (munmap_chunk, mremap_chunk): Use prev_size accessor.
3036         (__libc_free): Use chunksize_nomask accessor.
3037         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3038         chunk_main_arena accessors.
3039         (_int_free): Use chunksize_nomask, prev_size accessors.
3040         (malloc_consolidate): Use chunksize, prev_size accessors.
3041         (_int_realloc): Use chunksize_nomask accessor.
3042         (_int_memalign): Use set_prev_size accessor.
3043         (__malloc_info): Use chunksize_nomask accessor.
3044         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3045         accessors.
3046         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3047         (heap_trim): Use chunksize_nomask, prev_size accessors.
3049 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3051         [BZ #19380]
3052         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3053         for inexact results.
3054         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3055         of inexact result where mpfr_subnormalize is the only inexact
3056         step.
3057         * stdlib/tst-strtod-round-data.h: Regenerated.
3058         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3059         Define to 0.
3060         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3062 2016-10-27  David S. Miller  <davem@davemloft.net>
3064         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3066 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3068         * malloc/malloc.c (do_set_mallopt_check): New function.
3069         (do_set_mmap_threshold): Likewise.
3070         (do_set_mmaps_max): Likewise.
3071         (do_set_top_pad): Likewise.
3072         (do_set_perturb_byte): Likewise.
3073         (do_set_trim_threshold): Likewise.
3074         (do_set_arena_max): Likewise.
3075         (do_set_arena_test): Likewise.
3076         (__libc_mallopt): Use them.
3078 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3080         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3081         (canonicalize): New declaration.
3082         * math/Versions (canonicalize): New libm symbol at version
3083         GLIBC_2.25.
3084         (canonicalizef): Likewise.
3085         (canonicalizel): Likewise.
3086         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3087         * math/s_canonicalize_template.c: New file.
3088         * math/libm-test.inc: Update comment on functions tested and
3089         testing of NaN payloads.
3090         (TEST_NAN_PAYLOAD): New macro.
3091         (NO_TEST_INLINE): Update value.
3092         (XFAIL_TEST): Likewise.
3093         (ERRNO_UNCHANGED): Likewise.
3094         (ERRNO_EDOM): Likewise.
3095         (ERRNO_ERANGE): Likewise.
3096         (IGNORE_RESULT): Likewise.
3097         (NON_FINITE): Likewise.
3098         (TEST_SNAN): Likewise.
3099         (NO_TEST_MATHVEC): Likewise.
3100         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3101         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3102         (struct test_Ffp_b1_data): New type.
3103         (RUN_TEST_Ffp_b1): New macro.
3104         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3105         (canonicalize_test_data): New array.
3106         (canonicalize_test): New function.
3107         (main): Call canonicalize_test.
3108         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3109         canonicalizef and canonicalizel.
3110         * manual/libm-err-tab.pl: Update comment on interfaces without
3111         ulps tabulated.
3112         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3113         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3114         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3115         canonicalize.
3116         (CFLAGS-nldbl-canonicalize.c): New variable.
3117         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3118         to ...
3119         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3120         ... here.
3121         (do_test): Also test canonicalizel.
3122         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3123         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3124         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3125         file.
3126         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3127         Use libm_hidden_def.
3128         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3129         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3130         (do_test): Also test canonicalizel.
3131         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3132         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3133         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3134         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3135         libm_hidden_def.
3136         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3137         macro.
3138         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3139         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3140         * sysdeps/nacl/libm.abilist: Update.
3141         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3143         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3144         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3145         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3146         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3147         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3148         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3149         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3150         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3151         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3152         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3154         Likewise.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3156         Likewise.
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3158         Likewise.
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3160         Likewise.
3161         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3163         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3164         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3165         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3167         Likewise.
3168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3169         Likewise.
3170         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3171         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3172         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3174         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3175         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3176         getpayload.
3177         (CFLAGS-nldbl-getpayload.c): New variable.
3179 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3181         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3182         integer from the format string.
3184 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3186         [BZ #19473]
3187         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3188         declarations.
3189         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3190         weak aliases.
3191         * malloc/hooks.c (__malloc_get_state): Remove definition.
3192         (malloc_get_state): New stub implementation as
3193         compatibility symbol.
3194         (malloc_set_state): Rename from __malloc_set_state.  Turn into
3195         compat symbol.
3196         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3197         malloc_set_state.
3198         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3200 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3202         * iconvdata/iso646.c (enum variant): Drop illegal_var.
3203         (names): Turn into concatenation of strings.
3204         (gconv_init): Adapt iteration over names.
3206 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3208         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3209         make const.
3210         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3211         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3212         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3213         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3214         character in sbconv.
3215         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3216         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3217         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3219 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3221         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3223         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
3224         (M_TRIM_THRESHOLD): Likewise.
3226         * manual/memory.texi (M_ARENA_TEST): Add documentation.
3227         (M_ARENA_MAX): Likewise.
3228         * malloc/malloc.c: Remove obsolete comment.
3230         * manual/memory.texi: Add environment variable alternatives to
3231         setting mallopt parameters.
3233 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
3235         * include/atomic.h
3236         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
3237         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
3239 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3241         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
3242         * stdlib/tst-strfrom.h: New file.
3243         * stdlib/tst-strfrom.c: New file.
3244         * stdlib/tst-strfrom-locale.c: New file.
3246         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
3247         * stdlib/bug-strtod2.c: Likewise.
3248         * stdlib/tst-strtod-round-skeleton.c: Likewise.
3249         * stdlib/tst-strtod6.c: Likewise.
3250         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
3252 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3254         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
3255         * manual/arith.texi: Document strfromd, strfromf, strfroml.
3256         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
3257         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
3258         * stdlib/stdlib.h (strfromd): New declaration.
3259         (strfromf): Likewise.
3260         (strfroml): Likewise.
3261         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
3262         strfrom.
3263         * stdlib/strfromd.c: New file.
3264         * stdlib/strfromf.c: Likewise.
3265         * stdlib/strfroml.c: Likewise.
3266         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
3267         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
3268         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
3269         * sysdeps/arm/nacl/libc.abilist: Update.
3270         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3271         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3272         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3273         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3274         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3275         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3276         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3277         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3278         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3279         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3280         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3281         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3282         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3283         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
3285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3288         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3289         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3290         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3291         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3292         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3295         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3296         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3297         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3299 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
3301         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
3302         instead of cmpli.
3303         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
3304         instead of cmpli.
3306 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
3308         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
3309         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3310         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3311         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3312         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3313         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3315 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3317         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
3318         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3319         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
3320         SYSCALL_LL64_PRW.
3321         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3322         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
3323         __ASSUME_PRW_DUMMY_ARG.
3324         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
3325         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3326         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3327         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3328         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
3329         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
3331 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
3333         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
3335 2016-10-22  Florian Weimer  <fweimer@redhat.com>
3337         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
3338         "C++", to override a potential extern "C" directive around the
3339         header file inclusion.
3341 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
3343         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
3345 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3347         * sysdeps/powerpc/fpu/fenv_private.h:
3348         (_FPU_MASK_ALL): Rename to...
3349         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
3350         XE FPSCR bits.
3352         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
3354         (_FPU_MASK_ROUNDING): Rename to...
3355         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
3356         NI bits.
3358         (_FPU_MASK_EXCEPT_ROUND): Rename to...
3359         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
3360         bits and rounding bits.
3362         (__libc_feholdbits_ppc): New inline function to mask, set,
3363         and pontentially clear FSPCR bits, and change MSR[FE] bits.
3364         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
3365         (libc_feholdexcept_setround_ppc): Likewise.
3367         (__libc_femergeenv_ppc): New function to dynamically mask both
3368         old and new FP environments and merge.
3369         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
3370         (libc_feresetround_ppc): Likewise.
3371         (libc_feupdateenv_test_ppc): Likewise.
3372         (libc_feupdateenv_ppc): Likewise.
3374         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
3375         of ISA RN bits, and update macro names.
3376         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
3377         effectively the same as the previously mentioned function.
3379         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
3380         usage with fe_resetround_ppc.
3382         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
3383         to be used.
3384         (libc_feholdexcept_setround_ctxf): Likewise.
3385         (libc_feholdexcept_setround_ctxl): Likewise.
3387 2016-10-21  Florian Weimer  <fweimer@redhat.com>
3389         [BZ #20715]
3390         * math/math.h [__cplusplus] (iszero): Define as function template.
3391         * math/Makefile [CXX] (tests): Add test-math-iszero.
3392         (CFLAGS-test-math-iszero.cc): Set.
3393         * math/test-math-iszero.cc: New file.
3395 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
3397         [BZ #20660]
3398         * sysdeps/arm/e_sqrt.c: New file.
3399         * sysdeps/arm/e_sqrtf.c: Likewise.
3401 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
3403         [BZ #20718]
3404         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
3405         not use floating-point comparisons to test sign.
3406         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
3407         Likewise.
3409         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3410         (getpayload): New declaration.
3411         * math/Versions (getpayload): New libm symbol at version
3412         GLIBC_2.25.
3413         (getpayloadf): Likewise.
3414         (getpayloadl): Likewise.
3415         * math/Makefile (libm-calls): Add s_getpayloadF.
3416         * math/libm-test.inc: Include <nan-high-order-bit.h>.
3417         (struct test_f_f_data): Add comment.
3418         (RUN_TEST_fp_f): New macro.
3419         (RUN_TEST_LOOP_fp_f): Likewise.
3420         (getpayload_test_data): New array.
3421         (getpayload_test): New function.
3422         (main): Call getpayload_test.
3423         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
3424         descriptor.
3425         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
3426         getpayloadf and getpayloadl.
3427         * manual/libm-err-tab.pl: Update comment on interfaces without
3428         ulps tabulated.
3429         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
3430         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
3431         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
3432         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
3433         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
3434         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
3435         * sysdeps/nacl/libm.abilist: Update.
3436         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3437         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3438         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3439         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3440         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3441         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3442         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3443         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3444         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3445         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3446         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3447         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3449         Likewise.
3450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3451         Likewise.
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3453         Likewise.
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3455         Likewise.
3456         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3457         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3458         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3459         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3460         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3462         Likewise.
3463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3464         Likewise.
3465         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3466         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3467         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3469 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3471         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
3472         tst-fallocate{64}.
3473         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
3474         on syscall return.
3476 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
3478         [BZ #20689]
3479         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
3480         usable.
3482 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
3484         * sysdeps/generic/nan-high-order-bit.h: New file.
3485         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
3486         * sysdeps/mips/nan-high-order-bit.h: Likewise.
3487         * sysdeps/hppa/math_private.h: Remove file.
3488         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
3489         not define here.
3490         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
3491         <nan-high-order-bit.h>.
3492         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3493         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
3494         <nan-high-order-bit.h>.
3495         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3496         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
3497         <nan-high-order-bit.h>.
3498         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3499         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
3500         <nan-high-order-bit.h>.
3501         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3502         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
3503         <nan-high-order-bit.h>.
3504         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3505         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
3506         <nan-high-order-bit.h>.
3507         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3508         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
3509         <nan-high-order-bit.h>.
3510         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3511         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3512         <nan-high-order-bit.h>.
3513         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3514         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3515         <nan-high-order-bit.h>.
3516         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3517         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
3518         <nan-high-order-bit.h>.
3519         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3520         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3521         <nan-high-order-bit.h>.
3522         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3523         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3524         <nan-high-order-bit.h>.
3525         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3526         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
3527         <nan-high-order-bit.h>.
3528         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3529         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
3530         <nan-high-order-bit.h>.
3531         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3532         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
3533         <nan-high-order-bit.h>.
3534         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3535         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
3536         <nan-high-order-bit.h>.
3537         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3538         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3539         <nan-high-order-bit.h>.
3540         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3541         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3542         <nan-high-order-bit.h>.
3543         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3545 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3547         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
3549 2016-09-22  John David Anglin  <dave.anglin@bell.net>
3551         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
3552         abort-instr.h.
3553         (EFAULT): Remove conditional define.
3554         (ENOSYS): Likewise.
3555         (atomic_compare_and_exchange_val_acq): Use instruction nullification
3556         instead of conditional branch instructions.
3558 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
3560         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3561         (totalordermag): New declaration.
3562         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
3563         New macro.
3564         * math/Versions (totalordermag): New libm symbol at version
3565         GLIBC_2.25.
3566         (totalordermagf): Likewise.
3567         (totalordermagl): Likewise.
3568         * math/Makefile (libm-calls): Add s_totalordermagF.
3569         * math/libm-test.inc (totalordermag_test_data): New array.
3570         (totalordermag_test): New function.
3571         (main): Call totalordermag_test.
3572         * math/test-tgmath.c (NCALLS): Increase to 125.
3573         (F(compile_test)): Call totalordermag.
3574         (F(totalordermag)): New function.
3575         * manual/arith.texi (FP Comparison Functions): Document
3576         totalordermag, totalordermagf and totalordermagl.
3577         * manual/libm-err-tab.pl: Update comment on interfaces without
3578         ulps tabulated.
3579         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
3580         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
3581         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
3582         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
3583         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
3584         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
3585         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
3586         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3587         totalordermag.
3588         (CFLAGS-nldbl-totalordermag.c): New variable.
3589         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
3590         (do_test): Also test totalordermagl.
3591         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
3592         Likewise.
3593         * sysdeps/nacl/libm.abilist: Update.
3594         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3595         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3596         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3597         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3598         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3599         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3600         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3601         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3602         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3603         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3604         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3605         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3607         Likewise.
3608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3609         Likewise.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3611         Likewise.
3612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3613         Likewise.
3614         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3615         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3616         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3617         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3618         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3620         Likewise.
3621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3622         Likewise.
3623         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3624         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3625         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3627 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
3629         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
3630         boolean.
3632 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
3634         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
3635         raising FE_INVALID with feraisexcept in case where part of
3636         argument is infinite, subtract that part of argument from itself.
3637         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
3638         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
3639         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3641 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3643         * math/libm-test.inc (totalorder_test_data): Add more tests.
3645 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3647         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
3648         Undefine weak_alias and add a comment why mips64 require
3649         versioning.
3651 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3653         [BZ #20647]
3654         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
3655         maximum CPUID level is less than 2.
3657 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3659         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3660         (totalorder): New declaration.
3661         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
3662         New macro.
3663         * math/Versions (totalorder): New libm symbol at version
3664         GLIBC_2.25.
3665         (totalorderf): Likewise.
3666         (totalorderl): Likewise.
3667         * math/Makefile (libm-calls): Add s_totalorderF.
3668         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
3669         string.
3670         * math/libm-test.inc (PAYLOAD_DIG): New macro.
3671         (qnan_value_pl): Likewise.
3672         (snan_value_pl): Likewise.
3673         (qnan_value): Define using qnan_value_pl.
3674         (snan_value): Define using snan_value_pl.
3675         (struct test_ff_i_data): Add comment about which tests use this
3676         structure.
3677         (RUN_TEST_ff_b): New macro.
3678         (RUN_TEST_LOOP_ff_b): Likewise.
3679         (totalorder_test_data): New array.
3680         (totalorder_test): New function.
3681         (main): Call totalorder_test.
3682         * math/test-tgmath.c (NCALLS): Increase to 122.
3683         (F(compile_test)): Call totalorder.
3684         (F(totalorder)): New function.
3685         * manual/arith.texi (FP Comparison Functions): Document
3686         totalorder, totalorderf and totalorderl.
3687         * manual/libm-err-tab.pl: Update comment on interfaces without
3688         ulps tabulated.
3689         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
3690         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
3691         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
3692         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
3693         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
3694         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
3695         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
3696         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3697         totalorder.
3698         (CFLAGS-nldbl-totalorder.c): New variable.
3699         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
3700         file.
3701         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3702         Add test-totalorderl-ldbl-128ibm.
3703         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
3704         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
3705         test-totalorderl-ldbl-96.
3706         * sysdeps/nacl/libm.abilist: Update.
3707         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3708         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3709         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3710         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3711         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3712         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3713         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3714         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3715         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3716         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3717         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3718         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3720         Likewise.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3722         Likewise.
3723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3724         Likewise.
3725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3726         Likewise.
3727         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3728         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3729         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3730         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3731         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3733         Likewise.
3734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3735         Likewise.
3736         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3737         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3738         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3740 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3742         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
3743         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
3744         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
3745         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
3746         remove ENOSYS implementation.
3747         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
3748         Consolidate all Linux implementations.
3750 2016-10-11  Florian Weimer  <fweimer@redhat.com>
3752         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
3753         * resolv/herror.c (herror): Cast away const-ness.
3754         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
3755         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
3757 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
3759         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
3760         instead of M_NAN + M_NAN.
3761         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3763 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3765         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
3766         unused variable 'p'.
3768 2016-10-09  Alan Modra  <amodra@gmail.com>
3769             Andreas Schwab  <schwab@linux-m68k.org>
3771         [BZ #20554]
3772         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
3773         [PIC && !SHARED]: Set up PIC register for PLT call.
3775 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
3777         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
3778         conditional on value of [__FLT_EVAL_METHOD__].
3779         * math/test-iseqsig-excess-precision.c: New file.
3780         * math/Makefile (tests): Add test-iseqsig-excess-precision.
3782 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3784         * math/s_iseqsig_template.c: Include math-private.h.
3786         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
3787         * posix/tst-posix_fadvise.c: New file.
3788         * posix/tst-posix_fadvise64.c: Likewise.
3789         * posix/tst-posix_fadvise-common.c: Likewise.
3790         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3791         (__ASSUME_FADVISE64_64_6ARG): Define.
3792         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3793         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
3794         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3795         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
3796         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
3797         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
3798         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
3799         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3800         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
3801         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
3802         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
3803         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
3804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
3805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
3806         Likewise.
3807         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
3808         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
3809         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
3810         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3811         Alias to __posix_fadvise64_l32.
3812         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
3813         Add compat definition to posix_fadvise64.
3814         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3815         Add versioned definition to posix_fadvise64.
3816         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
3817         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
3818         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
3819         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
3820         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
3822         * io/Makefile (tests): Add tst-posix_fallocate and
3823         tst-posix_fallocate64.
3824         * io/tst-posix_fallocate-common.c: New file.
3825         * io/tst-posix_fallocate.c: Likewise.
3826         * io/tst-posix_fallocate64.c: Likewise.
3827         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
3828         file.
3829         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
3830         Likewise.
3831         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
3832         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
3833         Likewise.
3834         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
3835         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
3836         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
3837         SYSCALL_LL to pass both offset and len arguments.
3838         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
3839         Likewise.
3840         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
3841         __libc_pwrite64 alias used by posix_fallocate64.
3843         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3844         tst-fallocate64.
3845         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3846         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3847         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3848         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3849         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3850         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3851         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3852         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3853         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3854         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3855         macro on offset argument.
3856         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3857         SYSCALL_LL64 on offset argument.
3859         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3860         tst-fallocate64.
3861         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3862         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3863         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3864         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3865         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3866         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3867         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3868         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3869         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3870         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3871         macro on offset argument.
3872         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3873         SYSCALL_LL64 on offset argument.
3874         * test-skeleton.c (FAIL_RET): Add macro.
3875         (FAIL_EXIT): Likewise.
3876         (FAIL_EXIT1): Likewise.
3877         (_FAIL): Likewise.
3879 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3881         [BZ #20629]
3882         resolv: Remove RES_USEBSTRING and its implementation.
3883         * resolv/resolv.h (RES_USEBSTRING): Remove.
3884         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
3885         (digitvalue, encode_bitstring, decode_bitstring): Remove.
3886         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
3887         (labellen): Remove extended label types support.
3888         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
3889         * resolv/res_init.c (res_setoptions): Likewise.
3890         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3892 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3894         resolv: Remove RES_NOIP6DOTINT and its implementation.
3895         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
3896         (RES_NOIP6DOTINT): Remove.
3897         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
3898         handling.
3899         * resolv/res_debug.c (p_option): Likewise.
3900         * resolv/res_init.c (res_setoptions): Likewise.
3901         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3903 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3905         resolv: Deprecate unimplemented flags.
3906         * misc/sys/cdefs.h (__glibc_macro_warning1)
3907         (__glibc_macro_warning): Define.
3908         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
3909         (RES_KEEPTSIG): Mark as deprecated.
3910         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
3911         RES_NOCHECKNAME, RES_KEEPTSIG.
3912         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
3914 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3916         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
3917         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
3918         Use strong_alias to create symbols for glibc verison 2.19.
3920 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3922         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
3924 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3926         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
3928 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3930         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
3932 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3934         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3935         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
3936         in header for using it as type for ifunc function because __GI_* symbols
3937         for ppc32 do not target the ifunc symbols.
3938         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3940 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3942         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3943         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3944         libc_ifunc_hidden_def.
3945         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3946         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3947         Redirect ifunced function in header for using it as type of ifunc'ed
3948         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3949         function for __GI_* symbol.
3950         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3951         * include/libc-symbols.h
3952         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3954 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3956         [BZ #20478]
3957         * sysdeps/s390/multiarch/ifunc-resolve.h
3958         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3959         to create ifunc symbols.
3960         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3961         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3962         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3963         for using it as type for ifunc function.
3964         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3965         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3966         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3967         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3968         * sysdeps/s390/multiarch/strcat.c: Likewise.
3969         * sysdeps/s390/multiarch/strchr.c: Likewise.
3970         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3971         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3972         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3973         * sysdeps/s390/multiarch/strlen.c: Likewise.
3974         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3975         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3976         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3977         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3978         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3979         * sysdeps/s390/multiarch/strspn.c: Likewise.
3980         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3981         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3982         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3983         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3984         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3985         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3986         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3987         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3988         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3989         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3990         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3991         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3993 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3995         * include/libc-symbols.h (__ifunc_resolver):
3996         New macro is used by __ifunc* macros.
3997         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3998         depending on HAVE_GCC_IFUNC.
3999         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4000         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4002         Redirect ifunced function in header for using as type for ifunc function.
4003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4009         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4010         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4011         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4012         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4013         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4014         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4016         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4022         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4023         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4024         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4025         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4026         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4027         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4028         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4029         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4030         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4031         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4032         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4033         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4034         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4035         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4037         Add libc_hidden_def() and use libc_ifunc_hidden() macro
4038         instead of libc_ifunc() macro.
4039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4042 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4044         * config.h.in (HAVE_GCC_IFUNC): New undef.
4045         * configure.ac: Add check if gcc supports attribute ifunc feature.
4046         * configure: Regenerated.
4047         * manual/install.texi: Add recommendation for gcc with
4048         indirect-function support.
4049         * INSTALL: Regenerated.
4051 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
4053         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4054         macro.
4055         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4056         (__iseqsig): New declaration.
4057         * math/s_iseqsig_template.c: New file.
4058         * math/Versions (__iseqsigf): New libm symbol at version
4059         GLIBC_2.25.
4060         (__iseqsig): Likewise.
4061         (__iseqsigl): Likewise.
4062         * math/libm-test.inc (iseqsig_test_data): New array.
4063         (iseqsig_test): New function.
4064         (main): Call iseqsig_test.
4065         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4066         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4067         * manual/libm-err-tab.pl: Update comment on interfaces without
4068         ulps tabulated.
4069         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4070         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4071         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4072         * sysdeps/nacl/libm.abilist: Update.
4073         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4074         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4075         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4076         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4077         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4078         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4079         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4080         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4081         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4082         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4083         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4084         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4086         Likewise.
4087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4088         Likewise.
4089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4090         Likewise.
4091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4092         Likewise.
4093         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4094         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4095         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4096         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4097         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4099         Likewise.
4100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4101         Likewise.
4102         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4103         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4104         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4106 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4108         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4109         do_sincos_2, sloww, sloww1): Update comments.
4111         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4112         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4114         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4115         K boolean and rename it.
4116         (__sin): Adjust.
4117         (__cos): Adjust.
4119 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4120             Siddhesh Poyarekar  <siddhesh@sourceware.org>
4122         * manual/nss.texi: Fix typos in the manual.
4124 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4126         * manual/contrib.texi: Fix typos in the manual.
4128         * manual/maint.texi: Fix typos in the manual.
4130         * manual/install.texi: Fix typos in the manual.
4131         * INSTALL: Regenerated.
4133         * manual/lang.texi: Fix typos in the manual.
4135         * manual/probes.texi: Fix typos in the manual.
4137         * manual/threads.texi: Fix typos in the manual.
4139         * manual/debug.texi: Fix typos in the manual.
4141         * manual/crypt.texi: Fix typos in the manual.
4143         * manual/conf.texi: Fix typos in the manual.
4145         * manual/sysinfo.texi: Fix typos in the manual.
4147         * manual/users.texi: Fix typos in the manual.
4149         * manual/job.texi: Fix typos in the manual.
4151         * manual/process.texi: Fix typos in the manual.
4153         * manual/argp.texi: Fix typos in the manual.
4154         * manual/getopt.texi: Likewise.
4155         * manual/startup.texi: Likewise.
4157         * manual/signal.texi: Fix typos in the manual.
4159         * manual/setjmp.texi: Fix typos in the manual.
4161         * manual/resource.texi: Fix typos in the manual.
4163         * manual/time.texi: Fix typos in the manual.
4165         * manual/arith.texi: Fix typos in the manual.
4167         * manual/math.texi: Fix typos in the manual.
4169         * manual/syslog.texi: Fix typos in the manual.
4171         * manual/terminal.texi: Fix typos in the manual.
4173         * manual/socket.texi: Fix typos in the manual.
4175         * manual/filesys.texi: Fix typos in the manual.
4177         * manual/llio.texi: Fix typos in the manual.
4179         * manual/stdio.text: Fix typos in the manual.
4181 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4183         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4184         instead of K1.
4186         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4187         SHIFT_QUADRANT and make it bool.
4188         (do_sincos_2): Likewise.
4189         (sloww): Likewise.
4190         (sloww1): Likewise.
4191         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4192         (__cos): Likewise.
4194 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4196         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4198 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
4200         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4201         Define to __WORDSIZE, not conditional on [LONG_MAX ==
4202         0x7fffffffL].
4203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4205 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4207         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4208         inline by __inline__.
4209         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4210         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4211         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4212         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4213         sigset_t from signal.h.
4214         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4215         which is already required.
4217 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4219         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4221 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
4223         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
4224         (struct tcp_repair_window): New type.
4226 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4228         * libio/tst-memstream3.c: Include string.h.
4230 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4232         [BZ #18241]
4233         [BZ #20181]
4234         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
4235         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
4236         write position is at the end the buffer.
4237         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
4238         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
4239         (_IO_str_seekoff): Set correct offset from negative displacement and
4240         set EINVAL for invalid ones.
4241         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
4242         buffer length.
4243         (_IO_wstr_switch_to_get_mode): New function.
4244         (_IO_wstr_seekoff): Set correct offset from negative displacement and
4245         set EINVAL for invalid ones.
4246         * libio/tst-memstream3.c: New file.
4247         * libio/tst-wmemstream3.c: Likewise.
4248         * manual/examples/memstrm.c: Remove warning when priting size_t.
4250 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
4252         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
4253         macro to use __builtin_fma.
4254         * sysdeps/x86_64/fpu/dla.h: Remove file.
4256         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4257         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
4258         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
4260 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
4262         [BZ #20292]
4263         * elf/Makefile (routines): Add dl-addr-obj.
4264         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
4265         tst-_dl_addr_inside_object.
4266         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
4267         [ifeq (yesyes,$(have-fpie)$(build-shared))]
4268         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
4269         [ifeq (yesyes,$(have-fpie)$(build-shared))]
4270         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
4271         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
4272         * elf/dl-open.c: Likewise.
4273         * elf/dl-addr-obj.c: New file.
4274         * elf/tst-_dl_addr_inside_object.c: New file.
4276 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
4278         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
4279         <bits/iscanonical.h>.
4280         * bits/iscanonical.h: New file.
4281         * math/s_iscanonicall.c: Likewise.
4282         * math/Versions (__iscanonicall): New libm symbol at version
4283         GLIBC_2.25.
4284         * math/libm-test.inc (iscanonical_test_data): New array.
4285         (iscanonical_test): New function.
4286         (main): Call iscanonical_test.
4287         * math/Makefile (headers): Add bits/iscanonical.h.
4288         (type-ldouble-routines): Add s_iscanonicall.
4289         * manual/arith.texi (Floating Point Classes): Document
4290         iscanonical.
4291         * manual/libm-err-tab.pl: Update comment on interfaces without
4292         ulps tabulated.
4293         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
4294         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
4295         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
4296         Likewise.
4297         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4298         test-iscanonical-ldbl-128ibm.
4299         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
4300         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
4301         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
4302         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
4303         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4304         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4305         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4307         Likewise.
4308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4309         Likewise.
4310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4311         Likewise.
4312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4313         Likewise.
4314         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4315         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4317 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4319         * string/bits/string3.h: Remove C++ style comments.
4321 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4323         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
4324         instead of ternary condition.
4325         (do_sincos_2): Likewise.
4326         (__sin): Likewise.
4327         (__cos): Likewise.
4328         (slow): Likewise.
4329         (sloww): Likewise.
4330         (sloww1): Likewise.
4331         (bsloww): Likewise.
4332         (bsloww1): Likewise.
4334         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
4335         instead of ternary condition.
4336         (do_sin_slow): Likewise.
4337         (do_sincos_1): Likewise.
4338         (do_sincos_2): Likewise.
4339         (__cos): Likewise.
4340         (sloww): Likewise.
4341         (sloww1): Likewise.
4342         (sloww2): Likewise.
4343         (bsloww): Likewise.
4344         (bsloww1): Likewise.
4345         (bsloww2): Likewise.
4347         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
4348         check from here...
4349         (slow2): ... and here...
4350         (__sin): ... to here.
4352 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
4354         * math/math.h
4355         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
4356         Cast argument to its own type.
4357         * math/test-iszero-excess-precision.c: New file.
4358         * math/Makefile (tests): Add test-iszero-excess-precision.
4359         (CFLAGS-test-iszero-excess-precision.c): New variable.
4361 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
4363         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
4364         field, add err field.
4365         (__spawni_child): Report error through err member instead of pipe.
4366         (__spawnix): Likewise.
4368 2016-09-28  Zack Weinberg  <zackw@panix.com>
4370         * scripts/check-installed-headers.sh: Generalize treatment of
4371         sys/elf.h to all target architectures.
4373         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
4374         deleted typedef ucontext_t.
4376 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4378         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
4379         (__INTERNAL_SYSCALL1): Likewise.
4380         (__INTERNAL_SYSCALL2): Likewise.
4381         (__INTERNAL_SYSCALL3): Likewise.
4382         (__INTERNAL_SYSCALL4): Likewise.
4383         (__INTERNAL_SYSCALL5): Likewise.
4384         (__INTERNAL_SYSCALL6): Likewise.
4385         (__INTERNAL_SYSCALL7): Likewise.
4386         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
4387         (__INTERNAL_SYSCALL_NARGS): Likewise.
4388         (__INTERNAL_SYSCALL_DISP): Likewise.
4389         (INTERNAL_SYSCALL_CALL): Likewise.
4390         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
4391         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
4392         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
4393         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
4394         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
4395         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
4396         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
4397         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
4398         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
4399         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
4400         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
4401         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
4402         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
4404 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
4406         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
4407         macro.
4408         * math/libm-test.inc (iszero_test_data): New array.
4409         (iszero_test): New function.
4410         (main): Call iszero_test.
4411         * manual/arith.texi (Floating Point Classes): Document iszero.
4412         * manual/libm-err-tab.pl: Update comment on interfaces without
4413         ulps tabulated.
4415 2016-09-23  Zack Weinberg  <zackw@panix.com>
4417         * scripts/check-installed-headers.sh: New script.
4418         * Rules: In each directory that defines header files to be installed,
4419         run check-installed-headers.sh on them as a special test.
4420         * Makefile: Likewise for the headers installed at top level.
4422         * include/aliases.h, include/alloca.h, include/argz.h
4423         * include/arpa/nameser.h, include/arpa/nameser_compat.h
4424         * include/elf.h, include/envz.h, include/err.h
4425         * include/execinfo.h, include/fpu_control.h, include/getopt.h
4426         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
4427         * include/link.h, include/malloc.h, include/mcheck.h
4428         * include/mntent.h, include/netinet/ether.h
4429         * include/nss.h, include/obstack.h, include/printf.h
4430         * include/pty.h, include/resolv.h, include/rpc/auth.h
4431         * include/rpc/auth_des.h, include/rpc/auth_unix.h
4432         * include/rpc/clnt.h, include/rpc/des_crypt.h
4433         * include/rpc/key_prot.h, include/rpc/netdb.h
4434         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
4435         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
4436         * include/rpc/rpc_msg.h, include/rpc/svc.h
4437         * include/rpc/svc_auth.h, include/rpc/xdr.h
4438         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
4439         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
4440         * include/rpcsvc/ypupd.h, include/shadow.h
4441         * include/stdio_ext.h, include/sys/epoll.h
4442         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
4443         * include/sys/prctl.h, include/sys/profil.h
4444         * include/sys/statfs.h, include/sys/sysctl.h
4445         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
4446         * sysdeps/arm/nacl/include/bits/setjmp.h
4447         * sysdeps/mips/include/sys/asm.h
4448         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
4449         * sysdeps/unix/sysv/linux/include/sys/timex.h
4450         * sysdeps/x86/fpu/include/bits/fenv.h:
4451         Add #ifndef _ISOMAC guard around internal declarations.
4452         Add multiple-inclusion guard if not already present.
4454 2016-09-23  Zack Weinberg  <zackw@panix.com>
4456         * sysdeps/generic/sys/ucontext.h
4457         * sysdeps/arm/sys/ucontext.h
4458         * sysdeps/i386/sys/ucontext.h
4459         * sysdeps/m68k/sys/ucontext.h
4460         * sysdeps/mips/sys/ucontext.h
4461         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
4462         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
4463         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
4464         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4465         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
4466         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4467         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4468         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4469         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4470         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4471         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4472         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4473         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4474         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4475         Include both bits/sigcontext.h and bits/sigstack.h.
4476         Fix grammar error in comment, if present.
4478         * bits/sigstack.h
4479         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4480         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
4481         * sysdeps/unix/sysv/linux/bits/sigstack.h
4482         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
4483         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
4484         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4485         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
4486         * bits/sigcontext.h
4487         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4488         * sysdeps/unix/sysv/linux/bits/sigcontext.h
4489         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
4490         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
4491         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
4492         as well as signal.h, if this was not already allowed.  Request
4493         definition of size_t if necessary.  Minimize semantically-null
4494         differences across files.
4496 2016-09-23  Zack Weinberg  <zackw@panix.com>
4498         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
4499         Remove all logic conditional on __need macros.  Move all the
4500         conditionally defined types to their own headers...
4501         * time/bits/types/clock_t.h: Define clock_t here.
4502         * time/bits/types/clockid_t.h: Define clockid_t here.
4503         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
4504         * time/bits/types/struct_timespec.h: Define struct timespec here.
4505         * time/bits/types/struct_timeval.h: Define struct timeval here.
4506         * time/bits/types/struct_tm.h: Define struct tm here.
4507         * time/bits/types/time_t.h: Define time_t here.
4508         * time/bits/types/timer_t.h: Define timer_t here.
4509         * time/Makefile: Install the new headers.
4511         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
4512         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
4513         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
4514         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
4515         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
4516         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
4517         * sysdeps/unix/sysv/linux/bits/resource.h
4518         * sysdeps/unix/sysv/linux/bits/timex.h
4519         * sysdeps/unix/sysv/linux/mips/bits/resource.h
4520         * sysdeps/unix/sysv/linux/net/ppp_defs.h
4521         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
4522         * sysdeps/unix/sysv/linux/sys/acct.h
4523         * sysdeps/unix/sysv/linux/sys/timerfd.h
4524         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
4525         * time/sys/time.h, time/sys/timeb.h
4526         Use the new bits/types headers.
4528         * include/time.h: Remove __need logic.
4529         * include/bits/time.h
4530         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
4531         * include/bits/types/time_t.h, include/bits/types/timer_t.h
4532         * include/bits/types/struct_itimerspec.h
4533         * include/bits/types/struct_timespec.h
4534         * include/bits/types/struct_timeval.h
4535         * include/bits/types/struct_tm.h:
4536         New wrapper headers.
4538 2016-09-23  Zack Weinberg  <zackw@panix.com>
4540         * sysdeps/mach/hurd/net/if_ppp.h
4541         * sysdeps/unix/sysv/linux/net/if_ppp.h:
4542         Only define struct ifpppstatsreq and struct ifpppcstatsreq
4543         if __USE_MISC is defined, to ensure struct ifreq is declared.
4545         * inet/netinet/ether.h: Condition all function prototypes
4546         on __USE_MISC, to ensure struct ether_addr is declared.
4548         * socket/bits/types/struct_osockaddr.h: New header.
4549         * include/bits/types/struct_osockaddr.h: New wrapper.
4550         * socket/Makefile: Install the new header.
4551         * socket/sys/socket.h, inet/protocols/talkd.h:
4552         Refer to bits/types/struct_osockaddr.h for the definition of
4553         struct osockaddr.
4555 2016-09-23  Zack Weinberg  <zackw@panix.com>
4557         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
4558         * inet/protocols/routed.h, inet/protocols/talkd.h
4559         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
4560         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
4561         * sysdeps/generic/netinet/if_ether.h
4562         * sysdeps/generic/netinet/in_systm.h
4563         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
4564         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
4565         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
4566         * sysdeps/mach/hurd/net/if_arp.h
4567         * sysdeps/mach/hurd/net/if_ppp.h
4568         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
4569         * sysdeps/unix/sysv/linux/bits/in.h
4570         * sysdeps/unix/sysv/linux/net/ethernet.h
4571         * sysdeps/unix/sysv/linux/net/if_arp.h
4572         * sysdeps/unix/sysv/linux/net/if_ppp.h
4573         * sysdeps/unix/sysv/linux/net/if_shaper.h
4574         * sysdeps/unix/sysv/linux/net/route.h
4575         * sysdeps/unix/sysv/linux/netinet/if_ether.h
4576         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
4577         * sysdeps/unix/sysv/linux/netinet/if_tr.h
4578         * sysdeps/unix/sysv/linux/netipx/ipx.h
4579         * sysdeps/unix/sysv/linux/sys/acct.h
4580         * include/arpa/nameser.h, include/resolv.h:
4581         Change all uses of u_char to unsigned char,
4582         u_short and ushort to unsigned short, u_int and uint to unsigned int,
4583         u_long and ulong to unsigned long, u_int8_t to uint8_t,
4584         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
4585         and u_int64_t and u_quad_t to uint64_t.
4587         * mach/sys/reboot.h: Remove two casts of integer literals
4588         to the types they already have.
4590         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
4591         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
4592         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
4593         from referring to 'unsigned char' to 'uint8_t' for consistency with
4594         the macro definition below.
4596         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
4597         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
4598         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
4599         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
4600         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
4601         * sysdeps/unix/sysv/linux/sys/acct.h
4602         * include/arpa/nameser.h, include/resolv.h:
4603         Fix indentation disrupted by mechanical edits.
4605         * inet/protocols/talkd.h, resolv/arpa/nameser.h
4606         * sysdeps/generic/netinet/in_systm.h
4607         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
4608         * sysdeps/gnu/netinet/udp.h
4609         * sysdeps/unix/sysv/linux/net/ethernet.h
4610         * sysdeps/unix/sysv/linux/net/if_arp.h
4611         * sysdeps/unix/sysv/linux/net/if_ppp.h
4612         * sysdeps/unix/sysv/linux/net/if_shaper.h
4613         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
4614         * sysdeps/unix/sysv/linux/netinet/if_tr.h
4615         * sysdeps/unix/sysv/linux/netipx/ipx.h
4616         * sysdeps/unix/sysv/linux/sys/acct.h
4617         Include stdint.h for uintNN_t definitions.
4618         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
4620 2016-09-23  Zack Weinberg  <zackw@panix.com>
4622         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
4623         * sysdeps/unix/sysv/linux/netrose/rose.h:
4624         Include sys/socket.h and netax25/ax25.h.
4626         * inet/netinet/icmp6.h, inet/netinet/ip6.h
4627         * resolv/arpa/nameser_compat.h:
4628         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
4630         * sysdeps/unix/sysv/linux/sys/quota.h:
4631         Use __caddr_t instead of caddr_t.
4632         * sysdeps/unix/sysv/linux/sys/timerfd.h:
4633         Use __clockid_t instead of clockid_t.
4635         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
4637         * argp/argp.h: Check whether _LIBC is defined before expanding it.
4638         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
4639         expanding it.
4641         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
4642         Define __glibc_c99_flexarr_available to 1 when the compiler
4643         supports C99-compatible flexible array members, 0 otherwise.
4644         * sysdeps/unix/sysv/linux/bits/socket.h
4645         * sysdeps/mach/hurd/bits/socket.h
4646         * bits/socket.h: Use __glibc_c99_flexarr_available in
4647         definitions of struct cmsghdr and CMSG_DATA.
4649 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4651         * manual/nss.texi (NSS Modules Interface): Adjust function return
4652         type to enum nss_status.  Document errnop argument.  Clarify
4653         h_errnop semantics.  Fix cross-reference formatting.
4654         (NSS Module Function Internals): Mention that *errnop needs to be
4655         set on failure, but not to zero.
4657 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4659         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
4660         (get_random_name): New functions.
4661         (check_wrapper_flags_mode): Use linkat to give the new file a name
4662         determined by get_random_name.
4663         (do_test): Add calls to test open64 and openat64.
4665 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4667         * test-skeleton.c: Remove #include <stdarg.h>.
4669 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
4671         [BZ #19826]
4672         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
4673         initialization of static TLS entries.
4674         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
4675         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4677 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4679         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
4680         _hurd_malloc_fork_prepare.
4681         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
4682         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
4683         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
4684         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
4685         (_hurd_fork_child_hook): Drop malloc_fork_child.
4686         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
4687         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
4688         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
4689         after locking locks (notably hurd_dtable_lock). Call
4690         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
4691         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
4692         __malloc_fork_unlock_child.
4693         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
4695 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
4697         * soft-fp/extendhftf2.c: New.
4698         * soft-fp/fixhfti.c: Likewise.
4699         * soft-fp/fixunshfti.c: Likewise.
4700         * soft-fp/floattihf.c: Likewise.
4701         * soft-fp/floatuntihf.c: Likewise.
4702         * soft-fp/half.h: Likewise.
4703         * soft-fp/trunctfhf2.c: Likewise.
4705 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
4707         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
4708         macro.
4709         * math/libm-test.inc (issubnormal_test_data): New array.
4710         (issubnormal_test): New function.
4711         * manual/arith.texi (Floating Point Classes): Document
4712         issubnormal.
4713         * manual/libm-err-tab.pl: Update comment on interfaces without
4714         ulps tabulated.
4716         * sysdeps/generic/stdint.h: Define
4717         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4718         <bits/libc-header-start.h> instead of including <features.h>.
4719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
4720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
4721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
4722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
4723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
4724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
4725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
4726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
4727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
4728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
4729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
4730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
4731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
4732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
4733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
4734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
4735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
4736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
4737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
4738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
4739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
4740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
4741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
4742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
4743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
4744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
4745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
4746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
4747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
4748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
4749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
4750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
4751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
4752         * manual/arith.texi (Integers): Document these macros for types
4753         specified by width properties.
4754         * manual/lang.texi (Width of Type): Document these macros for
4755         other standard typedefs.
4756         * stdlib/tst-width-stdint.c: New file.
4757         * stdlib/Makefile (tests): Add tst-width-stdint.
4759 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4761         [BZ #20016]
4762         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
4763         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
4764         Move ...
4765         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
4766         ... here, as compatibility symbols in a new file.
4767         * resolv/Makefile (libresolv-routines): Add compat-hooks.
4768         * resolv/res_init.c (__res_vinit): Adjust member names.
4769         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
4770         * resolv/resolv.h (res_sendhookact, res_send_qhook)
4771         (res_send_rhook): Remove.
4772         (struct __res_state): Rename qhook, rhook members.
4774 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4776         malloc: Use __libc_lock wrappers.
4777         * malloc/arena.c (list_lock, free_list_lock): Define using
4778         __libc_lock_define_initialized.
4779         (arena_lock): Adjust formatting.
4780         * malloc/malloc.c (struct malloc_state): Define mutex using
4781         __libc_lock_define.
4782         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
4783         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
4784         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
4785         (mutex_unlock, mutex_trylock): Remove.
4786         (__pthread_initialize): Remove unused macro.
4787         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
4788         (mutex_unlock, mutex_trylock): Remove.
4790 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4792         [BZ #20592]
4793         Remove RR type classification macros.
4794         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
4795         (ns_t_udp_p, ns_t_xfr_p): Remove.
4797 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4799         Remove misleading version information.
4800         * resolv/arpa/nameser.h (__NAMESER): Remove.
4801         * resolv/arpa/nameser_compat.h (__BIND): Remove.
4803 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4805         Remove the always-defined BIND_4_COMPAT macro.
4806         * resolv/arpa/nameser.h: Unconditionally include
4807         <arpa/nameser_compat.h>.
4808         (BIND_4_COMPAT): Remove.
4809         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
4811 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4813         [BZ #20591]
4814         Remove obsolete DNSSEC support.
4815         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
4816         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
4817         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
4818         (ns_verify_tcp, ns_verify_tcp_init): Remove.
4819         (ns_cert_types): Add comment.
4820         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
4821         separately.
4822         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
4823         (dst_s_dns_key_id): Remove.
4824         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
4825         variables.
4827 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4829         [BZ #20524]
4830         * manual/string.texi (String/Array Comparison): Clarify the
4831         strverscmp behavior.
4833 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4835         * test-skeleton.c (xasprintf): Add function.
4836         * io/tst-open-tmpfile.c: New test.
4837         * io/Makefile (tests): Add it.
4839 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4841         Avoid running $(CXX) during build to obtain header file paths.
4842         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
4843         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
4844         * Makerules (cstdlib, cmath): Remove variables.  Use
4845         $(c++-cstdlib-header), $(c++-cmath-header) instead.
4846         * configure: Regenerate.
4848 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4850         * Makeconfig (all-object-suffixes): Include .op only if
4851         $(build-profile).
4853 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4855         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
4856         conditionals.  Do not define PATH_MAX.
4858 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4860         * posix/Makefile (tests): Add tst-spawn3.
4861         * posix/tst-spawn3.c: New file.
4862         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
4863         if it is already opened for open action.
4865         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
4866         all signals when executing the clone vfork child.
4867         (SIGALL_SET): Remove macro.
4869         * nptl/Makefile (tests): Add tst-exec5.
4870         * nptl/tst-exec5.c: New file.
4871         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
4872         asynchronous cancellation.
4874 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4876         * hurd/exc2signal.c: #include <hurd/signal.h>
4877         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
4878         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
4879         accordingly.
4880         * mach/mach_error.c (mach_error): Fix old-style function definition.
4881         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
4883 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4885         * math/Makefile (libm-calls): Remove s_nanF.
4886         (gen-libm-calls): Add s_nanF.
4888         * math/s_nan.c: Refactor into ...
4889         * math/s_nan_template.c: New file.
4891         * math/s_nanf.c: Removed.
4892         * math/s_nanl.c: Removed.
4893         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
4894         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
4896         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4897         (LDOUBLE_nanl_libm_version): New macro.
4899         * sysdeps/generic/math-type-macros-double.h:
4900         (M_STRTO_NAN): New macro.
4901         * sysdeps/generic/math-type-macros-float.h: Likewise.
4902         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4904         * sysdeps/generic/math-type-macros.h: Document
4905         M_STRTO_NAN.
4907 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4909         * math/s_nanf.c: Remove __nanf undef.
4910         * math/s_nan.c: Remove __nan undef.
4911         * math/s_nanl.c: Remove __nanl undef.
4913         * sysdeps/generic/math_private.h (__nan): Remove macro
4914         override.
4915         (__nanf): Likewise.
4916         (__nanl): Likewise.
4918 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4920         * math/Makefile (gen-all-calls): New variable.
4921         (generated): Replace gen-libm-calls with gen-all-calls.
4922         (gen-libm-templates.stmp): Likewise.  Also, ensure
4923         the output directory exists or is created and add
4924         dependency on the Makefile.
4925         (calls): Move s_ldexpF into gen-calls.
4926         (gen-calls): New variable.
4928         * math/s_ldexpf.c: Removed.
4929         * math/s_ldexpl.c: Removed.
4930         * math/s_ldexp.c: Refactored into ...
4931         * math/s_ldexp_template.c: New file.
4933         * sysdeps/generic/math-type-macros-double.h: Remove
4934         redundant fall-through definition of declare_mgen_alias.
4935         (declare_mgen_alias_2): New macro.
4937         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
4938         New macro for function aliased to two exported symbols.
4940         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
4941         new template file.
4942         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4944 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4946         * Makeconfig (all-object-suffixes): Remove .og.
4947         * Makerules (elide-routines.og): Remove.
4948         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4949         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4950         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4952 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4954         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4955         .os objects.
4957 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4959         [BZ #20615]
4960         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4961         fpu directory by non-fpu.
4962         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4963         on non-fpu directory from a fpu directory.
4965 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4967         * include/limits.h: Define
4968         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4969         <bits/libc-header-start.h> instead of including <features.h>.
4970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4981         * manual/lang.texi (Width of Type): Document these macros.
4982         * stdlib/tst-width.c: New file.
4983         * stdlib/Makefile (tests): Add tst-width.
4985 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4987         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4988         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4990 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4992         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4993         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4994         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4996 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4998         [BZ #18243]
4999         * rt/Makefile (test): Add tst-shm-cancel.
5000         * rt/tst-shm-cancel.c: New file.
5001         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5003         [BZ #18243]
5004         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5005         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5006         definition.
5007         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5008         uncontended case.
5009         * nptl/sem_wait.c (__new_sem_wait): Likewise.
5010         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5011         (tf): Fix check for uncontended case.
5012         (do_test): Likewise.
5013         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5014         (tf): Fix check for uncontended case.
5015         (do_test): Likewise.
5016         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5017         (tf): Fix check for uncontended case.
5018         (do_test): Likewise.
5019         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5020         (tf): Fix check for uncontended case.
5021         (do_test): Likewise.
5023         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5024         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5026         [BZ #15765]
5027         * nptl/Makefile (tests): Add tst-sem16.
5028         * nptl/tst-sem16.c: New file.
5029         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5031         * nptl/sem_open.c (sem_open): Init pad value to 0.
5032         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5033         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5035 2016-09-15  Florian Weimer  <fweimer@redhat.com>
5037         [BZ #20611]
5038         * inet/Makefile (routines): Add inet6_scopeid_pton.
5039         (tests): Add tst-inet6_scopeid_pton.
5040         * inet/inet6_scopeid_pton.c: New file.
5041         * inet/net-internal.h: Likewise.
5042         * inet/tst-inet6_scopeid_pton.c: New test.
5043         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5044         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5047 2016-09-14  Florian Weimer  <fweimer@redhat.com>
5049         Remove support for compiling wrappers with PTW.
5050         * sysdeps/nptl/Makeconfig: Drop ptw- support.
5051         * nptl/Makefile (pthread-compat-wrappers): Define.
5052         (libpthread-routines): Use pthread-compat-wrappers.
5053         * sysdeps/unix/sysv/linux/alpha/Makefile
5054         (libpthread-routines, libpthread-shared-only-routines): Remove
5055         ptw- prefix.
5056         * sysdeps/s390/nptl/Makefile
5057         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5058         * sysdeps/ia64/nptl/Makefile
5059         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5060         * sysdeps/nacl/Makefile (libpthread-routines): Use
5061         pthread-compat-wrappers to filter the routines list instead of the
5062         ptw- prefix.
5064 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5066         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5067         with L() and remove explicit suffix, convert real literals
5068         which can be equivalentally substituted with integers, and
5069         transform -L(x) to L(-x).
5071         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5072         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5073         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5074         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5075         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5076         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5077         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5078         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5079         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5080         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5081         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5082         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5083         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5084         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5085         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5086         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5087         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5088         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5089         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5090         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5091         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5092         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5093         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5094         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5095         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5096         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5097         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5098         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5099         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5100         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5101         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5102         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5103         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5104         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5105         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5106         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5107         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5108         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5109         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5110         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5111         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5112         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5113         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5114         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5115         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5116         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5117         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5118         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5119         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5120         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5122 2016-09-13  Florian Weimer  <fweimer@redhat.com>
5124         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5126 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5128         * malloc/Makefile (tests): Remove individual static test names
5129         and just add all of tests-static.
5131         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5133 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5135         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5136         file.
5138         * sysdeps/sparc/fpu/fegetmode.c: New file.
5139         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5141         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5142         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5144         * sysdeps/s390/fpu/fegetmode.c: New file.
5145         * sysdeps/s390/fpu/fesetmode.c: Likewise.
5147         * sysdeps/powerpc/fpu/fegetmode.c: New file.
5148         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5149         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5150         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5151         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5152         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5154         * sysdeps/mips/fpu/fegetmode.c: New file.
5155         * sysdeps/mips/fpu/fesetmode.c: Likewise.
5157         * sysdeps/m68k/fpu/fegetmode.c: New file.
5158         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5160         * sysdeps/ia64/fpu/fegetmode.c: New file.
5161         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5163         * sysdeps/hppa/fpu/fegetmode.c: New file.
5164         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5166         * sysdeps/arm/fegetmode.c: New file.
5167         * sysdeps/arm/fesetmode.c: Likewise.
5169         * sysdeps/alpha/fpu/fegetmode.c: New file.
5170         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5172         * sysdeps/aarch64/fpu/fegetmode.c: New file.
5173         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5175         * math/fegetmode.c: New file.
5176         * math/fesetmode.c: Likewise.
5177         * sysdeps/i386/fpu/fegetmode.c: Likewise.
5178         * sysdeps/i386/fpu/fesetmode.c: Likewise.
5179         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5180         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5181         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5183         declaration.
5184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5185         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5186         typedef.
5187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5188         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5189         (femode_t): New typedef.
5190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5191         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5192         (femode_t): New typedef.
5193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5194         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5195         (femode_t): New typedef.
5196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5197         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5198         (femode_t): New typedef.
5199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5200         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5201         (femode_t): New typedef.
5202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5203         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5204         (femode_t): New typedef.
5205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5206         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5207         (femode_t): New typedef.
5208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5209         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5210         (femode_t): New typedef.
5211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5212         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5213         (femode_t): New typedef.
5214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5215         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5216         (femode_t): New typedef.
5217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5218         declaration.
5219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5220         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5221         (femode_t): New typedef.
5222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5223         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5224         (femode_t): New typedef.
5225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5226         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5227         (femode_t): New typedef.
5228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5229         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5230         (femode_t): New typedef.
5231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5232         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5233         (femode_t): New typedef.
5234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5235         * manual/arith.texi (FE_DFL_MODE): Document macro.
5236         (fegetmode): Document function.
5237         (fesetmode): Likewise.
5238         * math/Versions (fegetmode): New libm symbol at version
5239         GLIBC_2.25.
5240         (fesetmode): Likewise.
5241         * math/Makefile (libm-support): Add fegetmode and fesetmode.
5242         (tests): Add test-femode and test-femode-traps.
5243         * math/test-femode-traps.c: New file.
5244         * math/test-femode.c: Likewise.
5245         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
5246         alias for __fe_dfl_env.
5247         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
5248         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
5249         (__fe_dfl_mode): Likewise.
5250         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
5251         version GLIBC_2.25.
5252         * sysdeps/nacl/libm.abilist: Update.
5253         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5254         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5255         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5256         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5257         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5258         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5259         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5260         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5261         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5262         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5263         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5264         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5266         Likewise.
5267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5268         Likewise.
5269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5270         Likewise.
5271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5272         Likewise.
5273         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5274         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5275         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5276         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5277         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5279         Likewise.
5280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5281         Likewise.
5282         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5283         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5284         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5286 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5288         [BZ #20495]
5289         [BZ #20508]
5290         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
5291         processors, set Use_dl_runtime_resolve_slow and set
5292         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
5293         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
5294         New.
5295         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
5296         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
5297         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
5298         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
5299         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
5300         if Use_dl_runtime_resolve_opt is set.  Use
5301         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
5302         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
5303         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
5304         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
5305         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
5306         New.
5307         (_dl_runtime_resolve_opt): Likewise.
5308         (_dl_runtime_profile): Define only if _dl_runtime_profile is
5309         defined.
5311 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5313         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
5314         __libc_memalign with "+ RELA R_390_GLOB_DAT".
5316 2016-09-06  Florian Weimer  <fweimer@redhat.com>
5318         Convert malloc to __libc_lock.  Automated part, using this Perl
5319         s/// command:
5320           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
5321             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
5322         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
5323         conversion.
5325 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
5327         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
5328         (linknamespace-symlists-tests): Likewise.
5329         (linknamespace-header-tests): Likewise.
5331 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
5333         [BZ #19810]
5334         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
5335         * elf/tst-noload.c: New test case.
5336         * elf/Makefile (tests): Add tst-noload.
5338 2016-09-02  Roland McGrath  <roland@hack.frob.com>
5340         * sysdeps/nacl/dup.c: Add libc_hidden_def.
5342         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
5343         not any more.
5345         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
5347 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5349         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
5350         (do_cos_slow): Likewise.
5351         (do_sin): Likewise.
5352         (do_sin_slow): Likewise.
5353         (slow): Likewise.
5354         (slow1): Likewise.
5355         (slow2): Likewise.
5356         (sloww): Likewise.
5357         (sloww1): Likewise.
5358         (sloww2): Likewise.
5359         (bsloww): Likewise.
5360         (bsloww1): Likewise.
5361         (bsloww2): Likewise.
5362         (cslow2): Likewise.
5364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
5366         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
5367         arguments.  Consolidate input partitioning from callers here.
5368         (do_cos_slow): Likewise.
5369         (do_sin): Likewise.
5370         (do_sin_slow): Likewise.
5371         (do_sincos_1): Remove the no longer necessary input partitioning.
5372         (do_sincos_2): Likewise.
5373         (__sin): Likewise.
5374         (__cos): Likewise.
5375         (slow1): Likewise.
5376         (slow2): Likewise.
5377         (sloww1): Likewise.
5378         (sloww2): Likewise.
5379         (bsloww1): Likewise.
5380         (bsloww2): Likewise.
5381         (cslow2): Likewise.
5383 2016-09-02  Florian Weimer  <fweimer@redhat.com>
5385         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
5386         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
5387         outside of allocated array.
5389 2016-09-02  Florian Weimer  <fweimer@redhat.com>
5391         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
5392         instead of MB_CUR_MAX to avoid variable-length array.
5394 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5396         * math/Makefile (libm-calls): Remove k_rem_pio2F.
5397         (type-double-routines): Add k_rem_pio2.
5398         (type-float-routines): Add k_rem_pio2f.
5400         * sysdeps/generic/math_private.h:
5401         (__kernel_rem_pio2l): Removed.
5403         * math/k_rem_pio2l.c: Removed.
5404         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
5405         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
5406         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
5407         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
5409 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5411         * math/Makefile (gen-libm-calls): Add s_fmin
5412         (libm-calls): Remove above.
5414         * math/s_fmin.c: Refactor into ...
5415         * math/s_fmin_template.c: New file.
5417         * math/s_fminf.c: Removed.
5418         * math/s_fminl.c: Removed.
5419         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5420         (LDOUBLE_fmin_libm_version): New macro.
5422         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
5423         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
5425 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5427         * math/Makefile: (gen-libm-calls): Add s_fmax.
5428         (libm-calls): Remove above.
5430         * math/s_fmax.c: Refactor into ...
5431         * math/s_fmax_template.c: New file.
5432         * math/s_fmaxf.c: Removed.
5433         * math/s_fmaxl.c: Removed.
5435         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5436         (LDOUBLE_fmaxl_libm_version): New macro.
5438         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
5439         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
5441         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
5442         s_fmin.c to pick the aarch64 version of the file.
5443         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
5444         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
5446 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5448         * math/Makefile: (gen-libm-calls): Add s_nextdown.
5449         (libm-calls): Remove above.
5451         * math/s_nextdown.c: Refactor into ...
5452         * math/s_nextdown_template.c: New file.
5453         * math/s_nextdownf.c: Removed.
5454         * math/s_nextdownl.c: Removed.
5456         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
5458 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5460         * math/Makefile (gen-libm-calls): Add s_fdim.
5461         (libm-calls): Move to above.
5463         * math/s_fdim.c: Renamed and refactored into to ...
5464         * math/s_fdim_template.c: New file.
5465         * math/s_fdiml.c: Removed.
5466         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
5467         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
5469         * sysdeps/generic/math-type-macros-double.h:
5470         (declare_mgen_alias): Don't declare if already declared.
5471         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
5472         Likewise.
5474         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5475         (declare_mgen_alias): Don't declare if already declared.
5476         (M_LIBM_NEED_COMPAT): Likewise.
5477         (declare_mgen_libm_compat): Likewise.
5478         (LDOUBLE_fdiml_libm_version): New macro.
5480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5481         Include math/s_fdim.c now that ldbl-opt version is not needed.
5482         (declare_mgen_alias): New macro to disable aliasing.
5484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
5485         (declare_mgen_alias): Likewise.
5486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
5487         (declare_mgen_alias): Likewise.
5488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
5489         (declare_mgen_alias): Likewise.
5490         (M_LIBM_NEED_COMPAT): Likewise.
5492 2016-09-01  Florian Weimer  <fweimer@redhat.com>
5494         [BZ #20525]
5495         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
5496         Include <linux/quota.h>.
5497         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
5498         and btodb.
5499         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
5500         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
5501         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
5502         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
5503         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
5504         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
5505         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
5506         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
5507         types.
5508         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
5509         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
5511 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5513         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
5514         (gammal_positive): Fix spacing.
5515         (__ieee754_gammal_r): Likewise.
5517 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5519         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
5520         (_Float128): Define as long double, always.
5521         (L): Apply long double type suffix, always.
5523         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
5524         _Float128, excepting comments.
5526         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5527         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5528         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5529         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5530         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5531         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5532         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5533         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5534         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5535         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
5536         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5537         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5538         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5539         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5540         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5541         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5542         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5543         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5544         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5545         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5546         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5547         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5548         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5549         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5550         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5551         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5552         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5553         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5554         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5555         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5556         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5557         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5558         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5559         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5560         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5561         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5562         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5563         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5564         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5565         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5566         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5567         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5568         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5569         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5570         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5571         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5572         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5573         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5574         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5575         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5576         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5577         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5578         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5579         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5580         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5581         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5582         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5583         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5584         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5585         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5586         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5587         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5588         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5589         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5590         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5591         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5592         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5593         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5595         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
5596         _Float128, and include math_private.h.
5597         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
5600         long double semantics.
5601         (_Float128): Likewise.
5602         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
5603         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5604         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5605         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5607 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5609         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
5610         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
5611         * sysdeps/s390/configure: Regenerated.
5612         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
5613         instruction for raising over-/underflow if z196 zarch is supported
5614         by default.
5615         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
5617 2016-08-30  Svante Signell  <svante.signell@gmail.com>
5619         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
5620         it point to a dumb buffer for RPC to fill it.
5622 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5624         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
5625         instead of if/else.
5626         (do_sin_slow): Likewise.
5627         (do_sincos_1): Use fabs instead of if/else.
5628         (do_sincos_2): Likewise.
5629         (__sin): Likewise.
5630         (__cos): Likewise.
5631         (slow2): Likewise.
5632         (sloww): Likewise.
5633         (sloww1): Likewise.  Drop argument M.
5634         (sloww2): Use fabs instead of if/else.
5635         (bsloww): Likewise.
5636         (bsloww1): Likewise.
5637         (bsloww2): Likewise.
5639         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
5640         fall through comment.
5641         (do_sincos_1): Likewise.
5643         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
5644         Consolidate switch cases 0 and 2.
5646 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5648         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
5649         (libm-calls): Remove the above.
5651         * math/s_cexp_template.c: Update using type-generic macros.
5652         * math/s_clog10_template.c: Likewise.
5653         * math/s_cpow_template.c: Likewise.
5654         * math/s_clog_template.c: Likewise.
5655         * math/s_cproj_template.c: Likewise.
5656         * math/s_csqrt_template.c: Likewise.
5658         * math/s_cexp.c: Removed.
5659         * math/s_cexpf.c: Removed.
5660         * math/s_cexpl.c: Removed.
5661         * math/s_clog10.c: Removed.
5662         * math/s_clog10f.c: Removed.
5663         * math/s_clog10l.c: Removed.
5664         * math/s_cpow.c: Removed.
5665         * math/s_cpowf.c: Removed.
5666         * math/s_cpowl.c: Removed.
5667         * math/s_clog.c: Removed.
5668         * math/s_clogf.c: Removed.
5669         * math/s_clogl.c: Removed.
5670         * math/s_cproj.c: Removed.
5671         * math/s_cprojf.c: Removed.
5672         * math/s_cprojl.c: Removed.
5673         * math/s_csqrt.c: Removed.
5674         * math/s_csqrtf.c: Removed.
5675         * math/s_csqrtl.c: Removed.
5677         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
5678         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
5679         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
5680         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
5681         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
5682         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
5684         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
5685         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
5686         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
5687         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
5688         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
5689         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
5690         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
5691         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
5692         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
5693         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
5694         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
5696         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
5697         version.
5699         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
5700         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
5701         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
5702         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
5704 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5706         * s_cexp_template.c: Copy of s_cexp.c.
5707         * s_clog_template.c: Copy of s_clog.c.
5708         * s_clog10_template.c: Copy of s_clog10.c.
5709         * s_cpow_template.c: Copy of s_cpow.c.
5710         * s_cproj_template.c: Copy of s_cproj.c.
5711         * s_csqrt_template.c: Copy of s_csqrt.c.
5713 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5715         [BZ #20517]
5716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5717         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
5718         exported.
5720 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
5722         * math/fetestexceptflag.c: New file.
5723         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
5724         Stefan Liebler.
5725         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5726         (fetestexceptflag): New function declaration.
5727         * manual/arith.texi (fetestexceptflag): Document function.
5728         * math/Versions (fetestexceptflag): New libm symbol at version
5729         GLIBC_2.25.
5730         * math/Makefile (libm-support): Add fetestexceptflag.
5731         (tests): Add test-fetestexceptflag.
5732         * math/test-fetestexceptflag.c: New file.
5733         * sysdeps/nacl/libm.abilist: Update.
5734         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5735         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5736         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5737         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5738         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5739         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5740         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5741         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5742         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5743         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5744         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5745         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5747         Likewise.
5748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5749         Likewise.
5750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5751         Likewise.
5752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5753         Likewise.
5754         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5755         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5756         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5757         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5758         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5760         Likewise.
5761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5762         Likewise.
5763         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5764         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5765         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5767 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5769         [BZ #20432]
5770         Avoid strong references to malloc-internal symbols when linking
5771         statically, to support statically interposed mallocs.
5772         * include/libc-symbols.h (call_function_static_weak): New macro.
5773         * malloc/Makefile (tests): Add tst-interpose-nothread,
5774         tst-interpose-thread, tst-interpose-static-nothread,
5775         tst-interpose-static-thread.
5776         (tests-static): Add tst-interpose-static-nothread,
5777         tst-interpose-static-thread.
5778         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
5779         tst-interpose-aux-thread.o.
5780         (test-extras): Add tst-interpose-aux-nothread,
5781         tst-interpose-aux-thread.
5782         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
5783         tst-interpose-aux-nothread.o.
5784         (tst-interpose-thread, tst-interpose-static-thread): Link with
5785         tst-interpose-aux-thread.o and libthread.
5786         * malloc/tst-interpose-aux-nothread.c: New file.
5787         * malloc/tst-interpose-aux-thread.c: Likewise.
5788         * malloc/tst-interpose-aux.c: Likewise.
5789         * malloc/tst-interpose-aux.h: Likewise.
5790         * malloc/tst-interpose-nothread.c: Likewise.
5791         * malloc/tst-interpose-skeleton.c: Likewise.
5792         * malloc/tst-interpose-static-nothread.c: Likewise.
5793         * malloc/tst-interpose-static-thread.c: Likewise.
5794         * malloc/tst-interpose-thread.c: Likewise.
5795         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
5796         * sysdeps/mach/hurd/fork.c (__fork): Only call
5797         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5798         __malloc_fork_unlock_child if defined.
5799         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5801 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5803         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
5804         timespec C99 designated initialization.
5806 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5808         [BZ #19946]
5809         Avoid expected SIGALRM signals.
5810         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
5811         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
5812         (xpthread_create, xpthread_detach, xpthread_join)
5813         (delayed_exit_thread, delayed_exit): New functions.
5814         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
5815         (tf): Use xpthread_cond_wait.
5816         (do_test): Likewise.  Replace alarm with delayed_exit.
5817         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5818         (do_test): Call delayed_exit.  Report failure.
5819         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5820         (do_test): Call delayed_exit.
5821         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5822         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
5823         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5824         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
5825         error.
5826         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5827         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
5828         error.
5829         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
5830         (do_test): Call delayed_exit.
5831         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
5832         (do_test): Call delayed_exit.
5833         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
5834         (do_test): Call delayed_exit instead of alarm.  Use
5835         xpthread_mutex_lock.
5836         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
5837         (do_test): Call delayed_exit instead of alarm.  Use
5838         xpthread_mutex_lock.
5839         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
5840         (do_test): Call delayed_exit instead of alarm.
5841         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
5842         (do_test): Call delayed_exit instead of alarm.  Use
5843         xpthread_spin_lock.
5844         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
5845         (do_test): Call delayed_exit instead of alarm.  Use
5846         xpthread_join.
5848 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5850         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
5851         adjust CFA when allocating register save area on re-aligned
5852         stack.
5854 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5856         * string/tst-cmp.c: New test.
5857         * string/Makefile (tests): Add it.
5859 2016-08-25  Mark Wielaard  <mark@klomp.org>
5861         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
5862         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
5863         (check_tree_recurse): Use newly defined accessors.
5864         (check_tree): Likewise.
5865         (maybe_split_for_insert): Likewise.
5866         (__tfind): Likewise.
5867         (__tdelete): Likewise.
5868         (trecurse): Likewise.
5869         (tdestroy_recurse): Likewise.
5870         (__tsearch): Likewise. And add asserts for malloc alignment.
5871         (__twalk): Cast root to node in case CHECK_TREE is defined.
5873 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5875         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
5877 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5879         * math/Makefile (libm-gen-calls): Add
5880         catan, catanh, ctan, ctanh.
5881         (libm-calls): Remove the above.
5883         * math/s_catan_template.c: Update using type-generic macros.
5884         * math/s_catanh_template.c: Likewise.
5885         * math/s_ctan_template.c: Likewise.
5886         * math/s_ctanh_template.c: Likewise.
5888         * math/s_catanf.c: Removed.
5889         * math/s_catan.c: Removed.
5890         * math/s_catanl.c: Removed.
5891         * math/s_catanhf.c: Removed.
5892         * math/s_catanh.c: Removed.
5893         * math/s_catanhl.c: Removed.
5894         * math/s_ctanf.c: Removed.
5895         * math/s_ctan.c: Removed.
5896         * math/s_ctanl.c: Removed.
5897         * math/s_ctanhf.c: Removed.
5898         * math/s_ctanh.c: Removed.
5899         * math/s_ctanhl.c: Removed.
5901         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
5902         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
5903         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
5904         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
5905         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
5906         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
5908         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
5909         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
5910         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
5911         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
5913 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5915         * s_catan_template.c: Copy of s_catan.c.
5916         * s_catanh_template.c: Copy of s_catanh.c.
5917         * s_ctan_template.c: Copy of s_ctan.c.
5918         * s_ctanh_template.c: Copy of s_ctanh.c.
5920 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5922         * math/Makefile (gen-libm-calls): Move
5923         casin, casinh, csin, csinh here.
5924         (libm-calls): Remove the above.
5926         * math/s_casin_template.c: Update using type-generic macros.
5927         * math/s_casinh_template.c: Likewise.
5928         * math/s_csin_template.c: Likewise.
5929         * math/s_csinh_template.c: Likewise.
5930         * math/k_casinh_template.c: Likewise.
5932         * math/s_casinf.c: Removed.
5933         * math/s_casin.c: Removed.
5934         * math/s_casinl.c: Removed.
5935         * math/s_casinh.c: Removed.
5936         * math/s_casinhf.c: Removed.
5937         * math/s_casinhl.c: Removed.
5938         * math/s_csin.c: Removed.
5939         * math/s_csinf.c: Removed.
5940         * math/s_csinl.c: Removed.
5941         * math/s_csinh.c: Removed.
5942         * math/s_csinhf.c: Removed.
5943         * math/s_csinhl.c: Removed.
5944         * math/k_casinh.c: Removed.
5945         * math/k_casinhf.c: Removed.
5946         * math/k_casinhl.c: Removed.
5948         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5949         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5950         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5951         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5953         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5954         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5955         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5956         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5957         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5958         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5959         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5960         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5962         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5963         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5964         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5965         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5967         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5968         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5969         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5970         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5972 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5974         * s_casin_template.c: Copy of s_casin.c.
5975         * s_casinh_template.c: Copy of s_casinh.c.
5976         * s_csin_template.c: Copy of s_csin.c.
5977         * s_csinh_template.c: Copy of s_csinh.c.
5978         * k_casinh_template.c: Copy of k_casinh.c.
5980 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5982         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5984 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5986         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5987         (mul_split) Remove, rename as mul_splitl, remove
5988         redundant float.h include, and include via mul_splitl.h
5990         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5991         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5992         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5993         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5994         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5996         * math/mul_splitl.h: New file.
5998         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5999         Move into mul_split.h, and remove redundant float.h include.
6001         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6002         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6003         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6004         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6006         * math/mul_split.h: New file.
6008 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6010         * math/Makefile (libm-gen-calls): Move
6011         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6012         (libm-calls): Remove above.
6014         * math/s_cacos_template.c: Update using type-generic macros.
6015         * math/s_cacosh_template.c: Likewise.
6016         * math/s_ccos_template.c: Likewise.
6017         * math/s_ccosh_template.c: Likewise.
6019         * math/s_cacosf.c: Removed.
6020         * math/s_cacos.c: Removed.
6021         * math/s_cacosl.c: Removed.
6022         * math/s_cacoshf.c: Removed.
6023         * math/s_cacosh.c: Removed.
6024         * math/s_cacoshl.c: Removed.
6025         * math/s_ccosf.c: Removed.
6026         * math/s_ccos.c: Removed.
6027         * math/s_ccosl.c: Removed.
6028         * math/s_ccoshf.c: Removed.
6029         * math/s_ccosh.c: Removed.
6030         * math/s_ccoshl.c: Removed.
6032         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6033         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6034         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6035         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6036         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6037         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6039         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6040         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6041         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6042         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6044         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6045         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6046         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6047         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6049 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6051         * s_cacos_template.c: Copy of s_cacos.c.
6052         * s_cacosh_template.c: Copy of s_cacosh.c.
6053         * s_ccos_template.c: Copy of s_ccos.c.
6054         * s_ccosh_template.c: Copy of s_ccosh.c.
6056 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6058         * stdlib/tst-strtod-round-skeleton.c:
6059         Refactored from tst-strtod-round.c.
6061         (L_): New macro to apply literal modifier.
6062         (FNPFX): New macro to select str or wcs prefix.
6063         (CHAR): New macro to choose wchar_t or char.
6064         (STRM): New macro to choose printf for tested character type.
6066         (STRTO): New macro to choose appropriate string -> real function.
6067         (FNPFXS): Stringitized version of FNPFX.
6068         (STR): Support for above macro.
6069         (STRX): Likewise.
6071         (TEST): Update with above macros.
6072         (test): Likewise.
6073         (GEN_ONE_TEST): Likewise.
6074         (test_in_one_mode): Likewise.
6076         * stdlib/tst-strtod-round.c: New file.
6077         * wcsmbs/tst-wcstod-round.c: New file.
6079         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6080         (tst-wcstod-round): Add libm depencency for fesetround.
6082 2016-08-19  Zack Weinberg  <zackw@panix.com>
6084         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6086 2016-08-18  Torvald Riegel  <triegel@redhat.com>
6088         [BZ #20477]
6089         * resolv/res_hconf.c (do_init): Use atomic access.
6090         * resolv/res_hconf.h: Add comments.
6091         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6092         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6095 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6097         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6098         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6099         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6100         Likewise.
6102 2016-08-18  Florian Weimer  <fweimer@redhat.com>
6104         [BZ #16907]
6105         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6106         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6107         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6108         (__attribute__): Remove definition.
6110 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6112         * sysdeps/ieee754/ldbl-128/e_asinl.c:
6113         Remove unused sqrtl declaration.
6115 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6117         * math/Makefile: (gen-libm-templates.stmp): New rule.
6118         (libm-calls): Move carg conj cimag and cabs into ...
6119         (gen-libm-calls): New variable.
6120         (generated): Inform Make objects from gen-libm-calls
6121         may be generated.
6123         * sysdeps/generic/math-type-macros.h: New file.
6124         * sysdeps/generic/math-type-macros-float.h: Likewise.
6125         * sysdeps/generic/math-type-macros-double.h: Likewise.
6126         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6127         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6128         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6130         * math/cabs.c: Refactor into
6131         * math/cabs_template.c: new file.
6132         * math/cabsf.c: Removed.
6133         * math/cabsl.c: Removed.
6134         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6135         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6137         * math/carg.c: Refactor into
6138         * math/carg_template.c: new file.
6139         * math/cargf.c: Removed.
6140         * math/cargl.c: Removed.
6141         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6142         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6144         * math/conj.c: Refactor into
6145         * math/conj_template.c: new file.
6146         * math/conjf.c: Removed.
6147         * math/conjl.c: Removed.
6148         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6149         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6151         * math/cimag.c: Refactor into
6152         * math/cimag_template.c: new file.
6153         * math/cimagf.c: Removed.
6154         * math/cimagl.c: Removed.
6155         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6156         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6158         * math/cimag.c: Refactor into
6159         * math/cimag_template.c: new file.
6160         * math/cimagf.c: Removed.
6161         * math/cimagl.c: Removed.
6162         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6163         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6165 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6167         Reduce time to expected nptl/tst-once5 failure.
6168         * nptl/tst-once5.cc (TIMEOUT): Define.
6170 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6172         [BZ #20452]
6173         Avoid additional copies of objects in libc.a in static libraries.
6174         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6175         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6176         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6177         rt-sysdep.
6178         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6179         Add nptl-sysdep.
6180         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6181         Add ptw-sysdep.
6182         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6183         rt-sysdep.
6184         * sysdeps/unix/sysv/linux/alpha/Makefile
6185         (libpthread-shared-only-routines): Add ptw-sysdep,
6186         ptw-sigprocmask, ptw-rt_sigaction.
6187         * sysdeps/unix/sysv/linux/ia64/Makefile
6188         (librt-shared-only-routines): Add rt-sysdep.
6189         * sysdeps/unix/sysv/linux/i386/Makefile
6190         (libpthread-shared-only-routines): Add libc-do-syscall.
6191         * sysdeps/unix/sysv/linux/microblaze/Makefile
6192         (libpthread-shared-only-routines): Add sysdep.
6193         * sysdeps/unix/sysv/linux/powerpc/Makefile
6194         (librt-shared-only-routines): Add rt-sysdep.
6195         (libpthread-shared-only-routines): Add sysdep.
6196         * sysdeps/unix/sysv/linux/s390/Makefile
6197         (librt-shared-only-routines): Add rt-sysdep.
6198         * sysdeps/unix/sysv/linux/sparc/Makefile
6199         (librt-shared-only-routines): Add rt-sysdep.
6200         (libpthread-shared-only-routines): Add sysdep.
6201         * sysdeps/unix/sysv/linux/tile/Makefile
6202         (libpthread-shared-only-routines): Likewise.
6204 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
6206         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6207         Mask implicit bit out of unpacked value.
6208         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6212         * sysdeps/sparc/fpu/fesetexcept.c: New file.
6214         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6216         * sysdeps/s390/fpu/fesetexcept.c: New file.
6218         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6219         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6220         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6222         * sysdeps/mips/fpu/fesetexcept.c: New file.
6224         * sysdeps/m68k/fpu/fesetexcept.c: New file.
6226         * sysdeps/ia64/fpu/fesetexcept.c: New file.
6228         * sysdeps/hppa/fpu/fesetexcept.c: New file.
6230         * sysdeps/arm/fesetexcept.c: New file.
6232         * sysdeps/alpha/fpu/fesetexcept.c: New file.
6234         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
6236         * math/fesetexcept.c: New file.
6237         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
6238         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
6239         * math/fenv.h: Define
6240         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6241         <bits/libc-header-start.h> instead of including <features.h>.
6242         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
6243         declaration.
6244         * manual/arith.texi (fesetexcept): Document function.
6245         * math/Versions (fesetexcept): New libm symbol at version
6246         GLIBC_2.25.
6247         * math/Makefile (libm-support): Add fesetexcept.
6248         (tests): Add test-fesetexcept and test-fesetexcept-traps.
6249         * math/test-fesetexcept.c: New file.
6250         * math/test-fesetexcept-traps.c: Likewise.
6251         * sysdeps/nacl/libm.abilist: Update.
6252         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6253         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6254         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6255         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6256         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6257         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6258         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6259         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6260         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6261         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6262         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6263         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6265         Likewise.
6266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6267         Likewise.
6268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6269         Likewise.
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6271         Likewise.
6272         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6273         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6274         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6275         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6276         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6278         Likewise.
6279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6280         Likewise.
6281         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6282         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6283         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6285 2016-08-16  Florian Weimer  <fweimer@redhat.com>
6287         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
6288         New.
6289         (do_test): Apply default_stack_size_in_mb if not set.
6290         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
6292 2016-08-15  Andreas Schwab  <schwab@suse.de>
6294         [BZ #20435]
6295         CVE-2016-6323
6296         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
6297         as .cantunwind.
6299 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
6301         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
6302         comment from fraiseexcpt.c.
6304         * math/test-fexcept.c (feraiseexcept_exact): New function.
6305         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
6306         (test_except): Likewise.
6308 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
6310         [BZ #20455]
6311         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
6312         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
6313         to be restored.
6315         * math/test-fexcept-traps.c: New file.
6316         * math/test-fexcept.c: Likewise.
6317         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
6318         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
6319         macro.
6320         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
6321         (EXCEPTION_SET_FORCES_TRAP): Likewise.
6323 2016-08-09  Torvald Riegel  <triegel@redhat.com>
6325         * include/atomic.h (atomic_fetch_and_relaxed,
6326         atomic_fetch_and_release, atomic_fetch_or_release,
6327         atomic_fetch_xor_release): New.
6329 2016-08-06  Christian Seiler  <christian@iwakd.de>
6331         [BZ #20444]
6332         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
6333         MACH_PORT_NULL.
6335 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
6337         * math/s_fdim.c: Avoid alias renamed.
6338         * math/s_fdimf.c: Likewise.
6339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6340         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6341         Add s_fdimf-vis3, s_fdim-vis3.
6342         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6343         (CFLAGS-s_fdim-vis3.c): Likewise.
6344         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
6345         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
6347 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
6349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6350         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6351         Remove s_fdimf-vis3, s_fdim-vis3.
6352         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
6353         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
6354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
6355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
6356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
6357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
6358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
6359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
6360         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
6361         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
6363 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
6365         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
6366         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
6367         -Wa,-Av9a -mvis.
6369 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6371         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
6372         LIT() to individual constants in simple expressions
6373         after splitting on spaces.
6374         (_apply_lit): Rename replaced version, and use it to
6375         apply to what appears to be a token.
6377         * math/libm-test.inc: Fix many, many issues with
6378         spacing.
6380 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
6382         * math/math.h: Move comment about <bits/mathdef.h> definitions
6383         above inclusion of <bits/mathdef.h>.  Do not mention
6384         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
6386 2016-08-05  Torvald Riegel  <triegel@redhat.com>
6388         * include/atomic.h (atomic_exchange_relaxed): New.
6390 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
6392         * math/e_scalb.c: Do not include <fenv.h>.
6393         (invalid_fn): Do calculation resulting in NaN instead of raising
6394         FE_INVALID and returning a NaN explicitly.
6395         * math/e_scalbf.c: Do not include <fenv.h>.
6396         (invalid_fn): Do calculation resulting in NaN instead of raising
6397         FE_INVALID and returning a NaN explicitly.
6398         * math/e_scalbl.c: Do not include <fenv.h>.
6399         (invalid_fn): Do calculation resulting in NaN instead of raising
6400         FE_INVALID and returning a NaN explicitly.
6402 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
6404         * po/de.po: Updated from Translation Project.
6405         * po/fi.po: Likewise.
6406         * po/sv.po: Likewise.
6408 2016-08-04  Florian Weimer  <fweimer@redhat.com>
6410         [BZ #20452]
6411         Use sysdep.o from libc.a in static libraries.
6412         * sysdeps/unix/sysv/linux/i386/Makefile
6413         (libpthread-shared-only-routines): Add sysdep.
6414         (librt-shared-only-routines): Likewise.
6416 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6418         * math/tgmath.h (nextdown): Define if
6419         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
6420         (nextup): Likewise.
6422         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
6423         macro.
6424         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
6425         Document.
6426         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
6427         Document macro.
6428         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
6429         (exp10f): Likewise.
6430         (exp10l): Likewise.
6431         * math/bits/mathcalls.h (exp10): Declare if
6432         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
6434         * manual/arith.texi (nextup): Fix typo in last change.
6436 2016-08-03  Zack Weinberg  <zackw@panix.com>
6438         [BZ #19239]
6439         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
6440         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
6441         define major, minor, and makedev to issue deprecation warnings on use.
6442         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
6443         previously-activated deprecation warnings for these macros and prevent
6444         subsequent inclusions of this header from having any effect.
6445         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
6446         including <sys/sysmacros.h>, and undefine it again afterward.
6448 2016-08-03  Zack Weinberg  <zackw@panix.com>
6450         * sysdeps/generic/sys/sysmacros.h: Delete file.
6451         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
6452         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
6453         * bits/sysmacros.h: ... here; this encoding is now the generic
6454         encoding.  Now defines only the following macros:
6455         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
6456         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
6457         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
6459         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
6460         bits/sysmacros.h and the above new macros to generate the
6461         public implementations of major, minor, and makedev.
6462         * misc/tst-makedev.c: New test.
6463         * include/sys/sysmacros.h: New wrapper.
6465         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
6466         (routines): Add makedev.
6467         (tests): Add tst-makedev.
6468         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
6469         gnu_dev_makedev.
6470         * posix/Makefile (headers): Remove sys/sysmacros.h.
6471         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
6473         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
6474         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
6475         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6476         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6477         * sysdeps/unix/sysv/linux/arm/libc.abilist
6478         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6479         * sysdeps/unix/sysv/linux/i386/libc.abilist
6480         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6481         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6482         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6483         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6484         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6485         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6486         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6487         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6488         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6493         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6494         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6495         * sysdeps/unix/sysv/linux/sh/libc.abilist
6496         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6497         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6500         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6501         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6502         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6503         Add GLIBC_2.25.
6505         * include/features.h (__glibc_clang_prereq): New macro.
6506         * misc/sys/cdefs.h (__glibc_clang_has_extension)
6507         (__attribute_deprecated_msg__): New macros.
6509 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6511         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
6512         macro.
6513         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
6514         * manual/arith.texi (issignaling): Document as ISO from TS
6515         18661-1:2014.
6516         (nextup): Likewise.
6517         (nextupf): Likewise.
6518         (nextupl): Likewise.
6519         (nextdown): Likewise.
6520         (nextdownf): Likewise.
6521         (nextdownl): Likewise.
6522         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
6523         macro.
6524         * math/math.h: Define
6525         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6526         <bits/libc-header-start.h> instead of including <features.h>.
6527         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
6528         [__USE_GNU].
6529         * math/bits/mathcalls.h (nextdown): Declare if
6530         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
6531         (nextup): Likewise.
6532         (__issignaling): Likewise.
6534 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6536         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
6537         check, and remove __glibc_likely hint
6538         from FP_INFINITE check.
6539         * s_csinhf.c (__csinhf): Likewise.
6541         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
6542         hint from FP_INFINITE check.
6543         * s_csinhl.c (__csinhl): Likewise.
6545 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6547         * math/Makefile (libm-calls): Insert F placeholder into
6548         object names.  Move w_lgamma_compat* routines into
6549         (libm-compat-calls): New variable.
6550         (libm-compat-calls-ldouble-yes): New variable.
6551         (calls): Insert F placeholder.
6552         (generated): Redefine using new type-foreach macro call.
6553         (routines): Likewise.
6555         (types): New variable to hold a list of symbolic names
6556         for each type supported by the target machine.
6557         (libm-routines): Redefine using new types variable.
6558         (type-foreach): macro to replace fooF with the
6559         appropriately suffixed foo for each types.
6561         (type-ldouble-suffix): New variable.
6562         (type-ldouble-routines): Likewise.
6563         (type-ldouble-yes): Likewise.
6564         (type-double-suffix): Likewise.
6565         (type-double-routines): Likewise.
6566         (type-float-suffix): Likewise.
6567         (type-float-routines): Likewise.
6569         (dbl-only-routines): Remove.
6570         (long-c-yes): Likewise.
6571         (long-m-routines): Likewise.
6572         (long-m-support): Likewise.
6573         (long-m-yes): Likewise.
6574         (test-longdouble-yes): Likewise.
6576         (test-float.o): Simplify by increasing the scope of the
6577         recipe which adds libm-test.stmp to the vector types.
6578         (test-ifloat.o): Likewise.
6579         (test-float-finite.o): Likewise.
6580         (test-double.o): Likewise
6581         (test-idouble.o): Likewise.
6582         (test-double-finite.o): Likewise.
6583         (test-ldouble.o): Likewise
6584         (test-ildoubl.o): Likewise.
6585         (test-ldouble-finite.o): Likewise.
6587         (libm-tests): Redefine type tests using foreach and the
6588         list of types in types.
6590         (CPPFLAGS-test-ildoubl.c): Rename to
6591         (CPPFLAGS-test-ildouble.c): New variable
6593         * math/test-ildoubl.c: Rename to
6594         * math/test-ildouble.c: New file.
6596 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6598         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
6599         Use fabsl instead of fabs.
6600         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
6601         Likewise.
6602         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
6603         Add long double suffix to constant to ensure proper
6604         promotion to long double.
6606 2016-08-03  Tom Tromey  <tom@tromey.com>
6608         [BZ #20311]
6609         * nptl_db/Makefile (headers): Add proc_service.h.
6610         * nptl_db/proc_service.h: Add include guard.  Use
6611         __BEGIN/__END_DECLS.
6612         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
6613         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
6614         arguments.
6617 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6619         [BZ #17730]
6620         Avoid using memalign for TCB allocations.
6621         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
6622         (_dl_allocate_tls_storage): Use malloc and manual alignment.
6623         Avoid alignment gap in the TLS_DTV_AT_TP case.
6624         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
6625         determine the pointer to free.
6626         * nptl/tst-tls3-malloc.c: New test.
6627         * nptl/Makefile (tests): Add it.
6628         (tst-tls3-malloc): Link with libdl, libpthread.
6629         (LDFLAGS-tst-tls3-malloc): Set.
6630         (tst-tls3-malloc.out): Depend on DSO used in test.
6632 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6634         [BZ #17730]
6635         Avoid using memalign for TLS allocations.
6636         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
6637         is_static member with to_free member.
6638         (union dtv): Use struct dtv_pointer.
6639         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
6640         dtv_pointer instead of is_static.
6641         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
6642         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
6643         instead of val.
6644         (allocate_dtv_entry): New function.
6645         (allocate_and_init): Return struct dtv_pointer.  Call
6646         allocate_dtv_entry instead of __libc_memalign.
6647         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
6648         instead of val.
6649         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
6650         instead of is_static.  Adjust call to allocate_and_init.
6651         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
6652         struct dtv_pointer instead of val.
6654 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6656         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
6657         (MALLOC_ALIGN_MASK): Move ...
6658         * malloc/malloc-internal.h: ... to here.
6659         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
6661 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6663         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
6664         (UDP_ENCAP_GTP1U): Likewise.
6666         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
6667         (PF_MAX): Update value.
6668         (AF_QIPCRTR): New macro.
6670 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
6672         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
6673         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6674         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6675         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6676         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6677         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6678         s_truncf-vis3, s_trunc-vis3.
6679         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6680         (CFLAGS-s_ceil-vis3.c): Likewise.
6681         (CFLAGS-s_floorf-vis3.c): Likewise.
6682         (CFLAGS-s_floor-vis3.c): Likewise.
6683         (CFLAGS-s_truncf-vis3.c): Likewise.
6684         (CFLAGS-s_trunc-vis3.c): Likewise.
6685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
6686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
6688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
6690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
6692         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6693         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
6694         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6695         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
6696         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6698 2016-08-02  David S. Miller  <davem@davemloft.net>
6700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6701         (__nearbyint_vis3): Don't check for sNaN before float register is
6702         loaded with the incoming argument.
6703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6704         (__nearbyintf_vis3): Likewise.
6705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
6706         Likewise.
6707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
6708         Likewise.
6710         * string/test-strncmp.c (do_test_limit): Make sure the test data
6711         stream is aligned as required for the type "CHAR".
6712         (do_test): Likewise.
6714 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
6716         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
6717         by beq instructions jumping to the end of the function.
6718         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
6719         clobber list. Use "i" constraint instead of "X".
6720         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
6721         of "X".
6723 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
6725         * bits/libc-header-start.h: New file.
6726         * Makefile (headers): Add bits/libc-header-start.h.
6727         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
6728         (__GLIBC_USE): New macro.
6729         * libio/stdio.h: Define
6730         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6731         <bits/libc-header-start.h> instead of including <features.h>.
6732         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
6733         (open_memstream): Likewise.
6734         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
6735         (__asprintf): Likewise.
6736         (asprintf): Likewise.
6737         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
6738         (getdelim): Likewise.
6739         (getline): Likewise.
6740         * string/string.h: Define
6741         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6742         <bits/libc-header-start.h> instead of including <features.h>.
6743         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
6744         (strndup): Likewise.
6745         * wcsmbs/wchar.h: Define
6746         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6747         <bits/libc-header-start.h> instead of including <features.h>.
6748         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
6749         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
6751 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6753         Support linking against compatibility symbols, for use in tests.
6754         * include/libc-symbols.h (symbol_version_reference): New macro.
6755         (symbol_version): Use it.
6756         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
6757         (compat_symbol): Use compat_symbol_reference.
6758         (compat_symbol_1, compat_symbol_2): Remove.
6759         (compat_symbol_reference, compat_symbol_reference_1)
6760         (compat_symbol_reference_2): New macro.  Use
6761         symbol_version_reference.
6763 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6765         [BZ #19469]
6766         * malloc/Makefile (CPPFLAGS): Compile tests with
6767         -DTEST_NO_MALLOPT.
6768         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
6770 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
6772         [BZ #20033]
6773         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
6774         finite version.
6775         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
6776         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
6777         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
6778         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
6779         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
6780         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
6781         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
6782         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
6783         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
6784         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
6785         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
6786         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
6787         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
6788         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
6789         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
6790         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
6791         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
6792         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
6793         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
6794         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
6795         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
6796         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
6797         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
6798         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
6799         in zero power.
6801 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6803         [BZ #20370]
6804         * malloc/arena.c (get_free_list): Update comment.  Assert that
6805         arenas on the free list have no attached threads.
6806         (remove_from_free_list): New function.
6807         (reused_arena): Call it.
6809 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
6811         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
6812         when it is a NaN.
6813         [_IEEE_FP_INEXACT] Remove.
6814         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
6815         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
6816         when it is a NaN.
6817         [_IEEE_FP_INEXACT] Remove.
6818         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
6819         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
6820         when it is a NaN.
6821         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
6822         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
6823         when its absolute value is greater than 0x1.0p52.
6824         [_IEEE_FP_INEXACT] Remove.
6825         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
6826         when its absolute value is greater than 0x1.0p23.
6827         [_IEEE_FP_INEXACT] Remove.
6829 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
6831         * version.h (RELEASE): Set to "development"
6832         (VERSION): Set to 2.24.90.
6833         * NEWS: Add 2.25 section.
6835         * version.h (RELEASE): Set to "stable"
6836         (VERSION): Set to 2.24.
6837         * include/features.h (__GLIBC_MINOR__): Set to 24.
6839         * NEWS: Add 2.24 fixed bugs.
6840         * po/libc.pot: Regenerate.
6842 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
6844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6845         [$(subdir) = math] (libm-sysdep_routines): Remove.
6846         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6847         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6848         s_truncf-vis3, s_trunc-vis3.
6849         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
6851         file.
6852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
6853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
6854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
6858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
6859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
6861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
6862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
6863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
6864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
6865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
6866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
6867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
6871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
6872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
6873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
6874         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6875         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6876         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6877         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
6880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
6883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6885         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
6886         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
6887         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
6888         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
6889         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6890         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6891         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
6892         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
6893         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
6894         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
6896 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
6898         [BZ #20384]
6899         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
6900         test-double-libmvec-sincos-avx-main.o,
6901         test-double-libmvec-sincos-avx2-main.o,
6902         test-double-libmvec-sincos-main.o,
6903         test-float-libmvec-sincosf-avx-main.o,
6904         test-float-libmvec-sincosf-avx2-main.o and
6905         test-float-libmvec-sincosf-main.o.
6906         test-float-libmvec-sincosf-avx512-main.o.
6907         ($(objpfx)test-double-libmvec-sincos): Also link with
6908         $(objpfx)test-double-libmvec-sincos-main.o.
6909         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
6910         $(objpfx)test-double-libmvec-sincos-avx-main.o.
6911         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
6912         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
6913         ($(objpfx)test-float-libmvec-sincosf): Also link with
6914         $(objpfx)test-float-libmvec-sincosf-main.o.
6915         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
6916         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
6917         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
6918         test-double-libmvec-sincos-avx512-main.o and
6919         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
6920         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
6921         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
6922         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
6923         (CFLAGS-test-double-libmvec-sincos.c): Removed.
6924         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
6925         (CFLAGS-test-double-libmvec-sincos-main.c): New.
6926         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
6927         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
6928         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
6929         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
6930         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
6931         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
6932         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
6933         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
6934         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
6935         -DREQUIRE_AVX2.
6936         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
6937         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
6938         -DREQUIRE_AVX512F.
6939         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
6940         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
6941         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6942         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6943         file.
6944         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6945         Likewise.
6946         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6947         Likewise.
6948         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6949         Likewise.
6950         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6951         Likewise.
6952         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6953         Likewise.
6954         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6955         Likewise.
6956         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6957         Likewise.
6959 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6961         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6963 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6965         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6966         and typo in a comment about AT_HWCAP entry.
6968 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6970         * sysdeps/aarch64/libm-test-ulps: Updated.
6972 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6974         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6975         of r13 as it is not restored in mvcle case.
6977 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6979         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6980         Rename "ret" to "__ret".
6981         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6982         inline_syscall5, inline_syscall6): Likewise.
6984 2016-07-19   Will Newton  <will.newton@gmail.com>
6986         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6987         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6988         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6989         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6990         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6992 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6994         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6995         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6996         -mfpmath=387 with $(rtld-CFLAGS).
6997         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6998         $(rtld-CFLAGS).
7000 2016-07-18   Ross Burton  <ross.burton@intel.com>
7001              Khem Raj  <raj.khem@gmail.com>
7003         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7004         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7005         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7006         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7007         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7008         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7009         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7010         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7011         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7012         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7013         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7014         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7015         R_METAG_TLS_DTPOFF): New.
7017 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7018             Matt Clay  <mclay@lycos.com>
7020         [BZ #20357]
7021         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7022         to call __mpsin/__mpcos and to negate values.
7023         * math/auto-libm-test-in: Add test.
7024         * math/auto-libm-test-out: Regenerate.
7026 2016-07-18  Zack Weinberg  <zackw@panix.com>
7028         * grp/Makefile: Don't install the internal header grp-merge.h.
7030 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7032         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7034 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7036         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7038 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7040         [BZ #15368]
7041         * sysdeps/unix/sysv/linux/nptl-signals.h
7042         (__nptl_clear_internal_signals): New function.
7043         (__libc_signal_block_all): Likewise.
7044         (__libc_signal_block_app): Likewise.
7045         (__libc_signal_restore_set): Likewise.
7046         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7047         implementation.
7048         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7049         the cached pid/tid value in pthread structure.
7051 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
7053         [BZ #20347]
7054         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7056 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7058         [BZ #20348]
7059         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7060         preadv64, pwrite64 and pwritev64.
7062 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7064         [BZ #20350]
7065         * posix/tst-preadwrite.c: Renamed to ...
7066         * posix/tst-preadwrite-common.c: This.
7067         (PREAD): Removed.
7068         (PWRITE): Likewise.
7069         (STRINGIFY): Likewise.
7070         (STRINGIFY2): Likewise.
7071         (do_prepare): Make it static and remove function arguments.
7072         (do_test): Likewise.
7073         (PREPARE): Updated.
7074         (TEST_FUNCTION): New.
7075         (name): Make it static.
7076         (fd): Likewise.
7077         (do_prepare): Use create_temp_file.
7078         (do_test): Renamed to ...
7079         (do_test_with_offset): This.  Make it static and accept offset.
7080         Properly check return value of PWRITE and PREAD.  Return bytes
7081         read.  Don't close fd nor unlink name.
7082         * posix/tst-preadwrite.c: Rewrite.
7083         * posix/tst-preadwrite64.c: Likewise.
7085 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7087         [BZ #20309]
7088         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7089         -mtls-dialect=gnu2 works.
7090         * configure: Regenerated.
7091         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7092         (tests): Add tst-gnu2-tls1.
7093         (modules-names): Add tst-gnu2-tls1mod.
7094         ($(objpfx)tst-gnu2-tls1): New.
7095         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7096         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7097         * elf/tst-gnu2-tls1.c: New file.
7098         * elf/tst-gnu2-tls1mod.c: Likewise.
7099         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7100         bytes for push in the PLT entry to align the stack.
7102 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7104         [BZ #20349]
7105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7107 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7109         [BZ #18707]
7110         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7111         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7113 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7115         * sysdeps/unix/sysv/linux/sysdep.h
7116         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7117         guards.
7118         * misc/tst-preadvwritev-common.c: New file.
7119         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7120         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7121         a check for files larger than 2GB.
7123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7124         (__ASSUME_OFF_DIFF_OFF64): Remove define.
7125         * sysdeps/unix/sysv/linux/pread.c
7126         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7127         __OFF_T_MATCHES_OFF64_T.
7128         * sysdeps/unix/sysv/linux/pread64.c
7129         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7130         * sysdeps/unix/sysv/linux/preadv.c
7131         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7132         * sysdeps/unix/sysv/linux/preadv64.c
7133         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7134         * sysdeps/unix/sysv/linux/pwrite.c
7135         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7136         * sysdeps/unix/sysv/linux/pwrite64.c
7137         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7138         * sysdeps/unix/sysv/linux/pwritev.c
7139         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7140         * sysdeps/unix/sysv/linux/pwritev64.c
7141         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7143 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
7145         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7146         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7148 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7150         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7152 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7154         [BZ #20240]
7155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7156         (CFLAGS-s_modf-ppc32.c): New variable.
7157         (CFLAGS-s_modff-ppc32.c): Likewise.
7158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7159         (CFLAGS-s_modf-ppc64.c): Likewise.
7160         (CFLAGS-s_modff-ppc64.c): Likewise.
7162 2016-07-07  Andreas Schwab  <schwab@suse.de>
7164         [BZ #20263]
7165         * nptl/tst-robust10.c: New test.
7166         * nptl/Makefile (tests): Add tst-robust10.
7168 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
7170         [BZ #20263]
7171         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7173 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7175         * sysdeps/s390/linkmap.h (struct link_map_machine):
7176         Remove member gotplt and add member jmprel.
7177         * sysdeps/s390/s390-32/dl-machine.h
7178         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7179         instead of gotplt with &got[3].
7180         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7181         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7183 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
7185         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7187 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7189         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7190         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7191         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7192         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7193         * libio/vtables.c (_IO_vtable_check)
7194         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7195         * libio/libioP.h (IO_set_accept_foreign_vtables)
7196         [!PTR_MANGLE]: Do not call PTR_MANGLE.
7198 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
7200         [BZ #20314]
7201         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7202         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7203         $(common-objpfx)cmath.
7204         ($(common-objpfx)cstdlib): New target.
7205         ($(common-objpfx)cmath): Likewise.
7207 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
7209         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7211 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7213         [BZ #20327]
7214         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7215         are not part of the string.
7217 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7219         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7220         * nptl/tst-cancel4-common.h (fifoname): New variable.
7221         (fifofd): Likewise.
7222         (cl_fifo): New function.
7223         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
7224         SIGINT.
7225         (tf_open): Add early cancel test.
7227 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7229         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
7231 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
7233         * sysdeps/generic/ldsodefs.h
7234         (dl_symbol_visibility_binds_local_p): New inline function.
7235         * elf/dl-addr.c (determine_info): Treat hidden and internal
7236         symbols as local.
7237         * elf/dl-lookup.c (do_lookup_x): Likewise.
7238         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
7240 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
7242         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
7243         invalid exception for a sNaN input.
7244         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7245         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7246         (__nearbyint_vis3): Likewise
7247         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7248         (__nearbyintf_vis3): Likewise
7249         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
7250         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7251         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
7252         Likewise.
7253         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
7254         Likewise.
7256 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
7258         [BZ #20139]
7259         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
7260         (HAVE_AVX512DQ_ASM_SUPPORT): This.
7261         * sysdeps/x86_64/configure.ac: Require assembler from binutils
7262         2.24 or above.
7263         (HAVE_AVX512_ASM_SUPPORT): Removed.
7264         (HAVE_AVX512DQ_ASM_SUPPORT): New.
7265         * sysdeps/x86_64/configure: Regenerated.
7266         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
7267         check unconditional.
7268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7269         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7270         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7271         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7272         Likewise.
7273         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7274         Likewise.
7275         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7276         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7277         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7278         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7279         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7280         Likewise.
7281         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7282         Likewise.
7283         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7284         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7285         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
7286         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
7287         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
7288         Likewise.
7289         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
7290         Likewise.
7291         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
7292         Likewise.
7293         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
7294         Likewise.
7295         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
7296         Likewise.
7297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
7298         Likewise.
7299         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
7300         Likewise.
7301         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
7302         Likewise.
7303         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
7304         Likewise.
7305         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
7306         Likewise.
7307         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
7308         Likewise.
7310 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
7312         [BZ #20024]
7313         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
7314         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
7315         of this implementation of vector function.
7316         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7318         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7319         Likewise.
7320         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7321         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7322         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
7323         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
7324         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
7325         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
7326         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
7327         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
7328         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
7329         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
7330         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
7331         for testing vector sincos with fixed ABI.
7332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7333         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7334         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7335         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7336         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7337         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7338         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7339         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
7340         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
7341         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
7342         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
7343         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
7344         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
7345         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
7346         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7347         * sysdeps/x86_64/fpu/Makefile: Added new tests.
7349 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7351         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
7353 2016-06-30  Anton Blanchard  <anton@samba.org>
7355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7356         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
7357         s_sinf-ppc64.
7358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
7359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7361         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7363 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7367         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
7368         e_expf-ppc64.
7369         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
7370         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
7371         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
7372         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
7374 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
7376         [BZ #20277]
7377         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
7378         when SHARED is defined.
7380 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
7382         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
7383         (index_arch_Prefer_ERMS): Likewise.
7384         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
7385         __memcpy_erms for Prefer_ERMS.
7386         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7387         (__memmove_erms): Enabled for libc.a.
7388         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
7389         __memmove_erms or Prefer_ERMS.
7390         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
7391         __mempcpy_erms for Prefer_ERMS.
7392         * sysdeps/x86_64/multiarch/memset.S (memset): Return
7393         __memset_erms for Prefer_ERMS.
7395 2016-06-30  Andreas Schwab  <schwab@suse.de>
7397         [BZ #20262]
7398         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
7399         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
7400         of memory.
7402 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
7404         [BZ #18645]
7405         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
7406         (test-extras): Add tst-cleanupx4aux.
7407         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
7408         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
7409         tst-cleanupx4aux.o.
7410         * nptl/tst-cleanupx4aux.c: New file.
7412 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7414         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7416 2016-06-29  Andreas Schwab  <schwab@suse.de>
7418         [BZ #20260]
7419         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
7420         address before the beginning of the string as an integer to avoid
7421         array-bounds warning.
7423 2016-06-28  Richard Henderson  <rth@redhat.com>
7425         * elf/elf.h (EM_BPF): New.
7426         (EM_NUM): Update.
7427         (R_BPF_NONE, R_BPF_MAP_FD): New.
7429         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
7430         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
7431         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
7432         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
7433         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
7434         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
7435         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
7436         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
7437         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
7438         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
7439         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
7440         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
7441         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
7442         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
7443         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
7444         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
7445         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
7446         (EM_NUM): Update.
7448 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
7450         [BZ #18960]
7451         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
7452         Set _nl_current_LC_CATEGORY_used to two instead of one.
7454 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
7456         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
7457         (do_test): ... this.
7458         (TEST_FUNCTION): New macro.
7459          Include test-skeleton.c.
7460         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
7461         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
7463 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
7465         [BZ #15479]
7466         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
7467         floating-point environment rather than just control word.
7468         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7469         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
7470         floating-point environment, with "invalid" exceptions merged in,
7471         rather than just control word.
7472         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
7473         * math/libm-test.inc (trunc_test_data): Do not allow spurious
7474         "inexact" exceptions.
7476         [BZ #15479]
7477         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
7478         floating-point environment rather than just control word.
7479         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7480         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
7481         floating-point environment, with "invalid" exceptions merged in,
7482         rather than just control word.
7483         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
7484         * math/libm-test.inc (floor_test_data): Do not allow spurious
7485         "inexact" exceptions.
7487         [BZ #15479]
7488         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
7489         floating-point environment rather than just control word.
7490         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7491         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
7492         floating-point environment, with "invalid" exceptions merged in,
7493         rather than just control word.
7494         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
7495         * math/libm-test.inc (ceil_test_data): Do not allow spurious
7496         "inexact" exceptions.
7498 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
7500         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
7501         __libc_vfork.
7502         (__vfork) [IS_IN (libc)]: Remove alias.
7503         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
7504         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7505         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7507 2016-06-24  Torvald Riegel  <triegel@redhat.com>
7509         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
7510         of atomic_compare_and_exchange_bool_rel.
7511         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7512         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
7513         catomic_compare_and_exchange_bool_rel): Remove.
7514         * sysdeps/aarch64/atomic-machine.h
7515         (atomic_compare_and_exchange_bool_rel): Likewise.
7516         * sysdeps/alpha/atomic-machine.h
7517         (atomic_compare_and_exchange_bool_rel): Likewise.
7518         * sysdeps/arm/atomic-machine.h
7519         (atomic_compare_and_exchange_bool_rel): Likewise.
7520         * sysdeps/mips/atomic-machine.h
7521         (atomic_compare_and_exchange_bool_rel): Likewise.
7522         * sysdeps/microblaze/atomic-machine.h
7523         ( __arch_compare_and_exchange_bool_8_rel,
7524         __arch_compare_and_exchange_bool_16_rel): Likewise.
7525         * sysdeps/powerpc/atomic-machine.h
7526         ( __arch_compare_and_exchange_bool_8_rel,
7527         __arch_compare_and_exchange_bool_16_rel): Likewise.
7528         * sysdeps/powerpc/powerpc32/atomic-machine.h
7529         ( __arch_compare_and_exchange_bool_32_rel,
7530         __arch_compare_and_exchange_bool_64_rel): Likewise.
7531         * sysdeps/powerpc/powerpc64/atomic-machine.h
7532         ( __arch_compare_and_exchange_bool_32_rel,
7533         __arch_compare_and_exchange_bool_64_rel): Likewise.
7534         * sysdeps/tile/atomic-machine.h
7535         (atomic_compare_and_exchange_bool_rel): Likewise.
7537 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
7539         [BZ #20296]
7540         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
7541         when either argument is a NaN.
7542         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7543         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
7545         * math/libm-test.inc (snan_value_ld): New macro.
7546         (isgreater_test_data): Add sNaN tests.
7547         (isgreaterequal_test_data): Likewise.
7548         (isless_test_data): Likewise.
7549         (islessequal_test_data): Likewise.
7550         (islessgreater_test_data): Likewise.
7551         (isunordered_test_data): Likewise.
7552         (nextafter_test_data): Likewise.
7553         (nexttoward_test_data): Likewise.
7554         (remainder_test_data): Likewise.
7555         (remquo_test_data): Likewise.
7556         (significand_test_data): Likewise.
7557         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
7559 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7561         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
7562         environment macros are defined.
7563         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
7565 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7567         [BZ #20191]
7568         Implement vtable verification in libio.
7569         * Makerules (shlib.lds): Place __libc_IO_vtables section.
7570         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
7571         * debug/vdprintf_chk.c (__vdprintf_chk): Call
7572         _IO_new_file_init_internal instead of _IO_file_init.
7573         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
7574         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
7575         * libio/Makefile (routines): Add vtables.
7576         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
7577         (_IO_init): Remove, not for internal use.
7578         (_IO_init_internal): Declare, internal replacement for _IO_init.
7579         (_IO_file_init): Remove, not for internal use.
7580         (_IO_new_file_init): Remove, not for internal use.
7581         (_IO_new_file_init_internal): Declare, internal replacement for
7582         _IO_new_file_init.
7583         (_IO_old_file_init): Remove, not for internal use.
7584         (_IO_old_file_init_internal): Declare, internal replacement for
7585         _IO_old_file_init.
7586         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
7587         internal use.
7588         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
7589         Declare.
7590         (libio_vtable): New macro.
7591         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
7592         functions.
7593         * libio/fileops.c (_IO_new_file_init_internal): Rename from
7594         _IO_new_file_init.
7595         (_IO_new_file_init): New externally visible wrapper which disables
7596         vtable verification.
7597         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
7598         Define as vtables.
7599         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
7600         (_IO_init): New externally visible wrapper which disables
7601         vtable verification.
7602         * libio/iofdopen.c (_IO_new_fdopen): Call
7603         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
7604         comment.
7605         * libio/iofopen.c (__fopen_internal): Call
7606         _IO_new_file_init_internal instead of _IO_file_init.
7607         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
7608         Define as vtables.
7609         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
7610         _IO_new_file_init_internal instead of _IO_file_init.
7611         * libio/iopopen.c (_IO_new_popen): Likewise.
7612         (_IO_proc_jumps): Define as vtable.
7613         * libio/iovdprintf.c (_IO_vdprintf): Call
7614         _IO_new_file_init_internal instead of _IO_file_init.
7615         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
7616         (__open_memstream): Call _IO_init_internal instead of _IO_init.
7617         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
7618         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
7619         _IO_old_file_init.
7620         (_IO_old_file_init): New externally visible wrapper which disables
7621         vtable verification.
7622         (_IO_old_file_jumps): Define as vtable.
7623         * libio/oldiofdopen.c (_IO_old_fdopen): Call
7624         _IO_old_file_init_internal instead of _IO_old_file_init.
7625         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7626         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7627         (_IO_old_proc_jumps): Define as vtable.
7628         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
7629         Define as vtables.
7630         * libio/vtables.c: New file.
7631         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
7632         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
7633         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
7634         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
7635         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
7636         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
7637         instead of _IO_init.
7639 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7641         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
7643 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7645         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
7646         potentially unused.
7648 2016-06-22  Florian Weimer  <fweimer@redhat.com>
7650         * test-skeleton.c (write_message): New function.
7651         * malloc/tst-mallocfork2.c (write_message): Remove.
7652         * debug/tst-longjmp_chk2.c (write_indented): New function.
7653         (write_message): Remove.
7654         (stackoverflow_handler): Call write_indented.
7656 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
7658         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
7659         "inexact" exceptions after fnstenv.
7660         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7661         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7662         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7664 2015-06-22  Zack Weinberg  <zackw@panix.com>
7666         * sysdeps/generic/bits/hwcap.h: Moved to ...
7667         * bits/hwcap.h: Here.
7669 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
7671         * sysdeps/aarch64/memcpy.S (memcpy):
7672         Further tuning for performance.
7674 2016-06-21  Florian Weimer  <fweimer@redhat.com>
7676         [BZ #20284]
7677         * malloc/arena.c (reused_arena): Do not return NULL if we start
7678         out with a non-corrupted arena.
7680 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7682         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
7683         * misc/tst-preadvwritev.c: New file.
7684         * misc/tst-preadvwritev64.c: Likewise.
7685         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
7686         usage.
7687         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
7688         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
7689         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
7690         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
7692 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
7694         [BZ #19654]
7695         * sysdeps/x86_64/fpu/Makefile: Added new tests.
7696         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
7697         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
7698         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
7699         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
7700         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
7701         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
7702         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
7703         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
7704         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
7705         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
7706         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
7707         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
7708         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
7709         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
7710         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
7711         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
7712         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
7713         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
7714         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
7715         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
7716         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
7717         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
7718         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
7719         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
7720         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
7722 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
7724         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
7725         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
7727 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
7729         * sysdeps/aarch64/memcpy.S (memcpy):
7730         Rewrite of optimized memcpy and memmove.
7731         * sysdeps/aarch64/memmove.S (memmove): Remove
7732         memmove code (merged into memcpy.S).
7734 2016-06-20  Florian Weimer  <fweimer@redhat.com>
7736         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
7737         * sysdeps/generic/dl-dtv.h: New file.
7738         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7739         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
7740         (dtv_t): Remove.
7741         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7742         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
7743         (dtv_t): Remove.
7744         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7745         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
7746         (dtv_t): Remove.
7747         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7748         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
7749         (dtv_t): Remove.
7750         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7751         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
7752         (dtv_t): Remove.
7753         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7754         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
7755         (dtv_t): Remove.
7756         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7757         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
7758         (dtv_t): Remove.
7759         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
7760         (dtv_t): Remove.
7761         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7762         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
7763         (dtv_t): Remove.
7764         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7765         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
7766         (dtv_t): Remove.
7767         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7768         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
7769         (dtv_t): Remove.
7770         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7771         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
7772         (dtv_t): Remove.
7773         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7774         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
7775         (dtv_t): Remove.
7776         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7777         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
7778         (dtv_t): Remove.
7779         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7780         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
7781         (dtv_t): Remove.
7782         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7783         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
7784         (dtv_t): Remove.
7786 2016-06-20  Florian Weimer  <fweimer@redhat.com>
7788         Revert symbol poisoning of  __malloc_initialize_hook.
7789         * include/stdc-predef.h (__malloc_initialize_hook): Remove
7790         poisoning.
7791         * malloc/Makefile: Remove un-poisoning.
7792         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
7793         instead of old__malloc_initialize_hook.
7794         * malloc/malloc-hooks.h: Likewise.
7795         * malloc/malloc.c: Likewise.
7796         * malloc/mcheck-init.c: Likewise.
7798 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
7800         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
7802 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
7804         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
7805         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
7806         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7807         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7809 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7811         * NEWS: Mention addition of nextup and nextdown.
7812         * manual/arith.texi: Document nextup and nextdown.
7813         * manual/libm-err-tab.pl: Add nextup and nextdown.
7814         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
7815         * math/Versions (libm): Add GLIBC_2.24.
7816         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
7817         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7818         Add new test.
7819         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
7820         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
7821         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
7822         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
7823         (nextup_test_data): Likewise.
7824         (nextdown_test_data): Likewise.
7825         * math/s_nextdown.c: New file.
7826         * math/s_nextdownf.c: Likewise.
7827         * math/s_nextdownl.c: Likewise.
7828         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
7829         F(nextup): New function.
7830         F(nextdown): Likewise.
7831         * math/tgmath.h: Add nextup and nextdown.
7832         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
7833         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
7834         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7835         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
7836         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
7837         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
7838         Add nextup and nextdown.
7839         (CFLAGS-nldbl-nextup.c): New variable.
7840         (CFLAGS-nldbl-nextdown.c): Likewise.
7841         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
7842         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
7843         * sysdeps/nacl/libm.abilist: Update.
7844         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7846         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7847         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7848         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7849         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7850         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7851         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7852         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7853         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7854         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7855         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7858         Likewise.
7859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7861         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7862         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7863         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7864         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7865         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
7867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
7868         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7869         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7870         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
7871         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7873 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7875         * manual/pattern.texi: Fix typos & grammar errors.
7877 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7879         * manual/search.texi: Fix typos & grammar errors.
7881 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7883         * manual/message.texi: Fix typos & grammar errors.
7885 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
7887         * manual/contrib.texi: Fix spelling typos.
7888         * manual/crypt.texi: Likewise.
7889         * manual/filesys.texi: Likewise.
7890         * manual/locale.texi: Likewise.
7891         * manual/message.texi: Likewise.
7892         * manual/nss.texi: Likewise.
7893         * manual/string.texi: Likewise.
7895 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7897         * manual/locale.texi: Fix typos & grammar errors.
7899 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7901         * manual/charset.texi: Fix typos & grammar errors.
7903 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7905         * manual/string.texi: Fix typos.
7907 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7909         * manual/ctype.texi: Fix typos.
7911 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7913         * manual/memory.texi: Fix various typos & grammar errors.
7915 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
7917         [BZ #20255]
7918         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
7919         * math/libm-test.inc (fdim_test_data): Add another test.
7921         [BZ #6796]
7922         [BZ #20255]
7923         [BZ #20256]
7924         * math/s_fdim.c: Include <math_private.h>.
7925         (__fdim): Use math_narrow_eval on result.
7926         * math/s_fdimf.c: Include <math_private.h>.
7927         (__fdimf): Use math_narrow_eval on result.
7928         * sysdeps/i386/fpu/s_fdim.S: Remove file.
7929         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
7930         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
7931         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
7932         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
7933         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
7934         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
7935         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
7936         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
7937         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
7938         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
7939         * math/libm-test.inc (fdim_test_data): Expect errno setting on
7940         overflow.  Add sNaN tests.
7942         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7943         fpclassify.
7944         * math/s_fdimf.c (__fdimf): Likewise.
7945         * math/s_fdiml.c (__fdiml): Likewise.
7947 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7949         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7950         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7952         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7953         ifunc'ed strcasecmp/strncasecmp.
7954         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7955         [EALIGN]: Removed.
7956         [END]: Likewise.
7957         [__strcasecmp]: Define instead of the above to control symbol name.
7958         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7959         for __strcasecmp_power8.
7960         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7961         for __strncasecmp_power8.
7962         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7963         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7964         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7965         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7966         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7967         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7969 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7971         [BZ #20252]
7972         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7973         arguments when second argument is a NaN.
7974         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7975         qNaN tests.
7977         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7978         (conj_test_data): Likewise.
7979         (copysign_test_data): Likewise.
7980         (creal_test_data): Likewise.
7981         (fma_test_data): Likewise.
7982         (fmod_test_data): Likewise.
7984         [BZ #20250]
7985         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7986         itself.
7987         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7988         zero input to itself.
7989         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7990         Likewise.
7991         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7992         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7993         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7994         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7995         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7997 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7999         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8000         * nptl/tst-cancel4-common.c: New file.
8001         * nptl/tst-cancel4-common.h: Likewise.
8002         * nptl/tst-cancel4.c: Move common definitions to
8003         tst-cancel4-common.{c,h} file.
8004         * nptl/tst-cancel4_1.c: New test.
8005         * nptl/tst-cancel4_2.c: New test.
8007 2016-06-13  Florian Weimer  <fweimer@redhat.com>
8009         [BZ #20248]
8010         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8011         (write_message): New function.
8012         (stackoverflow_handler): Call it instead of printf, to avoid
8013         excessive stack usage by printf.
8014         (do_test): Restore SIGSEGV, SIGBUS default handlers.
8016 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8018         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8019         (prio_inherit_missing): Remove define.
8020         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8021         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8022         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8023         Likewise.
8024         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8025         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8026         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8027         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8028         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8029         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8031 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8033         [BZ #19670]
8034         [BZ #19672]
8036         * io/test-lfs.c (do_prepare): Use xmalloc.
8037         * io/tst-fcntl.c (do_prepare): Likewise.
8038         * libio/tst-fopenloc.c (do_bz17916): Likewise.
8039         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8040         * login/tst-utmp.c (do_prepare): Likewise.
8041         * posix/tst-exec.c (do_prepare): Likewise.
8042         * posix/tst-pathconf.c (prepare): Likewise.
8043         * posix/tst-spawn.c (do_prepare): Likewise.
8044         * posix/tst-truncate.c (do_prepare): Likewise.
8045         * rt/tst-aio.c (do_prepare): Likewise.
8046         * rt/tst-aio64.c (do_prepare): Likewise.
8048 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8050         [BZ #20237]
8051         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8052         (get*ent): Set entidx to NULL during initialization.  If entidx is
8053         NULL, start iteration from the beginning.
8055 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8057         * malloc/malloc.c (musable): Return correct size for dumped fake
8058         mmapped chunk.
8060 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8062         [BZ #20222]
8063         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8064         (_IO_cookie_write): Likewise.
8065         (_IO_cookie_seek): Likewise.
8066         (_IO_cookie_close): Likewise.
8067         (_IO_old_cookie_seek): Likewise.
8068         (set_callbacks): New function.
8069         (_IO_cookie_init): Call set_callbacks to copy callbacks.
8071 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
8073         * locale/programs/localedef.c (oldstyle_tables): Remove.
8074         * locale/programs/localedef.h (oldstyle_tables): Likewise.
8076 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
8078         [BZ #20240]
8079         * math/Makefile (CFLAGS-s_modf.c): New variable.
8080         (CFLAGS-s_modff.c): Likewise.
8081         (CFLAGS-s_modfl.c): Likewise.
8082         * math/libm-test.inc (modf_test_data): Add sNaN tests.
8084 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
8086         [BZ #20215]
8087         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8088         [!__GNUC_PREREQ (3,2)]: Likewise.
8090 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8092         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8093         (msghdr.msg_controllen): Likewise.
8094         (cmsghdr.cmsg_len): Likewise.
8095         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8096         ptw-oldsendmsg.
8097         (CFLAGS-oldrecvmsg.c): Remove rule.
8098         (CFLAGS-oldsendmsg.c): Likewise.
8099         (CFLAGS-recvmsg.c): Add rule.
8100         (CFLAGS-sendmsg.c): Likewise.
8101         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8102         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8103         (CFLAGS-recvmsg.c): Remove rule.
8104         (CFLAGS-sendmsg.c): Likewise.
8105         (CFLAGS-oldrecvmsg.c): Likewise.
8106         (CFLAGS-oldsendmsg.c): Likewise.
8107         (CFLAGS-recvmmsg.c): Likewise.
8108         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8109         to kernel defined interfaces.
8110         (msghdr.msg_controllen): Likewise.
8111         (cmsghdr.cmsg_len): Likewise.
8112         (msghdr.__glibc_reserved1): Remove member.
8113         (msghdr.__glibc_reserved2): Likewise.
8114         (cmsghdr.__glibc_reserved1): Likewise.
8115         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8116         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8117         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8118         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8119         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8120         version.
8121         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8122         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8123         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8124         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8125         Remove recvmsg and sendmsg.
8126         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8127         Likewise.
8128         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8129         Likewise.
8130         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8131         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8132         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8133         Likewise.
8134         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8135         Likewise.
8136         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8137         [libc] (GLIBC_2.24): Likewise.
8138         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8139         Likewise.
8140         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8141         Likewise.
8142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8143         [libc] (GLIBC_2.24): Likewise.
8144         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8145         Likewise.
8146         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8147         Likewise.
8148         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8149         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8150         Likewise.
8151         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8152         Likewise.
8153         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8154         Likewise.
8155         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8156         Likewise.
8157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8158         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8159         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8160         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8161         version for {recv,send,recm,sendm}msg.
8162         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8163         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8164         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8165         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8166         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8167         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8168         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8169         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8170         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8171         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8172         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8173         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8175         Likewise.
8176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8177         Likewise.
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8180         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8181         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8182         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8183         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8184         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8185         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8188         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8189         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8190         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8192 2016-06-10  Florian Weimer  <fweimer@redhat.com>
8194         [BZ #19564]
8195         Remove __malloc_initialize_hook from the API.
8196         * malloc/malloc.h (__malloc_initialize_hook): Remove.
8197         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8198         #pragma GCC poison.
8199         * malloc/malloc-hooks.h: New file.
8200         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8201         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8202         (old__malloc_initialize_hook): Rename from
8203         __malloc_initialize_hook to evade poisoning.  Turn into compat
8204         symbol.
8205         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8206         __malloc_initialize_hook.
8207         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8208         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8209         * manual/memory.texi (Hooks for Malloc): Remove
8210         __malloc_initialize_hook.  Adjust hook example.
8212 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
8214         [BZ #20235]
8215         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8216         itself.
8217         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8218         * math/libm-test.inc (log2_test_data): Add sNaN tests.
8220         [BZ #20234]
8221         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8222         infinity or NaN input to itself.
8224         [BZ #20233]
8225         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
8226         to itself.
8228         [BZ #20232]
8229         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
8230         itself.
8232 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8234         * sysdeps/x86_64/start.S (_start): Always indirect branch to
8235         __libc_start_main via GOT.
8237 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8239         * sysdeps/x86_64/memcopy.h: New file.
8240         * sysdeps/x86_64/wordcopy.c: Likewise.
8242 2016-06-09  Florian Weimer  <fweimer@redhat.com>
8244         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
8245         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
8246         <cstdlib>.
8247         (optimization_barrier): New.
8248         (do_test): Use it.  Call quick_exit in the global namespace.
8249         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
8250         instead of <cstdlib>, <thread>.
8251         (optimization_barrier): New.
8252         (non_main_thread): Adjust declaration.  Call optimization_barrier.
8253         Call quick_exit in the global namespace.
8254         (do_test): Call optimization_barrier.  Use pthread_create,
8255         pthread_join instead of std::thread.
8257 2016-06-09  Andreas Schwab  <schwab@suse.de>
8259         [BZ #19755]
8260         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
8261         new entries in auto-propagate mode.
8262         * nscd/grpcache.c (cache_addgr): Likewise.
8264 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8266         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
8267         New functions.
8268         (add_temp_file): Use them.
8270 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
8272         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
8274 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
8276         [BZ #20229]
8277         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
8278         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
8279         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
8281         [BZ #20228]
8282         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
8283         itself.
8284         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8285         * math/libm-test.inc (log10_test_data): Add sNaN tests.
8287         [BZ #20227]
8288         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
8289         itself.
8290         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8291         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8292         * math/libm-test.inc (log_test_data): Add sNaN tests.
8294         [BZ #20226]
8295         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
8296         itself.
8297         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8298         * math/libm-test.inc (exp_test_data): Add sNaN tests.
8299         (exp10_test_data): Likewise.
8300         (expm1_test_data): Likewise.
8302         [BZ #20225]
8303         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
8304         itself.
8305         * math/s_ldexpf.c (__ldexpf): Likewise.
8306         * math/s_ldexpl.c (__ldexpl): Likewise.
8307         * math/w_scalbln.c (__w_scalbln): Likewise.
8308         * math/w_scalblnf.c (__w_scalblnf): Likewise.
8309         * math/w_scalblnl.c (__w_scalblnl): Likewise.
8310         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
8311         (scalbln_test_data): Likewise.
8313         [BZ #20224]
8314         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
8315         argument to itself.
8316         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
8318 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
8320         [BZ #19776]
8321         * sysdeps/x86_64/memcpy.S: Make it dummy.
8322         * sysdeps/x86_64/mempcpy.S: Likewise.
8323         * sysdeps/x86_64/memmove.S: New file.
8324         * sysdeps/x86_64/memmove_chk.S: Likewise.
8325         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8326         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8327         * sysdeps/x86_64/memmove.c: Removed.
8328         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8329         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8330         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
8331         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8332         Likewise.
8333         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8334         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8336         memcpy-sse2-unaligned, memmove-avx-unaligned,
8337         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
8338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8339         (__libc_ifunc_impl_list): Replace
8340         __memmove_chk_avx512_unaligned_2 with
8341         __memmove_chk_avx512_unaligned.  Remove
8342         __memmove_chk_avx_unaligned_2.  Replace
8343         __memmove_chk_sse2_unaligned_2 with
8344         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
8345         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
8346         with __memmove_avx512_unaligned.  Replace
8347         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
8348         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
8349         with __memcpy_chk_avx512_unaligned.  Remove
8350         __memcpy_chk_avx_unaligned_2.  Replace
8351         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
8352         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
8353         Replace __memcpy_avx512_unaligned_2 with
8354         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
8355         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
8356         with __mempcpy_chk_avx512_unaligned.  Remove
8357         __mempcpy_chk_avx_unaligned_2.  Replace
8358         __mempcpy_chk_sse2_unaligned_2 with
8359         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
8360         Replace __mempcpy_avx512_unaligned_2 with
8361         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
8362         Replace __mempcpy_sse2_unaligned_2 with
8363         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
8364         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
8365         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
8366         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
8367         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
8368         (ENTRY): Removed.
8369         (END): Likewise.
8370         (ENTRY_CHK): Likewise.
8371         (libc_hidden_builtin_def): Likewise.
8372         Don't include ../memcpy.S.
8373         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
8374         __memcpy_chk_avx512_unaligned_erms and
8375         __memcpy_chk_avx512_unaligned.  Use
8376         __memcpy_chk_avx_unaligned_erms and
8377         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
8378         Default to __memcpy_chk_sse2_unaligned.
8379         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8380         Change function suffix from unaligned_2 to unaligned.
8381         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
8382         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
8383         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
8384         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
8385         (ENTRY): Removed.
8386         (END): Likewise.
8387         (ENTRY_CHK): Likewise.
8388         (libc_hidden_builtin_def): Likewise.
8389         Don't include ../mempcpy.S.
8390         (mempcpy): New.  Add a weak alias.
8391         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
8392         __mempcpy_chk_avx512_unaligned_erms and
8393         __mempcpy_chk_avx512_unaligned.  Use
8394         __mempcpy_chk_avx_unaligned_erms and
8395         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
8396         Default to __mempcpy_chk_sse2_unaligned.
8398 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
8400         [BZ #19881]
8401         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
8402         into ...
8403         * sysdeps/x86_64/memset.S: This.
8404         (__bzero): Removed.
8405         (__memset_tail): Likewise.
8406         (__memset_chk): Likewise.
8407         (memset): Likewise.
8408         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
8409         defined.
8410         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
8411         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
8412         (__memset_zero_constant_len_parameter): Check SHARED instead of
8413         PIC.
8414         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8415         memset-avx2 and memset-sse2-unaligned-erms.
8416         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8417         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
8418         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
8419         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8420         (__bzero): Enabled.
8421         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
8422         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
8423         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
8424         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
8425         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8426         (memset): Removed.
8427         (__memset_chk): Likewise.
8428         (MEMSET_SYMBOL): New.
8429         (libc_hidden_builtin_def): Replace __memset_sse2 with
8430         __memset_sse2_unaligned.
8431         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
8432         __memset_chk_sse2 and __memset_chk_avx2 with
8433         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
8434         Use __memset_chk_sse2_unaligned_erms or
8435         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
8436         __memset_chk_avx512_unaligned_erms and
8437         __memset_chk_avx512_unaligned.
8439 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8441         * math/gen-auto-libm-test.c (fp_format_desc): remove
8442         suffix member.
8443         (output_generic_value): Remove usage of suffix member,
8444         and the resulting unuse of the fp_format argument.
8445         (output_for_one_input_case): Remove unused fp_format
8446         parameter.
8448         * math/auto-libm-test-out: Regenerate.
8450         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
8451         usage with TEST_COND_ibm128.
8452         (TEST_COND_flt_32): Remove.
8453         (TEST_COND_dbl_64): Remove.
8454         (TEST_COND_ldbl_96_intel): Remove.
8455         (TEST_COND_ldbl_96_m68k): Remove.
8456         (TEST_COND_ldbl_128): Remove.
8458 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8460         * auto-libm-test-in:
8461         Replace flt-32 usage with binary32.
8462         Replace dbl-64 usage with binary64.
8463         Replace ldbl-intel-96 usage with intel96.
8464         Replace ldbl-m68k-96 usage with m68k96.
8465         Replace ldbl-128ibm usage with ibm128.
8466         Replace ldbl-128 usage with binary128.
8468         * auto-libm-test-out: Regenerate.
8470 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8472         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
8473         (parse_ulps): Dynamically generate type name matching
8474         string from all_floats.
8475         (get_ulps): Generate the ulps as an array instead.
8476         (output_ulps): Dynamically compose the type based
8477         on the number of supported formats, and print
8478         the indices as type specific helper macros.
8480         * math/libm-test.inc: Remove comment about CHOOSE.
8481         (ulp_data): Generate the type in libm-test-ulps.h.
8482         (ULP_IDX): New macro.
8483         (find_ulps): Update usage of max_ulp.
8485         * math/test-double-vlen2.h (CHOOSE): Remove.
8486         * math/test-double-vlen4.h (CHOOSE): Likewise.
8487         * math/test-double-vlen8.h (CHOOSE): Likewise.
8488         * math/test-float.c (CHOOSE): Likewise.
8489         * math/test-float-finite.c (CHOOSE): Likewise.
8490         * math/test-double.c (CHOOSE): Likewise.
8491         * math/test-double-finite.c (CHOOSE): Likewise.
8492         * math/test-idouble.c (CHOOSE): Likewise.
8493         * math/test-ifloat.c (CHOOSE): Likewise.
8494         * math/test-ildoubl.c (CHOOSE): Likewise.
8495         * math/test-ldouble-finite.c (CHOOSE): Likewise.
8496         * math/test-ldouble.c (CHOOSE): Likewise.
8498         * math/test-float.h (TEST_FLOAT): Remove.
8499         * math/test-double.h (TEST_DOUBLE): Likewise.
8500         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
8502 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8504         * math/gen-libm-test.pl: (apply_lit): New subroutine.
8505         (parse_args): Strip C suffix from floating point literals
8506         typed with 'f' and wrap them with LIT().
8508         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
8509         (test_ff_f_data_nexttoward): Rename to
8510         (test_fj_f_data): New struct.
8511         (nexttoward_test_data): Relabel tests as
8512         TEST_fj_f instead of TEST_ff_f.
8514 2016-06-08  Florian Weimer  <fweimer@redhat.com>
8516         Emacs bug 23726.
8517         * malloc/malloc.c (dumped_main_arena_start): Update comment.
8518         (__libc_realloc): Correct size computation for dumped fake mmapped
8519         chunks.
8521 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
8523         [BZ #20219]
8524         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
8525         to itself.
8526         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
8528         [BZ #20218]
8529         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
8530         to itself.
8531         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
8533 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
8535         [BZ #20195]
8536         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
8537         check to ...
8538         (init_cpu_features): Here.
8540 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
8542         [BZ #20214]
8543         * sysdeps/unix/sysv/linux/bits/in.h
8544         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
8545          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
8546         Define to 1.
8547         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
8548          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
8549         Define to 0.
8550         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
8551         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
8553 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
8555         [BZ #20198]
8556         * stdlib/Makefile (tests): Add tst-quick_exit, and
8557         tst-thread-quick_exit.
8558         [ifeq ($(have-cxx-thread_local),yes)]
8559         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
8560         (CFLAGS-tst-thread-quick_exit.o): Likewise.
8561         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
8562         (LDLIBS-tst-thread-quick_exit): Likewise.
8563         [ifneq ($(have-cxx-thread_local),yes)]
8564         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
8565         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
8566         If run_dtors is true call __call_tls_dtors.
8567         (exit): Call __run_exit_handlers with run_dtors set to true.
8568         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
8569         definition.
8570         * stdlib/quick_exit.c (quick_exit): Remove function.
8571         (__new_quick_exit): New function.
8572         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
8573         function.
8574         * stdlib/tst-quick_exit.cc: New file.
8575         * stdlib/tst-thread-quick_exit.cc: New file.
8576         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
8577         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
8578         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
8579         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
8580         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
8581         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
8582         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
8583         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
8584         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
8585         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
8586         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
8587         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
8588         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
8589         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
8590         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
8591         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
8593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
8594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
8595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
8596         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
8597         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
8598         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
8599         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
8600         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
8601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
8602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
8603         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
8604         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
8605         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
8607 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
8609         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
8610         a typo in comments.
8612 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
8614         [BZ #20213]
8615         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
8616         argument to itself.
8617         * math/libm-test.inc (asin_test_data): Add sNaN tests.
8619 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8621         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
8622         required flags.
8623         (CFLAGS-pwritev64.c): Likewise.
8624         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
8625         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8626         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
8627         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8628         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
8629         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
8630         syscall from auto-generation.
8631         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
8632         [WORDSIZE == 64] (pwritev64): Remove macro.
8633         [!PWRITEV] (PWRITEV): Likewise.
8634         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
8635         [!PWRITEV] (PWRITE): Likewise.
8636         [!PWRITEV] (OFF_T): Likewise.
8637         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
8638         (LO_HI_LONG): Remove macro.
8639         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
8640         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
8641         (PWRITEV): Remove macro.
8642         (PWRITEV_REPLACEMENTE): Likewise.
8643         (PWRITE): Likewise.
8644         (OFF_T): Likewise.
8645         (pwritev64): New function.
8646         * nptl/tst-cancel4.c (tf_writev): Add test.
8648         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
8649         required flags.
8650         (CFLAGS-preadv64.c): Likewise.
8651         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
8652         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8653         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
8654         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
8655         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
8656         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
8657         syscall from auto-generation.
8658         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
8659         [WORDSIZE == 64] (preadv64): Remove macro.
8660         [!PREADV] (PREADV): Likewise.
8661         [!PREADV] (PREADV_REPLACEMENT): Likewise.
8662         [!PREADV] (PREAD): Likewise.
8663         [!PREADV] (OFF_T): Likewise.
8664         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
8665         (LO_HI_LONG): Remove macro.
8666         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
8667         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
8668         (PREADV): Remove macro.
8669         (PREADV_REPLACEMENTE): Likewise.
8670         (PREAD): Likewise.
8671         (OFF_T): Likewise.
8672         (preadv64): New function.
8673         * nptl/tst-cancel4.c (tf_preadv): Add test.
8675 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
8677         [BZ #20212]
8678         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
8679         argument to itself.
8680         * math/libm-test.inc (acos_test_data): Add sNaN tests.
8682 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8684         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
8685         New symbol defined as libc_hidden_def.
8686         (strcasestr): Became a weak alias to __strcasestr.
8687         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
8688         according to multi-arch support.  Move __stpncpy hidden
8689         definition from here to...
8690         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
8691         symbol stpncpy.
8692         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
8693         libc_hidden_builtin_def.
8694         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
8695         memset symbol to use when multi-arch support is available.
8697 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8699         * dlfcn/tst-rec-dlopen.c: Include string.h.
8701 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8703         * manual/install.texi: Remove mention of --without-tls
8704         * INSTALL: Regenerate.
8706 2016-06-05  Florian Weimer  <fweimer@redhat.com>
8708         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
8709         Remove.
8710         (call_function, interposed_malloc_called): New variables.
8711         (malloc): New function.
8712         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
8713         and clear call_function as needed.
8715 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
8717         * include/wchar.h (__wmemset): Use __typeof.
8719 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
8721         * include/wchar.h (__wmemset): Declare function without typeof.
8723 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
8725         [BZ #20205]
8726         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
8727         exponent when incrementing negative subnormal with low mantissa
8728         word zero.
8729         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8730         Add another test.
8732 2016-06-03  Florian Weimer  <fweimer@redhat.com>
8734         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
8735         __wmemset instead of wmemset.
8737 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
8739         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
8740         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
8741         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
8742         __USE_KERNEL_IPV6_DEFS to 0.
8743         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
8744         Update comment.
8746 2016-06-01  Florian Weimer  <fweimer@redhat.com>
8748         [BZ #19861]
8749         Do not use IFUNC resolver with potentially unrelocated symbol.
8750         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
8751         (DEFINE_FORK): Remove macro and inline definition.
8752         (fork_alias): Renamed from fork_ifunc.
8753         (__fork_alias): Renamed from __fork_ifunc.
8755 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
8757         [BZ 19653]
8758         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
8759         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
8761 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8763         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
8764         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
8765         i386-linux-gnu).
8766         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
8767         Set to no.
8768         * sysdeps/mach/hurd/configure: Refresh.
8770 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8772         [BZ #20178]
8773         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
8774         on failure instead of exit.
8776 2016-05-30  Roland McGrath  <roland@hack.frob.com>
8778         [BZ #3629]
8779         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
8780         of POSIX.1-2008.
8782 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8784         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
8785           Use PLT entry for calling _hurd_self_sigstate.
8787 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
8789         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
8790         available logical processors with SMT level type sharing L2
8791         cache for Intel processors.
8793 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8795         [BZ #20160]
8796         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
8797         argument to itself before returning the result.
8798         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8799         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8800         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8801         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8802         Likewise.
8803         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8804         Likewise.
8805         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
8806         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
8807         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8808         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8809         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8810         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8812         [BZ #20160]
8813         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
8814         argument to itself before returning the result.
8815         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8816         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8817         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8818         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
8819         Likewise.
8820         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8821         Likewise.
8822         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
8823         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
8824         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
8825         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8826         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8827         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8829 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8831         * libm-test.inc: Replace usage of M_El with
8832         (lit_e): New macro.
8834 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8836         * libm-test.inc: Replace usage of M_PI_4l with
8837         (lit_pi_4_d): New macro.
8839 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8841         * libm-test.inc: Replace usage of M_PIl with
8842         (lit_pi): New macro.
8844 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8846         * libm-test.inc: Replace usage of M_PI2l with
8847         (lit_pi_2_d): New macro.
8849         * math/test-double.h (LITM): New macro.
8850         * math/test-float.h (LITM): Likewise.
8851         * math/test-ldouble.h (LITM): Likewise.
8853 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8855         * libm-test.inc (M_PI_34l): Rename to
8856         (lit_pi_3_m_4_d): New Macro.
8857         (M_PI_34_LOG10El): Rename to
8858         (lit_pi_3_m_4_ln10_m_d): New Macro.
8859         (M_PI2_LOG10El): Rename to
8860         (lit_pi_2_ln10_m_d):  New Macro.
8861         (M_PI4_LOG10El): Rename to
8862         (lit_pi_4_ln10_m_d):  New Macro.
8863         (M_PI_LOG10El): Rename to
8864         (lit_pi_ln10_d):  New Macro.
8866 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8868         [BZ #20157]
8869         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
8870         determine whether to negate low half if [_ARCH_PPCGR], and integer
8871         comparison otherwise.
8872         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
8873         determine whether to negate low half.
8875         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
8876         (NO_TEST_INLINE_DOUBLE): Likewise.
8877         (TEST_COND_x86_64): Likewise.
8878         (TEST_COND_x86): Likewise.
8879         (M_PI_6l): Likewise.
8881 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8883         * math/libm-test.inc:
8884         (TEST_FLOAT): Change usage to TEST_COND_binary32.
8885         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
8886         (TEST_LDOUBLE): Update usage to evaluate as true if
8887         the guarded tests match the property being tested.
8888         (LDBL_MAX_EXP): Change to MAX_EXP.
8889         (LDBL_MIN_EXP): Change to MIN_EXP.
8890         (LDBL_MANT_DIG): Change to MANT_DIG, except for
8891         nexttoward tests.
8893 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8895         * math/libm-test.inc:
8896         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
8897         (TYPE_MIN): Likewise.
8898         (TYPE_TRUE_MIN): Likewise.
8899         (TYPE_MAX): Likewise.
8900         (MIN_EXP): Likewise.
8901         (MAX_EXP): Likewise.
8902         (MANT_DIG): Likewise.
8904         (FSTR_MAX): New macro.
8905         (__CONCATX): Likewise.
8906         (QTYPE_STR): Likewise.
8907         (TEST_COND_binary32): Likewise.
8908         (TEST_COND_binary64): Likewise.
8909         (TEST_COND_binary128): Likewise.
8910         (TEST_COND_ibm128): Likewise.
8911         (TEST_COND_intel96): Likewise.
8912         (TEST_COND_m68k96): Likewise.
8914         (TEST_COND_flt_32): Redefine as equivalent format test macro.
8915         (TEST_COND_dbl_64): Likewise.
8916         (TEST_COND_ldbl_96_intel): Likewise.
8917         (TEST_COND_ldbl_96_m68k): Likewise.
8918         (TEST_COND_ldbl_128): Likewise.
8919         (TEST_COND_ldbl_128ibm): Likewise.
8921         (plus_zero): Redefine using LIT macro.
8922         (minus_zero): Likewise.
8923         (plus_infty): Redefine as (INF).
8924         (minux_infty): Redefine as (-INF).
8925         (max_value): Redefine as TYPE_MAX.
8926         (min_value): Redefine as TYPE_MIN.
8927         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
8929         (print_float): Refactor to use snprintf to convert FLOAT values
8930         to string. This brings it closer to dropin replacement of strtof
8931         for the TS 18661 defined types.
8932         (update_stats): Likewise.
8933         (print_complex_function_ulps): Likewise.
8934         (print_max_error): Likewise.
8935         (print_complex_max_error): Likewise.
8936         (check_float_internal): Likewise.
8938         * math/test-float.h (PREFIX): New macro.
8939         (LIT): Likewise.
8940         (TYPE_STR): Likewise.
8941         (FTOSTR): Likewise.
8943         * math/test-double.h (PREFIX): New macro.
8944         (LIT): Likewise.
8945         (TYPE_STR): Likewise.
8946         (FTOSTR): Likewise.
8948         * math/test-ldouble.h (PREFIX): New macro.
8949         (LIT): Likewise.
8950         (TYPE_STR): Likewise.
8951         (FTOSTR): Likewise.
8953 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8955         [BZ #20156]
8956         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8957         to itself when zero or not finite.
8958         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8959         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8960         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8961         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8963 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8965         [BZ #20153]
8966         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8967         x * x + x for infinities and NaNs.
8969         [BZ #20151]
8970         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8971         argument to itself before returning result.
8972         (__ieee754_y0l): Likewise.
8973         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8974         (__ieee754_y1l).
8976         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8977         (atan_test_data): Likewise.
8978         (ceil_test_data): Likewise.
8979         (cos_test_data): Likewise.
8980         (cosh_test_data): Likewise.
8981         (erf_test_data): Likewise.
8982         (exp2_test_data): Likewise.
8983         (fabs_test_data): Likewise.
8984         (floor_test_data): Likewise.
8985         (ilogb_test_data): Likewise.
8986         (j0_test_data): Likewise.
8987         (j1_test_data): Likewise.
8988         (jn_test_data): Likewise.
8989         (lgamma_test_data): Likewise.
8990         (lrint_test_data): Likewise.
8991         (llrint_test_data): Likewise.
8992         (logb_test_data): Likewise.
8993         (lround_test_data): Likewise.
8994         (llround_test_data): Likewise.
8995         (nearbyint_test_data): Likewise.
8996         (rint_test_data): Likewise.
8997         (round_test_data): Likewise.
8998         (sin_test_data): Likewise.
8999         (sincos_test_data): Likewise.
9000         (sinh_test_data): Likewise.
9001         (sqrt_test_data): Likewise.
9002         (tan_test_data): Likewise.
9003         (tanh_test_data): Likewise.
9004         (tgamma_test_data): Likewise.
9005         (trunc_test_data): Likewise.
9006         (y0_test_data): Likewise.
9007         (y1_test_data): Likewise.
9008         (yn_test_data): Likewise.
9010         * math/libm-test.inc: Update comment about NaN testing.
9011         (TEST_SNAN): New macro.
9012         (snan_value): Likewise.
9013         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9014         (fpclassify_test_data): Add sNaN tests.
9015         (isfinite_test_data): Likewise.
9016         (isinf_test_data): Likewise.
9017         (isnan_test_data): Likewise.
9018         (isnormal_test_data): Likewise.
9019         (issignaling_test_data): Likewise.
9020         (signbit_test_data): Likewise.
9021         * math/gen-libm-test.pl (%beautify): Add snan_value.
9022         (show_exceptions): Add argument $test_snan.
9023         (parse_args): Handle snan_value as non-finite.  Update call to
9024         show_exceptions.
9025         * math/Makefile (libm-test-no-inline-cflags): Add
9026         -fsignaling-nans.
9028 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9030         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9031         (CFLAGS-oldsendmsg.c): Add rule.
9032         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9033         Correct recvmsg symbol name.
9034         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9035         Likewise.
9037 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9039         * sysdeps/unix/sysv/linux/Makefile
9040         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9041         oldsendmmsg.
9042         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9043         sendmmsg.
9044         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9045         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9046         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9047         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9049         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9050         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9052         Likewise.
9053         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9054         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9055         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9056         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9057         iovlen and controllen fields to adjust to POSIX specification.
9058         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9060         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9061         and change to correct expected type.
9062         (msghdr.msg_controllen): Likewise.
9063         (cmsghdr.cmsg_len): Likewise.
9064         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9065         expected POSIX assumption about the size.
9066         (msghdr.msg_controllen): Likewise.
9067         (msghdr.__glibc_reserved1): Likewise.
9068         (msghdr.__glibc_reserved2): Likewise.
9069         (cmsghdr.cmsg_len): Likewise.
9070         (cmsghdr.__glibc_reserved1): Likewise.
9071         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9072         Add ptw-oldrecvmsg and ptw-oldsendmsg.
9073         (CFLAGS-sendmsg.c): Remove rule.
9074         (CFLAGS-recvmsg.c): Likewise.
9075         (CFLAGS-oldsendmsg.c): Add rule.
9076         (CFLAGS-oldrecvmsg.c): Likewise.
9077         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9078         recvmsg and sendmsg.
9079         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9080         Likewise.
9081         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9082         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9083         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9084         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9085         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9086         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9087         Likewise.
9088         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9089         Likewise.
9090         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9091         Likewise.
9092         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9093         Likewise.
9094         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9095         Likewise.
9096         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9097         Likewise.
9098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9099         (GLIBC_2.24): Likewise.
9100         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9101         Likewise.
9102         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9103         Likewise.
9104         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9105         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9106         Likewise.
9107         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9108         Likewise.
9109         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9110         Likewise.
9111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9112         (GLIBC_2.24): Likewise.
9113         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9114         Likewise.
9115         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9116         Likewise.
9117         * sysdeps/unix/sysv/linux/Makefile
9118         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9119         (CFLAGS-sendmsg.c): Add rule.
9120         (CFLAGS-recvmsg.c): Likewise.
9121         (CFLAGS-oldsendmsg.c): Likewise.
9122         (CFLAGS-oldrecvmsg.c): Likewise.
9123         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9124         initialization.
9125         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9126         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9127         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9128         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9129         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9130         iovlen and controllen fields to adjust to POSIX specification.
9131         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9132         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9133         added recvmsg and sendmsg.
9134         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9135         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9136         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9137         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9138         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9139         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9140         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9141         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9142         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9143         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9144         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9145         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9147         Likewise.
9148         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9150         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9151         Likewise.
9152         Likewise.
9153         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9154         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9155         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9157         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9160         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9162         Likewise.
9163         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9164         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9166         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9167         from auto-generation.
9168         (sendmsg): Likewise.
9169         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9170         (sendmsg): Likewise.
9171         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9172         (sendmsg): Likewise.
9173         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9174         (sendmsg): Likewise.
9175         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9176         (sendmsg): Likewise.
9177         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9178         (sendmsg): Likewise.
9179         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9180         Likewise.
9181         (sendmsg): Likewise.
9182         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9183         (sendmsg): Likewise.
9184         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9185         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9186         Remove.
9187         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9188         Likewise.
9189         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9190         Undefine.
9191         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9192         Likewise.
9193         * sysdeps/unix/sysv/linux/kernel-features.h
9194         (__ASSUME_SENDMSG_SYSCALL): Define.
9195         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9196         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9197         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9198         Remove.
9199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9200         Likewise.
9201         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9202         Undefine.
9203         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9204         Likewise.
9205         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9207         Remove.
9208         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9209         Likewise.
9210         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9211         Undefine.
9212         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9213         Likewise.
9214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9215         (__ASSUME_SENDMSG_SYSCALL): Undefine.
9216         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9217         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9218         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9219         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9220         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9221         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9222         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9224 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9226         * stdlib/gen-tst-strtod-round.c: Add backslash to
9227         compile command in comment.
9228         (printfp): Remove the literal suffix, and define an infinite
9229         value as INF to avoid expansion clash with INFINITY.
9230         (round_str): Remove the literal suffix.
9231         (round_for_all): Likewise, remove the now duplicate ldbl-64
9232         entry, and remove some magic constants.
9234         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
9235         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
9236         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
9237         (_CONCAT): New macro.
9238         (CONCAT): Likewise.
9239         (CHOOSE_ld): Likewise.
9240         (CHOOSE_f): Likewise.
9241         (CHOOSE_d): Likewise.
9242         (FTYPE_MEMBER): Likewise.
9243         (BOOL_MEMBER): Likewise.
9244         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
9245         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
9246         (_XNTRY): Likewise.
9247         (XNTRY): Likewise.
9248         (_ENTRY): Likewise.
9249         (ENTRY): Likewise.
9250         (test_exactness): Generate members via macro.
9251         (test_results): Likewise.
9252         (test): Update members.
9253         (TEST): Redefine using new macros.
9254         (INF): New macro.
9255         (fetestmodes): New structure.
9256         (do_test): Refactor to be type generic.
9257         (test_in_one_mode): Refactor duplicate code into
9258         (GEN_ONE_TEST): New macro.
9260         * stdlib/tst-strtod-round-data.h: Regenerate.
9262         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
9263         Extend to pass additional arbitrary parameters to
9264         generators.
9266 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
9268         [BZ #15479]
9269         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
9270         floating-point state after first floating-point operation on
9271         input.  Restore full floating-point state instead of just rounding
9272         mode.
9273         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9274         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9275         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9276         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9277         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9279         [BZ #15479]
9280         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
9281         floating-point state after first floating-point operation on
9282         input.  Restore full floating-point state instead of just rounding
9283         mode.
9284         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9285         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9286         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9287         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9288         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9290 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9292         [BZ #19727]
9293         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
9294         valid high surrogate.
9295         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
9296         of an utf16 surrogate.
9297         * iconv/gconv_simple.c (BODY): Likewise.
9298         * iconvdata/bug-iconv12.c: New file.
9299         * iconvdata/Makefile (tests): Add bug-iconv12.
9301 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9303         [BZ #19726]
9304         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
9305         outptrp in case of an illegal input.
9306         * iconv/tst-iconv6.c: New file.
9307         * iconv/Makefile (tests): Add tst-iconv6.
9309 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9311         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
9312         an error in case of a value in range of an utf16 low surrogate.
9314 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9316         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
9317         an error in case of a value in range of an utf16 low surrogate.
9319 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9321         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
9322         Move to ...
9323         * sysdeps/s390/Makefile: ... here.
9324         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
9325         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
9326         (BRANCH_ON_COUNT): New define.
9327         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
9328         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
9329         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
9330         run on s390-32, too.
9331         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
9332         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
9333         run on s390-32, too.
9334         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
9335         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
9336         run on s390-32, too.
9338 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9340         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
9341         etf3eh or new vector loop-variant.
9343 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9345         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
9346         etf3eh or new vector loop-variant.
9348 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9350         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
9351         or new vector loop-variant.
9353 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9355         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
9356         Rename to TR_LOOP and usage of tr instead of troo instruction.
9358 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9360         * sysdeps/s390/multiarch/gconv_simple.c: New File.
9361         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
9363 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9365         * sysdeps/s390/multiarch/8bit-generic.c: New File.
9366         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
9367         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
9368         New override define.
9369         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
9371 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9373         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
9374         * sysdeps/s390/configure.ac: Add test for S390 vector register
9375         support in gcc.
9376         * sysdeps/s390/configure: Regenerated.
9378 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9380         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
9381         Install file from $(objpfx)gconv-modules.
9382         ($(objpfx)gconv-modules): Concatenate architecture specific file
9383         in variable sysdeps-gconv-modules and gconv-modules in src dir.
9384         * sysdeps/s390/gconv-modules: New file.
9385         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
9386         Deleted.
9387         ($(objpfx)gconv-modules-s390): Deleted.
9388         (sysdeps-gconv-modules): New variable.
9390 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
9392         [BZ #15479]
9393         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
9394         of immediate operand to rounding instruction.
9395         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
9396         Likewise.
9397         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
9398         Likewise.
9399         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
9400         Likewise.
9402 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9404         * math/libm-test.inc (MIN_EXP): Directly define as
9405         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
9407 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9409         * math/libm-test.inc (MANT_DIG): Directly define as
9410         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
9412 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9414         * stdlib/gen-tst-strtod-round.c (main):
9415           Change usage to more closely match the generated
9416           output.  Add usage and compilation instructions.
9417           (string_to_fp): Add and use FILE* parameter as
9418           output target.
9419           (print_fp): Likewise.
9420           (round_str): Likewise.
9421           (round_for_all): Likewise.
9422         * stdlib/tst-strtod-round.c (tests): Move into
9423         * stdlib/tst-strtod-round-data.h: New file.
9425 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
9427         [BZ #15479]
9428         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
9429         (__round): Do not force "inexact" exception.
9430         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
9431         variable.
9432         (__round): Do not force "inexact" exception.
9433         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
9434         (__roundf): Do not force "inexact" exception.
9435         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
9436         (__roundl): Do not force "inexact" exception.
9437         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
9438         (__roundl): Do not force "inexact" exception.
9439         * math/libm-test.inc (round_test_data): Do not allow spurious
9440         "inexact" exceptions.
9442         [BZ #15479]
9443         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
9444         exception in comment.
9445         (huge): Remove variable.
9446         (__floor): Do not force "inexact" exception.
9447         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
9448         "inexact" exception in comment.
9449         (huge): Remove variable.
9450         (__floor): Do not force "inexact" exception.
9451         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
9452         exception in comment.
9453         (huge): Remove variable.
9454         (__floorf): Do not force "inexact" exception.
9455         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
9456         exception in comment.
9457         (huge): Remove variable.
9458         (__floorl): Do not force "inexact" exception.
9460         [BZ #15479]
9461         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
9462         exception in comment.
9463         (huge): Remove variable.
9464         (__ceil): Do not force "inexact" exception.
9465         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
9466         "inexact" exception in comment.
9467         (huge): Remove variable.
9468         (__ceil): Do not force "inexact" exception.
9469         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
9470         (__ceilf): Do not force "inexact" exception.
9471         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
9472         exception in comment.
9473         (huge): Remove variable.
9474         (__ceill): Do not force "inexact" exception.
9476 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9478         * config.h.in (BIND_NOW): New.
9479         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
9480         * configure: Regenerated.
9481         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
9482         indirect branch via the GOT slot.
9484 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9486         [BZ #19765]
9487         * sysdeps/s390/mempcpy.S: New File.
9488         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9489         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
9490         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9491         Add mempcpy variants.
9492         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
9493         (memcpy): Adjust to be usable from mempcpy entry point.
9494         (__memcpy_mvcle): Likewise.
9495         * sysdeps/s390/s390-64/memcpy.S: Likewise.
9496         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
9497         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
9498         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
9499         (__memcpy_z10): Likewise.
9500         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9502 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9504         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
9505         Remove __GI_ symbol.
9506         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
9507         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
9508         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
9509         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9510         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
9511         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
9513 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9515         * sysdeps/s390/s390-64/memcpy.S (memcpy):
9516         Use cghi instead of chi to compare 64bit value.
9518 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9520         * sysdeps/s390/s390-32/memcpy.S (memcpy):
9521         Jump to 1MB check before executing mvc-loop.
9523 2016-05-24  Florian Weimer  <fweimer@redhat.com>
9525         [BZ #6527]
9526         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
9527         unconditionally.
9528         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
9530 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9532         * stdlib/tst-strtod6.c (do_test): Use new type generic
9533         invocation of the test function.
9534         (test): Refactor into ...
9535         (TEST_STRTOD): New macro base function.
9537 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9539         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
9540         (TEST_STRTOD): New macro.
9541         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
9543 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9545         * stdlib/tst-strtod6.c (do_test): Use new type generic
9546         invocation of the test function.
9547         (test): Refactor into ...
9548         (TEST_STRTOD): New macro base function.
9550 2016-05-23  Florian Weimer  <fweimer@redhat.com>
9552         CVE-2016-4429
9553         [BZ #20112]
9554         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
9555         payload.
9557 2016-05-23  Florian Weimer  <fweimer@redhat.com>
9559         [BZ #20111]
9560         * bits/sockaddr.h (_SS_SIZE): Define.
9561         * bits/socket.h (_SS_SIZE): Remove.
9562         (_SS_PADSIZE): Adjust to account for all padding.
9563         (struct sockaddr_storage): Update comment.  Avoid implicit
9564         padding.
9565         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
9566         (_SS_PADSIZE): Adjust to account for all padding.
9567         (struct sockaddr_storage): Update comment.  Avoid implicit
9568         padding.
9569         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
9570         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
9571         (_SS_PADSIZE): Adjust to account for all padding.
9572         (struct sockaddr_storage): Update comment.  Avoid implicit
9573         padding.
9574         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
9575         __SS_SIZE is 126 in this version.
9576         * inet/tst-sockaddr.c: New file.
9577         * inet/Makefile (tests): Add tst-sockaddr.c
9578         (tst-sockaddr.c): Compile with non-strict aliasing.
9580 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
9582         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
9583         [XPG3 || XPG4].
9584         (NL_ARGMAX): Also expect for [XPG3].
9585         (NL_LANGMAX): Likewise.
9586         (NL_MSGMAX): Likewise.
9587         (NL_NMAX): Likewise.
9588         (NL_SETMAX): Likewise.
9589         (NL_TEXTMAX): Likewise.
9590         (NZERO): Likewise.
9591         (TMP_MAX): Likewise.
9592         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
9593         variable.
9595         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
9596         (PF_MAX): Update value.
9597         (AF_KCM): New macro.
9598         (SOL_NETBEUI): Likewise.
9599         (SOL_LLC): Likewise.
9600         (SOL_DCCP): Likewise.
9601         (SOL_NETLINK): Likewise.
9602         (SOL_TIPC): Likewise.
9603         (SOL_RXRPC): Likewise.
9604         (SOL_PPPOL2TP): Likewise.
9605         (SOL_BLUETOOTH): Likewise.
9606         (SOL_PNPIPE): Likewise.
9607         (SOL_RDS): Likewise.
9608         (SOL_IUCV): Likewise.
9609         (SOL_CAIF): Likewise.
9610         (SOL_ALG): Likewise.
9611         (SOL_NFC): Likewise.
9612         (SOL_KCM): Likewise.
9613         (MSG_BATCH): New enum value and macro.
9615 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
9617         [BZ #18185]
9618         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
9619         sharing L2 cache to 2 for Knights Landing.
9621 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
9623         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
9624         (FTW_DP): Do not expect for [XPG3 || XPG4].
9625         (FTW_SL): Do not expect for [XPG3].
9626         (FTW_SLN): Likewise.
9627         (FTW_PHYS): Likewise.
9628         (FTW_MOUNT): Likewise.
9629         (FTW_DEPTH): Likewise.
9630         (FTW_CHDIR): Likewise.
9631         (nftw): Likewise.
9632         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
9633         variable.
9635 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
9637         * manual/errno.texi: Fix various typos & grammar errors.
9639 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
9641         * manual/intro.texi: Fix duplicated typo.
9643 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
9645         [BZ #13304]
9646         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
9647         <float.h>, <math_private.h> and <stdlib.h>.
9648         (add_split): New function.
9649         (mul_split): Likewise.
9650         (ext_val): New typedef.
9651         (store_ext_val): New function.
9652         (mul_ext_val): New function.
9653         (compare): New function.
9654         (add_split_ext): New function.
9655         (__fmal): After checking for Inf, NaN and zero, compute result as
9656         an exact sum of scaled double values in round-to-nearest before
9657         adding those up and adjusting for other rounding modes.
9658         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
9659         tests of fma.
9660         * math/auto-libm-test-out: Regenerated.
9662 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9664         [BZ #20119]
9665         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
9666         processor level type mask for CPUID with EAX == 11.
9668 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9670         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
9671         logical threads if the HTT bit is 0.
9672         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
9673         (index_cpu_HTT): Likewise.
9674         (reg_HTT): Likewise.
9676 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9678         [BZ #20115]
9679         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
9680         Remove alignments on jump targets.
9682 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
9684         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
9685         (getpwent): Likewise.
9686         (setpwent): Likewise.
9687         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
9688         variable.
9690         * conform/data/search.h-data (insque): Do not expect for [XPG3].
9691         (remque): Likewise.
9692         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
9693         variable.
9695 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
9697         * math/libm-test.inc: Update comment not to refer to signs of NaNs
9698         not being tested.
9700 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9702         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9703         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
9704         call.
9705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9706         (__condvar_cleanup1): Likewise.
9708 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9710         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
9711         New
9712         (__pthread_unwind): Renamed to ...
9713         (PTHREAD_UNWIND): This.
9714         (__pthread_enable_asynccancel): Replace
9715         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
9717 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
9719         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
9720         (CLONE_NEWCGROUP): New macro.
9722         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
9723         (Q_GETNEXTQUOTA): New macro.
9725 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9727         [BZ #19907]
9728         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
9729         buffer updated by the previous run.
9730         * string/test-memcpy.c (do_one_test): Likewise.
9731         * benchtests/bench-memmove.c (do_one_test): Add a comment.
9732         * string/test-memmove.c (do_one_test): Likewise.
9734 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
9736         [BZ #20094]
9737         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
9738         not [__USE_XOPEN].
9739         (unlockpt): Likewise.
9740         (ptsname): Likewise.
9741         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
9742         variable.
9744         [BZ #20076]
9745         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
9746         instead of [__USE_UNIX98].
9747         (S_ISSOCK): Likewise.
9748         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
9749         variable.
9751         [BZ #20074]
9752         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
9753         [__USE_POSIX].
9754         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
9755         variable.
9757         [BZ #20051]
9758         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
9759         (ttyslot): Do not declare.
9760         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
9761         (ttyslot): New prototype.
9762         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
9763         variable.
9764         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9766 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9768         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
9770 2016-05-13  Florian Weimer  <fweimer@redhat.com>
9772         Fix race condition in tst-mallocfork2, use fewer resources.
9773         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
9774         to current process group.
9775         (signal_sender): Yield in the non-sleeping case.
9777 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
9779         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
9780         (ecvt): Likewise.
9781         (fcvt): Likewise.
9782         (gcvt): Likewise.
9783         (getsubopt): Likewise.
9784         (grantpt): Likewise.
9785         (initstate): Likewise.
9786         (l64a): Likewise.
9787         (mktemp): Likewise.
9788         (mkstemp): Likewise.
9789         (ptsname): Likewise.
9790         (random): Likewise.
9791         (realpath): Likewise.
9792         (setstate): Likewise.
9793         (srandom): Likewise.
9794         (ttyslot): Likewise.
9795         (unlockpt): Likewise.
9796         (valloc): Likewise.
9798         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
9799         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
9800         variable.
9802 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9804         [BZ #20072]
9805         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
9806         init_cpu_features only if SHARED is defined.
9807         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
9809 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9811         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
9812         non-inclusive caches on Intel processors.
9814 2016-05-13  Florian Weimer  <fweimer@redhat.com>
9816         * malloc/malloc.c (dumped_main_arena_start)
9817         (dumped_main_arena_end): New variables.
9818         (DUMPED_MAIN_ARENA_CHUNK): New macro.
9819         (do_check_chunk): Skip dumped fake mmapped chunks.
9820         (munmap_chunk): Likewise.
9821         (__libc_free): Do not adjust statistics for fake mmapped chunks.
9822         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
9823         mmapped chunks.
9824         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
9825         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
9826         and dumped_main_arena_end to cover the dumped heap.
9828 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
9830         * conform/data/time.h-data (getdate_err): Do not expect for
9831         [XPG3].
9832         (getdate): Likewise.
9833         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
9834         variable.
9836         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
9837         (F_ULOCK): Likewise.
9838         (F_TEST): Likewise.
9839         (F_TLOCK): Likewise.
9840         (useconds_t): Likewise.
9841         (intptr_t): Do not expect for [XPG3] or [XPG4].
9842         (brk): Do not expect for [XPG3]
9843         (fchown): Likewise.
9844         (fchdir): Likewise.
9845         (ftruncate): Likewise.
9846         (getdtablesize): Likewise.
9847         (gethostid): Likewise.
9848         (getpagesize): Likewise.
9849         (getpgid): Likewise.
9850         (getsid): Likewise.
9851         (getwd): Likewise.
9852         (lchown): Likewise.
9853         (lockf): Likewise.
9854         (readlink): Likewise.
9855         (sbrk): Likewise.
9856         (setpgrp): Likewise.
9857         (setregid): Likewise.
9858         (setreuid): Likewise.
9859         (symlink): Likewise.
9860         (sync): Likewise.
9861         (truncate): Likewise.
9862         (ualarm): Likewise.
9863         (usleep): Likewise.
9864         (vfork): Likewise.
9865         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
9866         variable.
9868         [BZ #20054]
9869         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
9870         not [__USE_UNIX98].
9871         * conform/data/unistd.h-data (gethostname): Do not expect for
9872         [XPG3].
9874         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
9875         [!POSIX] (S_IFBLK): Likewise.
9876         [!POSIX] (S_IFCHR): Likewise.
9877         [!POSIX] (S_IFIFO): Likewise.
9878         [!POSIX] (S_IFREG): Likewise.
9879         [!POSIX] (S_IFDIR): Likewise.
9880         [!POSIX] (S_IFLNK): Likewise.
9881         [!POSIX] (S_IFSOCK): Likewise.
9882         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
9883         variable.
9884         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9886 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
9888         * sysdeps/aarch64/memset.S (__memset):
9889         Rewrite of optimized memset.
9891 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9893         [BZ #19703]
9894         Partially async-signal-safe fork for single-threaded processes.
9895         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
9896         variable.  Do not acquire and reset/release malloc and libio locks
9897         in single-threaded processes.
9898         * malloc/tst-mallocfork2.c: New file.
9899         * malloc/Makefile (tests): Add it.
9901 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9903         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
9904         argument.  Use scratch buffer instead of extend_alloca.
9905         (gethosts): Use scratch buffer instead of extend_alloca.
9906         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
9907         extend_alloca.
9908         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
9910 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
9912         [BZ #20055]
9913         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
9914         instead of [__USE_UNIX98].
9915         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
9916         [__USE_UNIX98].
9917         * conform/data/termios.h-data (tcgetsid): Do not expect for
9918         [XPG3].
9919         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
9920         variable.
9921         (test-xfail-XPG4/termios.h/conform): Likewise.
9923 2016-05-11  Florian Weimer  <fweimer@redhat.com>
9925         Do not use mcheck in localedef.
9926         * locale/programs/localedef.c (turn_on_mcheck)
9927         (__malloc_initialize_hook): Remove.
9929 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9931         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
9932         * sysdeps/s390/s390-64/Makefile: Likewise.
9934 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9936         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
9937         Remove ifunc-defines.sym.
9938         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
9939         Likewise.
9940         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
9941         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9942         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9943         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9944         rtld-global-offsets.sym.
9945         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9946         * sysdeps/x86/cpu-features-offsets.sym: This.
9947         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9948         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9950 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9952         [BZ #20073]
9953         * io/sys/stat.h (fchmod): Declare for
9954         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9955         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9956         variable.
9958         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9959         [XPG3] (S_IFSOCK): Likewise.
9960         [XPG3] (S_ISVTX): Likewise.
9961         [XPG3] (S_ISLNK): Likewise.
9962         [XPG3] (S_ISSOCK): Likewise.
9963         [XPG3] (fchmod): Likewise.
9964         [XPG3] (lstat): Likewise.
9965         [XPG3] (mknod): Likewise.
9967         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9968         [XPG3].  Expect type long and XFAIL for [XPG4].
9969         (st_blocks): Likewise.
9971         [BZ #20044]
9972         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9973         (pthread_atfork): New prototype.
9974         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9975         variable.
9977         [BZ #20043]
9978         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9979         prototype.
9981 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9983         [BZ #20017]
9984         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9985         gmtime.
9987 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9989         [BZ #19994]
9990         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9991         flag in _res.options.
9993 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9995         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9996         [XPG3 || XPG4].
9997         (blksize_t): Likewise.
9998         (clockid_t): Likewise.
9999         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10000         variable.
10001         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10003 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10005         * sysdeps/unix/sysv/linux/s390/init-first.c:
10006         Add VDSO_SYMBOL(getcpu).
10007         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10008         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10009         Add VDSO_SYMBOL(getcpu).
10010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10011         New define HAVE_GETCPU_VSYSCALL.
10012         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10014 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10016         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10017         instead of <sysdeps/x86_64/cacheinfo.c>.
10018         * sysdeps/x86_64/cacheinfo.c: Moved to ...
10019         * sysdeps/x86/cacheinfo.c: Here.
10021 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10023         * malloc/malloc-internal.h: Adjust header file guard.
10025 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10027         [BZ #19787]
10028         * inet/getnameinfo.c (check_sprintf_result): New function.
10029         (CHECKED_SNPRINTF): New macro.
10030         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10031         to the host buffer.
10032         (gni_host_local): Use checked_copy to copy the host name.
10033         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10034         (gni_serv_local): Use checked_copy to copy the service name.
10035         (getnameinfo): Remove unnecessary truncation of result buffers.
10037 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10039         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10040         in case of inet_ntop failure.
10042 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10044         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10045         avoid long lines.
10046         (gni_host_inet_numeric): Likewise.  Reduce scope of local
10047         variables.
10048         (gni_host_inet, gni_host_local): Add comment.
10049         (gni_host): Add comment.  Use temporary to avoid long lines.
10051 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10053         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10054         registers specifiers where general purpose registers specifiers should
10055         have been used.
10057 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10059         [BZ #19779]
10060         CVE-2016-1234
10061         Avoid copying names of directory entries.
10062         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10063         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10064         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10065         (struct readdir_result): New type.
10066         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10067         (GL_READDIR): New macros.
10068         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10069         (convert_dirent, convert_dirent64): New functions.
10070         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
10071         convert_dirent64.  Adjust references to the readdir result.
10072         * sysdeps/unix/sysv/linux/i386/glob64.c:
10073         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10074         * posix/bug-glob2.c (LONG_NAME): Define.
10075         (filesystem): Add LONG_NAME.
10076         (my_DIR): Increase the size of room_for_dirent.
10078 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
10080         [BZ #20041]
10081         * misc/sys/select.h (__need_timespec): Only define if
10082         [__USE_XOPEN2K].
10083         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10084         variable.
10085         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10086         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10087         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10089 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10090             Segher Boessenkool  <segher@gcc.gnu.org>
10092         [BZ #20004]
10093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10094         (__novec_swapcontext): Add missing load.
10096 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
10098         [BZ #20023]
10099         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10100         <time.h>.
10101         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10102         variable.
10103         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10105 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10108         flags CLONE_VM compare.
10110 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10112         [BZ #20031]
10113         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10114         completely empty.
10116 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10118         [BZ #19573]
10119         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10120         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10121         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10122         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10123         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10124         (hesiod_free_list): Mark as hidden.
10125         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10126         res_set, res_get.
10127         * hesiod/hesiod.c: Remove unnecessary forward declarations.
10128         (init, __hesiod_res_get, __hesiod_res_set): Remove.
10129         (hesiod_init): Remove obsolete res_ninit call.
10130         (hesiod_end): Do not free resolver state.  Do not invoke callback.
10131         (hesiod_bind): Do not call init.
10132         (get_txt_records): Use res_mkquery, res_send instead of
10133         res_nmkquery, res_nsend.
10134         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10135         instead of _nss_hesiod_init.
10136         (_nss_hesiod_initgroups_dyn): Likewise.
10137         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10138         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10139         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10141 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10143         * hesiod/hesiod_p.h (DEF_RHS): Remove.
10144         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10146 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10148         * hesiod/hesiod.h: Remove RCS keyword.
10149         * hesiod/hesiod_p.h: Likewise.
10151         * hesiod/hesiod.c: Likewise.
10153 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
10155         [BZ #12450]
10156         * locale/iso-639.def: Add Samogitian/sgs.
10158 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10160         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10162         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10164 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
10165             Carlos O'Donell  <carlos@redhat.com>
10167         [BZ #19072]
10168         * grp/Makefile (headers): Add grp-merge.h
10169         (routines): Add grp-merge.
10170         * grp/getgrgid_r.c: Include grp-merge.h.
10171         (DEEPCOPY_FN): Define.
10172         (MERGE_FN): Define.
10173         * grp/getgrname_r.c: Include grp-merge.h.
10174         (DEEPCOPY_FN): Define.
10175         (MERGE_FN): Define.
10176         * grp/grp-merge.c: New file.
10177         * grp/grp-merge.h: New file.
10178         * include/grp-merge.h: New file.
10179         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10180         __copy_grp@GLIBC_PRIVATE.
10181         * manual/nss.texi (Actions in the NSS configuration): Describe
10182         return, continue, and merge.
10183         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10184         (DEEPCOPY_FN): Define.
10185         (MERGE_FN): Define.
10186         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10187         (DEEPCOPY_FN): Define.
10188         (MERGE_FN): Define.
10189         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10190         [!MERGE_FN]: Define __merge_einval.
10191         (CHECK_MERGE): Define.
10192         (REENTRANT_NAME): Process merge if do_merge is true.
10193         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10194         (__nss_getent_r): Likewise.
10195         * nss/nsswitch.c (nss_parse_service_list): Likewise.
10196         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10198 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10200         [BZ #20012]
10201         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10202         length to calculate the buffer to read.
10203         (fmemopen_write): Set the buffer position based on bytes written.
10204         (fmemopen_seek): Return EINVAL for invalid whence modes.
10206         [BZ #19957]
10207         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10208         tst-getpid2.
10209         (test): Add tst-clone2.
10210         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10211         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10212         pid/tid fields for CLONE_VM.
10213         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10214         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10215         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10216         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10217         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10218         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10219         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10220         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10222         Likewise.
10223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10224         Likewise.
10225         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10226         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10227         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10228         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10229         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10230         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10231         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10232         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
10234 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10236         [BZ #19642]
10237         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
10238         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
10239         (gni_serv_local, gni_serv): New functions extracted from
10240         getnameinfo.
10241         (getnameinfo): Call gni_host and gni_serv to perform the
10242         processing.  Always free scratch buffer.
10244 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10246         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
10247         remaining bytes in the dest string, with zeros.
10249 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10251         [BZ #20010]
10252         CVE-2016-3706
10253         * sysdeps/posix/getaddrinfo.c
10254         (convert_hostent_to_gaih_addrtuple): New function.
10255         (gethosts): Call convert_hostent_to_gaih_addrtuple.
10256         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
10257         AF_INET data.
10259 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10261         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
10262         callback function gl_readdir.
10263         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
10264         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
10265         (glob_in_dir): Remove len.  Use strdup instead of malloc and
10266         memcpy to copy the name.
10267         * manual/pattern.texi (Calling Glob): Document requirements for
10268         implementations of the gl_readdir callback function.
10269         * manual/examples/mkdirent.c: New example.
10270         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
10271         per the manual guidance.
10272         * posix/tst-gnuglob.c (my_readdir): Likewise.
10274 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
10276         [BZ #20014]
10277         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
10278         not [__USE_POSIX].
10279         (getchar_unlocked): Likewise.
10280         (putc_unlocked): Likewise.
10281         (putchar_unlocked): Likewise.
10282         (flockfile): Likewise.
10283         (ftrylockfile): Likewise.
10284         (funlockfile): Likewise.
10285         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
10286         variable.
10287         (test-xfail-XPG4/stdio.h/conform): Likewise.
10289         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
10290         Expect constant.
10291         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
10292         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
10293         variable.
10294         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10295         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10297         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
10298         [__USE_LARGEFILE64] (off64_t): Likewise.
10299         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
10300         variable.
10302 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10304         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
10306 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10308         * resolv/inet_addr.c: Reindent preprocessor conditionals.
10309         * resolv/res_init.c: Likewise.
10310         * resolv/res_mkquery.c: Likewise.
10312 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10314         * resolv/res_init.c (isascii): Do not define.  Use definition in
10315         <ctype.h>.
10316         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
10317         (LOG_AUTH): Remove.
10318         (SPRINTF): Remove, adjust caller.
10319         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
10321 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10323         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
10324         SUNSECURITY conditional.
10325         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
10327 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10329         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
10330         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
10331         Remove BSD-related preprocessor conditionals.
10332         * conf/portability.h: Remove.
10334 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10336         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
10337         * resolv/res_data.c: Likewise.
10339 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10341         * resolv/res_comp.c: Remove code conditional on __ultrix__.
10342         * resolv/res_data.c: Remove code conditional on ultrix.
10344 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10346         * resolv/res_init.c (RFC1535): Do not define.  Remove
10347         RFC1535 preprocessor conditionals.
10348         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
10349         because there configuration options which make the resolver
10350         behavior different.
10352 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10354         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
10355         RESOLVSORT preprocessor conditionals.
10356         * resolv/nss_dns/dns-host.c: Likewise.
10357         * resolv/res_init.c: Likewise.
10359 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10361         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
10362         is never defined.
10364 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10366         * inet/inet_lnaof.c: Remove SCSS keyword.
10367         * inet/inet_mkadr.c: Likewise.
10368         * inet/inet_net.c: Likewise.
10369         * inet/inet_netof.c: Likewise.
10370         * inet/rcmd.c: Likewise.
10371         * inet/rexec.c: Likewise.
10372         * inet/ruserpass.c: Likewise.
10374 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10376         * resolv/inet_addr.c: Remove _LIBC conditionals.
10377         * resolv/res_data.c: Likewise.
10378         * resolv/res_init.c: Likewise.
10379         * resolv/res_mkquery.c: Likewise.
10380         * resolv/res_libc.c: Update comment.
10381         * resolv/README: Update.
10383 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10385         * resolv/gethnamaddr.c: Remove SCSS keyword.
10386         * resolv/herror.c: Likewise.
10387         * resolv/inet_addr.c: Likewise.
10388         * resolv/inet_net_ntop.c: Likewise.
10389         * resolv/inet_net_pton.c: Likewise.
10390         * resolv/inet_neta.c: Likewise.
10391         * resolv/inet_ntop.c: Likewise.
10392         * resolv/inet_pton.c: Likewise.
10393         * resolv/ns_date.c: Remove RCS keyword.
10394         * resolv/ns_name.c: Likewise.
10395         * resolv/ns_netint.c: Likewise.
10396         * resolv/ns_parse.c: Likewise.
10397         * resolv/ns_print.c: Likewise.
10398         * resolv/ns_samedomain.c: Likewise.
10399         * resolv/ns_ttl.c: Likewise.
10400         * resolv/nsap_addr.c: Likewise.
10401         * resolv/res_comp.c: Remove SCSS and RCS keyword.
10402         * resolv/res_data.c: Remove RCS keyword.
10403         * resolv/res_debug.c: Remove SCSS and RCS keyword.
10404         * resolv/res_init.c: Likewise.
10405         * resolv/res_mkquery.c: Likewise.
10406         * resolv/res_query.c: Likewise.
10407         * resolv/res_send.c: Likewise.
10409 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
10411         * conform/data/stdio.h-data (fdopen): Expect also for
10412         [XPG3 || XPG4].
10414         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
10415         (fseeko): Likewise.
10416         (ftello): Likewise.
10417         (ftrylockfile): Likewise.
10418         (funlockfile): Likewise.
10419         (getc_unlocked): Likewise.
10420         (getchar_unlocked): Likewise.
10421         (putc_unlocked): Likewise.
10422         (putchar_unlocked): Likewise.
10424 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10426         [BZ #19868]
10427         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
10428         DNS packet syntax checks (which were not needed before).  Skip
10429         over non-PTR records.
10431 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10433         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
10434         definition.  Include <stddef.h> instead.
10436 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10438         [BZ #19831]
10439         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
10440         function.
10441         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
10442         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
10444 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10446         [BZ #19862]
10447         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
10448         (getanswer_r): Do not call syslog.
10449         (gaih_getanswer_slice): Likewise.
10450         * resolv/gethnamaddr.c (AskedForGot): Remove.
10451         (getanswer): Do not call syslog.
10452         (gethostbyaddr): Likewise.
10454 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
10456         * conform/data/signal.h-data (union sigval): Expect also if
10457         [XOPEN2K].
10458         (struct sigevent): Likewise.
10459         (SIGEV_NONE): Likewise.
10460         (SIGEV_SIGNAL): Likewise.
10461         (SIGEV_THREAD): Likewise.
10462         (SIGRTMIN): Likewise.
10463         (SIGRTMAX): Likewise.
10464         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
10465         variable.
10466         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10468 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10470         [BZ #19830]
10471         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
10472         (gaih_getanswer_slice): Likewise.
10473         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
10474         Also check for availability of RR metadata.
10476 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10478         [BZ #19825]
10479         * resolv/res_send.c (send_vc): Remove early *resplen2
10480         initialization.  Set *resplen2 on socket error.  Call
10481         close_and_return_error for other errors.
10483 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10485         * sysdeps/unix/sysv/linux/netiucv/iucv.h
10486         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
10487         (SCM_IUCV_TRGCLS): New define.
10489 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10491         [BZ #20005]
10492         * libio/fmemopen.c (fmemopen_write): Update internal position after
10493         write.
10494         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
10495         * stdio-common/tst-fmemopen4.c: New file..
10497 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
10499         [BZ #19996]
10500         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
10501         not [__USE_XOPEN2K].
10502         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
10503         variable.
10505         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
10506         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
10507         variable.
10509         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
10510         [__USE_XOPEN2K8].
10511         [__USE_LARGEFILE64] (off64_t): Likewise.
10512         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
10513         variable.
10515 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
10517         [BZ #19989]
10518         * libio/stdio.h (cuserid): Do not declare if
10519         [__USE_XOPEN2K && !__USE_GNU].
10520         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
10521         variable.
10523 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10525         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10526         (sysdep_routines): Add P8 and PPC64 strcspn targets.
10527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10528         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
10529         ifunc'ed strcspn.
10530         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10531         [EALIGN]: Removed.
10532         [END]: Likewise
10533         [STRSPN]: Define instead of the above to control symbol name.
10534         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
10535         New file.
10536         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
10537         Likewise.
10538         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
10539         Likewise.
10540         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
10541         Likewise.
10542         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10543         [INITIAL_MASK]: New macro.
10544         [STRCSPN]: Likewise.
10545         [UPDATE_MASK]: Likewise.
10546         [USE_AS_STRCSPN]: Likewise.
10548 2016-04-25  Florian Weimer  <fweimer@redhat.com>
10550         [BZ #19931]
10551         * stdio-common/tst-vfprintf-width-prec.c: New file.
10552         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
10553         (tests-special): Add tst-vfprintf-width-prec-mem.out.
10554         (generated): Add mtrace-related files.
10555         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
10556         (tst-%-mem.out): New pattern rule, replaces
10557         tst-printf-bz18872-mem.out.
10558         * stdio-common/vfprintf.c (vfprintf): When handling a precision
10559         specifier, deallocate any previously allocated work buffer.
10561 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
10563         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
10564         Add nop before __startcontext, add explaining comments.
10566 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
10568         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
10569         any more. Notably since IPV6_PKTINFO has been reintroduced with a
10570         completely different API.
10572         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
10573         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
10574         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
10575         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
10576         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
10577         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
10578         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
10579         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
10580         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
10581         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
10583 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
10585         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
10587 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
10589         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
10590         when it is the default of 0.
10592 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10594         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
10595         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10596         (sysdep_routines): Add new strcasestr targets.
10597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10598         (__libc_ifunc_impl_list): Likewise.
10599         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
10600         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
10601         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
10602         * sysdeps/powerpc/powerpc64/power8/Makefile:
10603         New file to add strcasestr-ppc64 to sysdep_routines.
10604         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
10605         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
10607 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
10609         * benchtests/Makefile (wcsmbs-benchset): Include only for
10610         native builds and runs.
10611         (LOCALES): Likewise.
10612         (bench-build): Build timing-type here instead of the bench
10613         target.  Generate locale only for native builds.
10614         * benchtests/README: Add note for cross-building.
10616         * benchtests/Makefile (bench-clean): Clean up extra-objs.
10618         * benchtests/README: Update README to include instructions on
10619         using bench-build.
10621         * Makefile.in (bench-build): New target.
10622         * Rules (PHONY): Add bench-build target.
10623         * benchtests/Makefile (bench): Depend on bench-build.
10624         (bench-build): New target.
10626 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10628         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
10629         profil_reply_port.
10630         (profile_waiter): Do not initialize profil_reply_port.
10631         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
10632         frequency instead of tick length in us.
10634 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
10636         [BZ #18712]
10637         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
10638         (__old_mempcpy_small): Likewise.
10639         (__old_strcpy_small): Likewise.
10640         (__old_stpcpy_small): Likewise.
10641         (__old_strpbrk_c2): Fix compat symbol name.
10642         (__old_strpbrk_c3): Likewise.
10643         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
10644         (__mempcpy_small): Remove.
10645         (__strcpy_small): Remove.
10646         (__stpcpy_small): Remove.
10648 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
10650         [BZ #19400]
10651         * locale/iso-639.def: Add the Talossan/tzl language.
10653 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
10655         [BZ #16983]
10656         * locale/programs/ld-address.c (address_finish): Update postal_fmt
10657         comment.  Add "ln" to strchr check on postal_fmt.
10659 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
10661         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
10662         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
10663         tel_dom_fmt.
10665 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10667         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10668         (sysdep_routines): Added __strlen_power8.
10669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
10670         __strlen_power8 entry.
10671         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
10672         Implementation for POWER8.
10673         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
10674         for __strlen_power8.
10675         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
10676         Implementation for POWER8.
10678 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
10680         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
10682 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
10684         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
10685         Goldmont and Airmont processors.
10687 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
10689         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
10690         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
10691         (__STRING2_SMALL_GET32): Remove.
10692         (memset): Remove.
10693         (__memset_1): Remove.
10694         (__memset_gc): Remove.
10695         (__mempcpy): Remove.
10696         (mempcpy): Remove.
10697         (__mempcpy_args): Remove.
10698         (strchr): Remove.
10699         (strcpy): Remove.
10700         (strcpy_args): Remove.
10701         (__stpcpy_args): Remove.
10702         (__strcmp_cc): Remove.
10703         (__strcmp_gc): Remove.
10704         (strstr): Remove.
10706 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
10708         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
10709         * nis/nis_call.c (nis_server_cache_add): Likewise.
10711 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10713         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
10715 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10717         * malloc/arena.c (__malloc_fork_lock_parent)
10718         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
10719         internal_function attribute.
10721 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
10723         * stdio-common/printf_fp.c (__printf_fp_l):
10724         Rename ___printf_fp_l to __printf_fp_l and
10725         remove strong alias. Use libc_hidden_def instead
10726         of ldbl_hidden_def macro.
10728 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10730         Remove malloc hooks from fork handler.  They are no longer needed
10731         because malloc runs right before fork, and no malloc calls from
10732         other fork handlers are not possible anymore.
10733         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
10734         declarations.
10735         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
10736         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
10737         (atfork_recursive_cntr): Remove.
10738         (__malloc_fork_lock_parent): Do not override malloc hooks and
10739         thread_arena.
10740         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
10741         thread_arena.
10742         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
10743         thread_arena instead of save_arena.
10745 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10747         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
10748         (thread_atfork, thread_atfork_static): Remove.
10749         * sysdeps/mach/hurd/malloc-machine.h:
10750         (thread_atfork, thread_atfork_static): Remove.
10752 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10754         [BZ #19431]
10755         Run the malloc fork handler as late as possible to avoid deadlocks.
10756         * malloc/malloc-internal.h: New file.
10757         * malloc/malloc.c: Include it.
10758         * malloc/arena.c (ATFORK_MEM): Remove.
10759         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
10760         Update comment.
10761         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
10762         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
10763         Remove outdated comment.
10764         (ptmalloc_init): Do not call thread_atfork.  Remove
10765         thread_atfork_static.
10766         * malloc/tst-malloc-fork-deadlock.c: New file.
10767         * Makefile (tests): Add tst-malloc-fork-deadlock.
10768         (tst-malloc-fork-deadlock): Link against libpthread.
10769         * manual/memory.texi (Aligned Memory Blocks): Update safety
10770         annotation comments.
10771         * sysdeps/nptl/fork.c (__libc_fork): Call
10772         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10773         __malloc_fork_unlock_child.
10774         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
10776 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10778         [BZ #19613]
10779         Remove union wait.
10780         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
10781         (w_stopsig, w_stopval): Remove.
10782         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
10783         stat_loc argument.
10784         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
10785         (__WAIT_STATUS_DEFN): Remove.
10786         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10787         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
10788         (wait, wait3, wait4): Use int * for the stat_loc argument.
10789         * posix/wait.c (__wait): Likewise.
10790         * posix/wait3.c (__wait3): Likewise.
10791         * posix/wait4.c (__wait4): Likewise.
10792         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
10793         (__WAIT_STATUS_DEFN): Remove.
10794         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10795         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
10796         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
10797         argument.
10798         * sysdeps/posix/wait.c (__libc_wait): Likewise.
10799         * sysdeps/posix/wait3.c (__wait3): Likewise.
10800         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
10801         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10802         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
10803         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
10804         stat_loc argument.
10805         * manual/process.texi (BSD Wait Functions): Remove union wait.
10807 2016-04-13  Andreas Schwab  <schwab@suse.de>
10809         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
10810         (test-extras): Add tst-tlsalign-vars.
10811         * math/Makefile: Wrap long lines.
10812         (libm-vec-test-wrappers): Define.
10813         (test-extras): Add $(libm-vec-test-wrappers).
10814         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
10815         * nss/Makefile (extra-test-objs): Add nss_test1.os.
10816         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
10817         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
10818         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
10819         (extra-test-objs): Add corresponding objects.
10821 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
10823         [BZ #19928]
10824         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
10825         New.
10826         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
10827         times of shared cache size.
10828         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
10829         (VMOVNT): New.
10830         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
10831         (VMOVNT): Likewise.
10832         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10833         (VMOVNT): Likewise.
10834         (VMOVU): Changed to movups for smaller code sizes.
10835         (VMOVA): Changed to movaps for smaller code sizes.
10836         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
10837         comments.
10838         (PREFETCH): New.
10839         (PREFETCH_SIZE): Likewise.
10840         (PREFETCHED_LOAD_SIZE): Likewise.
10841         (PREFETCH_ONE_SET): Likewise.
10842         Rewrite to use forward and backward loops, which move 4 vector
10843         registers at a time, to support overlapping addresses and use
10844         non temporal store if size is above the threshold and there is
10845         no overlap between destination and source.
10847 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
10849         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
10850         Include dl-vdso.
10851         * sysdeps/unix/sysv/linux/mips/Versions: Add
10852         __vdso_clock_gettime.
10853         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
10854         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
10855         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
10856         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
10857         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
10858         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10859         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10860         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10861         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10863 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10865         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
10866         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
10867         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10868         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10869         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10870         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10873         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
10874         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
10875         syscalls generation.
10876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10877         [__NR_pwrite64] (__NR_write): Remove define.
10878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10879         [__NR_pwrite64] (__NR_write): Remove define.
10880         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
10881         Remove define.
10882         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
10883         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
10884         Remove define.
10885         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
10886         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
10887         Linux implementation as base.
10888         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10890         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
10891         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
10892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
10895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10896         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
10897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
10898         syscall generation.
10899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10900         [__NR_pread64] (__NR_pread): Remove define.
10901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10902         [__NR_pread64] (__NR_pread): Likewise.
10903         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
10904         define.
10905         (__libc_pread): Use SYSCALL_LL macro on offset argument.
10906         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
10907         Remove define.
10908         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
10909         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
10910         Linux implementation as base.
10911         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10912         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10913         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10915         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
10916         definition.
10917         (__ALIGNMENT_COUNT): Likewise.
10918         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
10919         (__ALIGNMENT_COUNT): Likewise.
10920         (SYSCALL_LL): New define.
10921         (SYSCALL_LL64): Likewise.
10922         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
10923         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
10924         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
10925         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
10927         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10928         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
10929         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10930         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10931         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10932         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10934 2016-04-11  Florian Weimer  <fweimer@redhat.com>
10936         [BZ #19865]
10937         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
10938         original buffer before retry.
10940 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10942         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10943         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10944         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10945         GLRO(dl_auxv) list.
10946         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10947         including <ldsodefs.h>.
10948         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10950 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10952         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10953         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10954         $(CPPFLAGS).
10956 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10958         [BZ #17950]
10959         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10960         Add -mfpmath=387.
10962 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10964         * sysdeps/i386/configure.ac: Change == to = when calling test.
10965         * sysdeps/x86_64/configure.ac: Likewise.
10966         * sysdeps/i386/configure: Regenerated.
10967         * sysdeps/x86_64/configure: Likewise.
10969 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10971         [BZ #16137]
10972         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10973         * benchtests/bench-strcoll.c (input_files): Likewise.
10974         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10975         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10976         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10978 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10980         [BZ #19929]
10981         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10982         [__USE_XOPEN2K8 && !__USE_GNU].
10983         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10984         variable.
10986         [BZ #19925]
10987         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10988         define if [!__USE_MISC && __USE_XOPEN2K].
10989         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10990         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10991         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10992         Likewise.
10993         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10994         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10995         variable.
10996         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10998 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11000         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11001         (sysdep_routines): Add new strspn targets.
11002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11003         (__libc_ifunc_impl_list): Add strspn.
11004         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11005         New file.
11006         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11007         Likewise.
11008         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11009         Likewise.
11010         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11011         Likewise.
11013 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11015         * misc/hsearch_r.c: Include <limits.h>.
11017 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11019         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11021 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11023         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11024         (MEMCPY_SYMBOL): New.
11025         (MEMPCPY_SYMBOL): Likewise.
11026         (MEMMOVE_CHK_SYMBOL): Likewise.
11027         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11028         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11029         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
11030         Provide alias for memcpy in libc.a and ld.so.
11032 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11034         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11035         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
11036         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11037         Disabled fro now.
11038         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11039         symbols.  Properly check USE_MULTIARCH on __memset symbols.
11041 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11043         * benchtests/Makefile (string-benchset): Add memcpy-large,
11044         memmove-large and memset-large.
11045         * benchtests/bench-memcpy-large.c: New file.
11046         * benchtests/bench-memmove-large.c: Likewise.
11047         * benchtests/bench-memmove-large.c: Likewise.
11048         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11050 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11052         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11053         32-bit displacement to avoid long nop between instructions.
11055 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11057         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11058         a comment on VMOVU and VMOVA.
11060 2016-04-04  Florian Weimer  <fweimer@redhat.com>
11062         [BZ #19633]
11063         Use specified locale for number formatting in strfmon_l.
11064         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11065         (__nl_lookup_word): New inline functions.
11066         * include/printf.h (__print_fp_l): Declare.
11067         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11068         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
11069         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11070         (___printf_fp): New function.
11071         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11072         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11073         * stdlib/tst-strfmon_l.c (do_test): New test.
11074         * stdlib/Makefile (tests): Add kt.
11075         (LOCALES): Build additional locales.
11076         (tst-strfmon_l.out): Require locales.
11078 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11080         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11081         if not in libc.
11082         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11083         Likewise.
11084         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11085         Likewise.
11086         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11087         Likewise.
11089 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11091         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11092         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11093         with unaligned_erms.
11094         (__memmove_erms): Skip if source == destination.
11095         (__memmove_unaligned_erms): Don't check source == destination
11096         first.
11098 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11100         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11101         bit_arch_Fast_Copy_Backward for Intel Core proessors.
11103 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11105         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11106         * string/strspn.c (strspn): Likewise.
11108 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11110         * benchtests/bench-memset.c (do_test): Support 64-byte
11111         alignment.
11112         (test_main): Test 64-byte alignment.
11114 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11116         * benchtests/bench-memmove.c (test_main): Test 64-byte
11117         alignment.
11119 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11121         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11123 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11125         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11126         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11127         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11129         * string/strpbrk.c (strpbrk): Rewrite function.
11130         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11131         (__strpbrk_c2): Likewise.
11132         (__strpbrk_c3): Likewise.
11133         * string/string-inlines.c
11134         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11135         Likewise.
11136         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11137         Likewise.
11139         * string/strspn.c (strcspn): Rewrite function.
11140         * string/bits/string2.h (strspn): Use __builtin_strcspn.
11141         (__strspn_c1): Remove inline function.
11142         (__strspn_c2): Likewise.
11143         (__strspn_c3): Likewise.
11144         * string/string-inlines.c
11145         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11146         compatibility symbol.
11147         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11148         Likewise.
11149         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11150         Likewise.
11151         * string/string-inlines.c: Include generic version.
11153 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
11154             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11156         * string/Version (libc): Add GLIBC_2.24.
11157         * string/strcspn.c (strcspn): Rewrite function.
11158         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11159         (__strcspn_c1): Remove inline function.
11160         (__strcspn_c2): Likewise.
11161         (__strcspn_c3): Likewise.
11162         * string/string-inline.c
11163         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11164         compatibility symbol.
11165         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11166         Likewise.
11167         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11168         Likewise.
11169         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11171 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11173         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11174         Use ahi instead of aghi to adjust stack pointer.
11176 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11178         [BZ #19853]
11179         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11180         TEST to take significant digits as second parameter.
11181         [TEST]: Redefine in terms of TEST_N taking 30
11182         significant digits.
11183         (do_test): Add test case to demonstrate precision
11184         failure in the ldbl-128ibm printf.
11185         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11186         (__mpn_extract_long_double): Carry 7 extra intermediate
11187         bits of precision to aide computing difference when
11188         signs differ.
11190 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11192         [BZ #19881]
11193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11194         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11195         memset-avx512-unaligned-erms.
11196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11197         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11198         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11199         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11200         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11201         __memset_sse2_unaligned_erms, __memset_erms,
11202         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11203         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11204         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11205         file.
11206         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11207         Likewise.
11208         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11209         Likewise.
11210         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11211         Likewise.
11213 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11215         [BZ #19776]
11216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11217         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11218         memmove-avx512-unaligned-erms.
11219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11220         (__libc_ifunc_impl_list): Test
11221         __memmove_chk_avx512_unaligned_2,
11222         __memmove_chk_avx512_unaligned_erms,
11223         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
11224         __memmove_chk_sse2_unaligned_2,
11225         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
11226         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
11227         __memmove_avx512_unaligned_erms, __memmove_erms,
11228         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
11229         __memcpy_chk_avx512_unaligned_2,
11230         __memcpy_chk_avx512_unaligned_erms,
11231         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
11232         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
11233         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
11234         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
11235         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
11236         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
11237         __mempcpy_chk_avx512_unaligned_erms,
11238         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
11239         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
11240         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
11241         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
11242         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
11243         __mempcpy_erms.
11244         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
11245         file.
11246         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11247         Likewise.
11248         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11249         Likewise.
11250         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11251         Likewise.
11253 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11255         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
11256         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
11257         (La_s390_64_regs): Likewise.
11258         (La_s390_32_retval): Append vector register lrv_v24.
11259         (La_s390_64_retval): Likeweise.
11260         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11261         Handle extended structs La_s390_32_regs and La_s390_32_retval.
11262         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11263         Handle extended structs La_s390_64_regs and La_s390_64_retval.
11265 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11267         [BZ #19916]
11268         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
11269         to create a non-vector/vector version for _dl_runtime_resolve and
11270         _dl_runtime_profile. Move implementation to ...
11271         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
11272         (_dl_runtime_resolve) Save and restore fpr/vrs.
11273         (_dl_runtime_profile) Save and restore vrs and fix some issues
11274         if _dl_call_pltexit is called.
11275         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
11276         Choose the correct resolver function if running on a machine with vx.
11277         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
11278         to create a non-vector/vector version for _dl_runtime_resolve and
11279         _dl_runtime_profile. Move implementation to ...
11280         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
11281         (_dl_runtime_resolve) Save and restore fpr/vrs.
11282         (_dl_runtime_profile) Save and restore vrs and fix some issues
11283         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
11284         Choose the correct resolver function if running on a machine with vx.
11286 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11288         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
11290 2016-03-31  Florian Weimer  <fweimer@redhat.com>
11292         [BZ #19509]
11293         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
11294         skip_map != NULL.
11295         * elf/tst-dlsym-error.c: New file.
11296         * elf/Makefile (tests): Add tst-dlsym-error.
11297         (tst-dlsym-error): Link against libdl.
11299 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
11301         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11302         (__ASSUME_FUTIMESAT): Remove macro.
11303         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
11305 2016-03-29  Florian Weimer  <fweimer@redhat.com>
11307         [BZ #19879]
11308         CVE-2016-3075
11309         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
11310         copy name.
11312 2016-03-29  Florian Weimer  <fweimer@redhat.com>
11314         [BZ #19837]
11315         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
11316         error if parse_line fails.
11318 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11320         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
11321         (index_cpu_ERMS): Likewise.
11322         (reg_ERMS): Likewise.
11324 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
11326         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
11327         PER_LINUX_FDPIC): Add.
11329 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11332         memcpy-avx512-no-vzeroupper.
11333         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
11334         to ...
11335         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
11336         (MEMCPY): Don't define.
11337         (MEMCPY_CHK): Likewise.
11338         (MEMPCPY): Likewise.
11339         (MEMPCPY_CHK): Likewise.
11340         (MEMPCPY_CHK): Renamed to ...
11341         (__mempcpy_chk_avx512_no_vzeroupper): This.
11342         (MEMPCPY_CHK): Renamed to ...
11343         (__mempcpy_chk_avx512_no_vzeroupper): This.
11344         (MEMCPY_CHK): Renamed to ...
11345         (__memmove_chk_avx512_no_vzeroupper): This.
11346         (MEMCPY): Renamed to ...
11347         (__memmove_avx512_no_vzeroupper): This.
11348         (__memcpy_avx512_no_vzeroupper): New alias.
11349         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
11351 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11353         [BZ #18858]
11354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11355         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
11356         and mempcpy-avx512-no-vzeroupper.
11357         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
11358         New.
11359         (MEMPCPY): Likewise.
11360         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
11361         (MEMPCPY_CHK): New.
11362         (MEMPCPY): Likewise.
11363         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
11364         (MEMPCPY): Likewise.
11365         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
11366         (MEMPCPY): Likewise.
11367         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
11368         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
11369         Likewise.
11370         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
11371         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
11373 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11374              Amit Pawar  <Amit.Pawar@amd.com>
11376         [BZ #19583]
11377         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11378         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
11379         processors.  Set Fast_Copy_Backward for AMD Excavator
11380         processors.
11381         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
11382         New.
11383         (index_arch_Fast_Unaligned_Copy): Likewise.
11384         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
11385         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
11387 2016-03-25  Florian Weimer  <fweimer@redhat.com>
11389         [BZ #19791]
11390         * resolv/res_send.c (close_and_return_error): New function.
11391         (send_dg): Initialize *resplen2 after reopen failure.  Call
11392         close_and_return_error for error returns.  On error paths without
11393         __res_iclose, initialze *resplen2 explicitly.  Update comment for
11394         successful return.
11396 2016-03-25  Florian Weimer  <fweimer@redhat.com>
11398         [BZ# 19860]
11399         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
11400         zero if the compiler does not provide the AVX512F bit.
11402 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
11404         [BZ #19848]
11405         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
11406         from 8 to 4.
11407         (__ieee754_powl): Compare integer exponent against 4 not 8.
11408         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
11409         from 8 to 4.
11410         (__ieee754_powl): Compare integer exponent against 4 not 8.
11411         * math/auto-libm-test-in: Add more tests of pow.
11412         * math/auto-libm-test-out: Regenerated.
11413         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11416 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
11418         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
11419         Make code unconditional.
11420         [!__NR_utimensat]: Remove conditional code.
11421         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
11422         Make code unconditional.
11423         [!__NR_utimensat]: Remove conditional code.
11424         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
11425         Make code unconditional.
11426         [!__NR_utimensat]: Remove conditional code.
11428 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
11430         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
11431         Make code unconditional.
11433 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
11435         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
11436         call-clobbered %eax on retry path.
11437         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11439 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11441         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
11442         Don't set %rcx twice before "rep movsb".
11444 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11446         [BZ #19583]
11447         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
11448         inline.  Check family before setting family, model and
11449         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
11450         bits here.
11451         (init_cpu_features): Replace HAS_CPU_FEATURE and
11452         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
11453         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
11454         for Intel processors with usable AVX2.  Call get_common_indeces
11455         for other processors with family == NULL.
11456         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
11457         (CPU_FEATURES_ARCH_P): Likewise.
11458         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
11459         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
11461 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11463         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
11464         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
11465         $(shared-thread-library) instead of hardcoding the path to libpthread.
11467 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
11469         * sysdeps/unix/sysv/linux/kernel-features.h
11470         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
11471         * sysdeps/unix/sysv/linux/getdents.c
11472         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
11473         [!have_no_getdents64_defined]: Likewise.
11474         (__GETDENTS): Remove __have_no_getdents64 conditional.
11476 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
11478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
11479         Remove macro.
11480         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
11481         <kernel-features.h>.
11482         (signalfd) [__NR_signalfd4]: Make code unconditional.
11483         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
11485 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11487         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
11488         style.
11490 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11492         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
11493         (__pthread_enable_asynccancel): Use JUMPTARGET to call
11494         __pthread_unwind.
11495         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11496         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
11497         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11498         (__condvar_cleanup1): Likewise.
11500 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
11502         [BZ #19822]
11503         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
11504         move it to the final $@ location.
11506 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11508         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
11509         access where posix_spawn success and pid argument is null.
11510         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
11511         success case.
11513 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
11515         * sysdeps/mach/hurd/i386/c++-types.data: New file.
11517         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
11519         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
11520         and __fcntl.
11521         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
11522         __fcntl only.
11523         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
11524         adding attribute_hidden to __open and __fcntl.
11526         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
11527         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
11528         depend on libc-modules.h,
11529         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
11531 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
11533         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
11534         Remove macro.
11535         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
11536         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
11537         entry.
11539         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
11540         Remove macro.
11541         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
11542         include <kernel-features.h>.
11543         [!__ASSUME_FALLOCATE]: Remove conditional code.
11544         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
11546 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11548         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
11549         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
11550         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
11551         (_ZGVdN4v_cos_avx2): Likewise.
11552         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
11553         (_ZGVdN4v_cos): Likewise.
11554         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
11555         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
11556         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
11557         (_ZGVdN4v_exp_avx2): Likewise.
11558         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
11559         (_ZGVdN4v_exp): Likewise.
11560         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
11561         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
11562         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
11563         (_ZGVdN4v_log_avx2): Likewise.
11564         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
11565         (_ZGVdN4v_log): Likewise.
11566         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
11567         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
11568         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
11569         (_ZGVdN4vv_pow_avx2): Likewise.
11570         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
11571         (_ZGVdN4vv_pow): Likewise.
11572         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
11573         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
11574         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
11575         (_ZGVdN4v_sin_avx2): Likewise.
11576         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
11577         (_ZGVdN4v_sin): Likewise.
11578         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
11579         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
11580         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
11581         (_ZGVdN4vvv_sincos_avx2): Likewise.
11582         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
11583         (_ZGVdN4vvv_sincos): Likewise.
11584         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
11585         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
11586         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
11587         (_ZGVbN4v_cosf_sse4): Likewise.
11588         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
11589         (_ZGVdN8v_cosf_avx2): Likewise.
11590         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
11591         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
11592         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
11593         (_ZGVbN4v_expf_sse4): Likewise.
11594         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
11595         (_ZGVdN8v_expf_avx2): Likewise.
11596         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
11597         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
11598         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
11599         (_ZGVbN4v_logf_sse4): Likewise.
11600         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
11601         (_ZGVdN8v_logf_avx2): Likewise.
11602         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
11603         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
11604         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
11605         (_ZGVbN4vv_powf_sse4): Likewise.
11606         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
11607         (_ZGVdN8vv_powf_avx2): Likewise.
11608         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11609         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
11610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11611         (_ZGVbN4vvv_sincosf_sse4): Likewise.
11612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11613         (_ZGVdN8vvv_sincosf_avx2): Likewise.
11614         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
11615         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
11616         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
11617         (_ZGVbN4v_sinf_sse4): Likewise.
11618         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
11619         (_ZGVdN8v_sinf_avx2): Likewise.
11620         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
11621         Use JUMPTARGET to call callee.
11622         (WRAPPER_IMPL_SSE2_ff): Likewise.
11623         (WRAPPER_IMPL_SSE2_fFF): Likewise.
11624         (WRAPPER_IMPL_AVX): Likewise.
11625         (WRAPPER_IMPL_AVX_ff): Likewise.
11626         (WRAPPER_IMPL_AVX_fFF): Likewise.
11627         (WRAPPER_IMPL_AVX512): Likewise.
11628         (WRAPPER_IMPL_AVX512_ff): Likewise.
11629         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
11630         Likewise.
11631         (WRAPPER_IMPL_SSE2_ff): Likewise.
11632         (WRAPPER_IMPL_SSE2_fFF): Likewise.
11633         (WRAPPER_IMPL_AVX): Likewise.
11634         (WRAPPER_IMPL_AVX_ff): Likewise.
11635         (WRAPPER_IMPL_AVX_fFF): Likewise.
11636         (WRAPPER_IMPL_AVX512): Likewise.
11637         (WRAPPER_IMPL_AVX512_ff): Likewise.
11638         (WRAPPER_IMPL_AVX512_fFF): Likewise.
11640 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11642         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
11643         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
11644         qualifier.
11645         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
11646         internal_function qualifiers.
11648 2016-03-15  Carlos O'Donell <carlos@redhat.com>
11650         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
11651         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
11652         * math/atest-exp.c (exp_mpn): Mark chk unused.
11653         * math/atest-exp2.c (exp_mpn): Likewise.
11654         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
11655         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
11657 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
11659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
11660         Remove macro.
11661         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
11662         <kernel-features.h>.
11663         [__NR_ppoll]: Make code unconditional.
11664         [!__ASSUME_PPOLL]: Remove conditional code.
11666         * sysdeps/unix/sysv/linux/kernel-features.h
11667         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
11668         (__ASSUME_ACCEPT4): Likewise.
11669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11670         Define.
11671         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
11672         Likewise.
11673         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11674         Likewise.
11675         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
11676         Likewise.
11677         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
11678         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
11679         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11680         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11681         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11683         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11684         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11685         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11686         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11687         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11688         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11689         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11691         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11692         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11693         Likewise.
11694         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11695         Likewise.
11696         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11697         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11698         0x040300].
11699         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11700         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11701         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11702         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11703         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11704         0x030300].
11705         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
11706         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11707         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11708         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11709         0x040300].
11710         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11713         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11714         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11715         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11716         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11717         0x030300].
11718         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11719         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11720         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11722         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11723         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11724         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11725         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11726         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11727         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11728         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11729         0x040300].
11730         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11731         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11732         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11733         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11734         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11735         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11736         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11737         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11738         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11739         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11740         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11741         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11742         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11743         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11744         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
11745         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11746         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11747         Likewise.
11748         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11749         Likewise.
11751 2016-03-15  Andreas Schwab  <schwab@suse.de>
11753         [BZ #19257]
11754         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
11755         statp->_u._ext.nscount as loop count.
11757 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11759         * math/test-signgam-finite-c99.c: Also #undef
11760         __LIBC_INTERNAL_MATH_INLINES.
11761         * math/test-signgam-main.c: Likewise.
11763 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
11765         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
11766         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11767         (MADV_FREE): Likewise.
11768         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
11769         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
11770         EPOLLEXCLUSIVE.
11772 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
11774         * timezone/README: Remove mention of checktab.awk. Mention wiki
11775         SharedSourceFiles.
11777 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
11779         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
11780         WUNTRACED.
11782 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11784         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
11785         order to match the type of p when calling atomic_exchange_acq().
11787 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11789         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
11790         cfi_offset calls.
11791         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
11792         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
11793         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
11794         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
11795         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
11797 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
11799         * timezone/checktab.awk: Removed.
11801 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
11803         * manual/math.texi (Errors in Math Functions): Document relaxed
11804         accuracy goals for IBM long double.
11805         * math/libm-test.inc (test_exceptions): Always allow spurious
11806         "underflow" and "inexact" exceptions for IBM long double.
11808 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
11810         [BZ #19762]
11811         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11812         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
11813         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
11814         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
11815         (bit_arch_*): This for feature array.
11816         (bit_*): Renamed to ...
11817         (bit_cpu_*): This for cpu array.
11818         (index_*): Renamed to ...
11819         (index_arch_*): This for feature array.
11820         (index_*): Renamed to ...
11821         (index_cpu_*): This for cpu array.
11822         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
11823         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
11824         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
11825         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
11826         bit_##name with index_cpu_##name and bit_cpu_##name.
11827         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
11828         bit_##name with index_arch_##name and bit_arch_##name.
11830 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
11832         [BZ #19792]
11833         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
11834         Terminate FDE before return label.
11836 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
11838         [BZ #19790]
11839         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
11840         (rintl): Define as macro.
11841         [USE_AS_NEARBYINTL] (__rintl): Likewise.
11842         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
11843         of fesetround.  Ensure results are evaluated before end of scope.
11844         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
11845         USE_AS_NEARBYINTL and include s_rintl.c.
11846         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
11847         Disable exception traps in new environment.
11848         (libc_feholdsetround_ppc_ctx): Likewise.
11850 2016-03-08  Roland McGrath  <roland@hack.frob.com>
11852         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
11853         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
11854         (tst_audit10_aux) [__AVX512F__]: ... here.
11856 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
11858         * include/sys/auxv.h: New file.
11860 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11862         [BZ #19759]
11863         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
11865 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11867         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
11868         operand modifier.
11869         (feclearexcept): Likewise.
11871 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11873         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
11874         to reflect the entire 32-bit HWCAP.
11875         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
11876         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
11878 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11880         [BZ #19783]
11881         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
11882         $(test-via-rtld-prefix).
11883         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
11885 2016-03-08  Florian Weimer  <fweimer@redhat.com>
11887         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
11888         union wait.  Report any non-zero exit status as error.
11890 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11892         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
11893         configured with --enable-hardcoded-path-in-tests.
11895 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
11897         [BZ #19677]
11898         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11899         (__ieee754_remainderl): Put zero low parts in canonical form.
11900         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
11901         file.  Based on
11902         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
11903         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
11904         with wrapper round test-fmodrem-ldbl-128ibm.c.
11905         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
11906         file.
11907         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
11908         Likewise.
11909         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11910         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
11912 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11914         [BZ #19610]
11915         * elf/ldconfig.c (opt_link): Update comment.
11916         (options): Update help string for option -X.
11917         (search_dir): Unlink stale symbolic link only if updating symbolic
11918         links.
11919         * elf/tst-ldconfig-X.sh: New file.
11920         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
11921         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
11923 2016-03-07  Andreas Schwab  <schwab@suse.de>
11925         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
11926         needed arguments.
11928 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
11930         [BZ #15333]
11931         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
11932         to lstat64.
11934 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11936         * libio/filedoalloc.c (isatty): Remove.
11937         (local_isatty): Add comment.  Call __isatty directly.
11938         (_IO_file_doallocate): Update comment.  Assume _LIBC.
11939         * libio/wfiledoalloc.c (isatty): Remove.
11940         (_IO_wfile_doallocate): Update comment.
11942 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11944         [BZ #19269]
11945         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11946         tst-audit4-aux.o.
11947         (tst-audit10): Depend on tst-audit10-aux.o.
11948         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11949         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11950         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11951         instead of inline AVX code.
11952         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11953         instead of inline AVX512 code.
11954         * sysdeps/x86_64/tst-audit4-aux.c: New file
11955         * sysdeps/x86_64/tst-audit10-aux.c: New file
11957         [BZ #19648]
11958         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11960 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11962         [BZ #14750]
11963         [BZ #10354]
11964         [BZ #18433]
11965         * include/sched.h (__clone): Add hidden prototype.
11966         (__clone2): Likewise.
11967         * include/unistd.h (__dup): Likewise.
11968         * posix/Makefile (tests): Add tst-spawn2.
11969         * posix/tst-spawn2.c: New file.
11970         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11971         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11972         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11973         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11974         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11975         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11976         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11977         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11978         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11979         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11980         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11982         Likewise.
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11984         Likewise.
11985         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11986         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11987         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11988         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11989         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11990         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11991         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11992         * sysdeps/unix/sysv/linux/nptl-signals.h
11993         (____nptl_is_internal_signal): New function.
11994         * sysdeps/unix/sysv/linux/spawni.c: New file.
11996         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11997         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11998         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11999         * posix/tst-execvp2.c (do_test): Likewise.
12000         * posix/tst-execvp3.c (do_test): Likewise.
12001         * posix/tst-execvp4.c (do_test): Likewise.
12002         * posix/tst-execvpe1.c: New file.
12003         * posix/tst-execvpe2.c: Likewise.
12004         * posix/tst-execvpe3.c: Likewise.
12005         * posix/tst-execvpe4.c: Likewise.
12006         * posix/tst-execvpe5.c: Likewise.
12007         * posix/tst-execvpe6.c: Likewise.
12009         [BZ #19534]
12010         * posix/execl.c (execl): Remove dynamic memory allocation.
12011         * posix/execle.c (execle): Likewise.
12012         * posix/execlp.c (execlp): Likewise.
12014 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12016         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12017         Replace .text with .text.avx512.
12018         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12019         Likewise.
12021 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
12023         * sysdeps/generic/libnsl.abilist: New file.
12024         * sysdeps/generic/libutil.abilist: New file.
12026 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12028         [BZ #19762]
12029         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12030         HAS_ARCH_FEATURE with Fast_Rep_String.
12031         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12032         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12033         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12034         Likewise.
12035         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12036         Likewise.
12037         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12038         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12039         Likewise.
12040         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12041         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12042         Likewise.
12044 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12046         [BZ #19745]
12047         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12048         with *%rax in call.
12050 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12052         [BZ #19745]
12053         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12054         with *__libc_start_main@GOTPCREL(%rip) in call.
12056 2016-03-04  Roland McGrath  <roland@hack.frob.com>
12058         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12059         inside conditional for nonempty $(CXX).
12061         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12062         nonempty.
12064         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12065         to test for empty $(CXX) rather than $(CXX) of "no".
12067 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12069         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12071 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
12072             H.J. Lu  <hongjiu.lu@intel.com>
12074         [BZ #18880]
12075         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12076         instead of Slow_BSF, and also check for Fast_Copy_Backward to
12077         enable __memcpy_ssse3_back.
12079 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12081         [BZ #19758]
12082         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12083         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12085 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12087         [BZ #19490]
12088         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12089         (__fentry__): Likewise.
12091 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12093         * gmon/Makefile (noprof): Add $(sysdep_noprof).
12094         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12096 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12098         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12099         __mcount_internal directly.
12100         (C_LABEL(__fentry__)): Likewise.
12101         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12102         directly.
12104 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12106         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12107         (__start_context): Call __setcontext directly.
12109 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
12111         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12112         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12113         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12114         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12115         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12116         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12117         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12118         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12119         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12120         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12121         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12122         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12123         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12124         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12125         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12126         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12127         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12128         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12129         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12130         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12131         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12132         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12133         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12134         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12135         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12136         Remove conditional code.
12137         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12138         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12139         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12140         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12141         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12142         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12143         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12144         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12145         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12146         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12147         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12148         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12150 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
12152         * NEWS (2.23): Fix typo in bug 19048 text.
12154 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
12156         [BZ #14259]
12157         * Makeconfig: Rename msgcatdir to localedir.
12158         Rename inst_msgcatdir to inst_localedir.
12159         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12160         * config.make.in: Add localedir.
12161         * elf/Makefile ($(objpfx)sotruss): Use localedir.
12162         (ldd-rewrite): Likewise.
12163         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12164         (install-others): Use inst_localedir.
12165         (CPPFLAGS): Use localedir.
12166         * locale/Makefile (locale-CPPFLAGS): Likewise.
12167         * po/Makefile (mo-installed): Use inst_localedir.
12169         [BZ #19575]
12170         * localedata/charmaps/GB18030: Update comments regarding PAU to
12171         non-PUA mappings.
12173 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
12175         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12176         test for header.
12177         * sysdeps/unix/sysv/linux/configure: Regenerated.
12178         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12179         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12180         Remove conditional code.
12181         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12183         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12184         Define to 3.2.0.
12185         (arch_minimum_kernel): Likewise.
12186         * sysdeps/unix/sysv/linux/configure: Regenerated.
12187         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12188         Define to 2.6.32.
12189         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12190         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12191         (arch_minimum_kernel): Define to 2.6.32.
12192         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12193         * README: Document Linux 3.2 requirement.
12194         * manual/install.texi (Linux): Document Linux 3.2 headers
12195         requirement.
12196         * INSTALL: Regenerated.
12198 2016-02-24  Andreas Schwab  <schwab@suse.de>
12200         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12201         if !NO_LONG_DOUBLE.
12203 2016-02-22  Roland McGrath  <roland@hack.frob.com>
12205         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12206         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12208 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
12210         [BZ #19512]
12211         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12213 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12215         * posix/tst-dir.c: Include libc-internal.h.
12217 2016-02-20  Florian Weimer  <fweimer@redhat.com>
12219         [BZ #19056]
12220         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12221         * manual/filesys.texi (Reading/Closing Directory): Mention
12222         deprecaion.
12223         * posix/tst-dir.c (main): Disable deprecation warning in test.
12225 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
12227         [BZ #19679]
12228         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
12229         Renamed to ...
12230         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
12231         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12232         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
12233         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12234         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12235         * sysdeps/x86_64/dl-trampoline.h
12236         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12237         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12239 2016-02-19  Mark Wielaard  <mjw@redhat.com>
12241         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
12243 2016-02-19  Mark Wielaard  <mjw@redhat.com>
12245         * elf/elf.h (R_386_GOT32X): New.
12246         (R_386_NUM): Update.
12247         (R_X86_64_GOTPCRELX: New.
12248         (R_X86_64_REX_GOTPCRELX): New.
12249         (R_X86_64_NUM): Update.
12251 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
12253         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
12255 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
12257         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
12258         assign attr->stackaddr to it, and adjust it down when
12259         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
12260         [_STACK_GROWS_UP]: Delete assert.
12261         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
12262         Implement stack grows up logic.
12263         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
12264         stack grows up logic.
12266 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12268         * NEWS: Update with 2.24 template.
12270 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
12272         [BZ #19678]
12273         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12274         Ensure +0.0 is returned when taking the next value below the least
12275         positive value.
12277 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12279         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
12280         available.  Do not define NO_THREADS.
12281         * malloc/malloc.c: Do not check NO_THREADS.
12282         * malloc/arena.c: Likewise.
12284 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12286         * malloc/malloc.c (__libc_mallinfo): Update comment.
12287         (struct malloc_par): Remove max_total_mem member, it was always 0.
12288         (int_mallinfo): Store 0 into usmblks (no functional change).
12289         * malloc/hooks.c (struct malloc_state): Document that
12290         max_total_mem is always 0.
12291         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
12292         always 0.
12293         * manual/memory.texi (Statistics of Malloc): Likewise.
12295 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12297         * malloc/malloc.c (sysmalloc): Do not update arena_max.
12298         * malloc/arena.c (arena_max): Remove.
12299         (heap_trim, _int_new_arena): Do not update arena_max.
12301 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12303         * resolv/res_init.c (res_ninit): Update comment.
12305 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12307         [BZ #19505]
12308         * posix/spawn_int.h: Add headers and include guard.
12309         (__spawn_valid_fd): New function.
12310         * posix/spawn_faction_addopen.c
12311         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
12312         * posix/spawn_faction_addclose.c
12313         (posix_spawn_file_actions_addclose): Likewise.
12314         * posix/spawn_faction_adddup2.c
12315         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
12316         second file descriptor.
12317         * posix/spawn_valid_fd.c: New file.
12318         * posix/tst-posix_spawn-fd.c: New file.
12319         * posix/Makefile (routines): Add spawn_valid_fd.
12320         (tests): Add tst-posix_spawn-fd.
12322 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12324         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
12325         (do_test): Limit the number of arenas, so that we can use fewer
12326         outer threads.  Limit timeout to 3 seconds, in preparation for a
12327         larger TIMEOUT value.
12329 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
12331         [BZ #19674]
12332         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
12333         sign in overflowing and underflowing results when overflow or
12334         underflow is detected early.  Include sign in result before rather
12335         than after scaling.
12337         [BZ #19603]
12338         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12339         (__ieee754_remainderl): Adjust sign of integer version of low part
12340         when taking absolute value of high part.
12341         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12342         * math/libm-test.inc (remainder_test_data): Add another test.
12343         (remquo_test_data): Likewise.
12345 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
12347         [BZ #19602]
12348         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
12349         equal high parts and both low parts zero specially.
12350         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
12351         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12352         Add test-fmodl-ldbl-128ibm.
12354         [BZ #19595]
12355         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
12356         common logic for all cases of shifting subnormal results.  Do not
12357         insert sign bit in shifted mantissa.  Always pass -1023 as biased
12358         exponent to ldbl_insert_mantissa in subnormal case.
12360         [BZ #19594]
12361         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
12362         on high and low parts then adjust result and use
12363         ldbl_canonicalize_int if needed.
12365         [BZ #19593]
12366         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
12367         on high part and __floor or __ceil on low part then use
12368         ldbl_canonicalize_int if needed.
12370         [BZ #19592]
12371         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
12372         high and low parts then use ldbl_canonicalize_int if needed.
12374         [BZ #17899]
12375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
12376         New function.
12377         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
12378         on high and low parts then use ldbl_canonicalize_int if needed.
12380 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12382         * configure: Regenerated.
12384         * po/libc.pot: Regenerated.
12386         * po/be.po: Updated translation.
12387         * po/bg.po: Likewise.
12388         * po/ca.po: Likewise.
12389         * po/cs.po: Likewise.
12390         * po/da.po: Likewise.
12391         * po/el.po: Likewise.
12392         * po/eo.po: Likewise.
12393         * po/es.po: Likewise.
12394         * po/fi.po: Likewise.
12395         * po/fr.po: Likewise.
12396         * po/gl.po: Likewise.
12397         * po/hr.po: Likewise.
12398         * po/hu.po: Likewise.
12399         * po/ia.po: Likewise.
12400         * po/id.po: Likewise.
12401         * po/it.po: Likewise.
12402         * po/ja.po: Likewise.
12403         * po/lt.po: Likewise.
12404         * po/nb.po: Likewise.
12405         * po/nl.po: Likewise.
12406         * po/pt_BR.po: Likewise.
12407         * po/rw.po: Likewise.
12408         * po/sk.po: Likewise.
12409         * po/sl.po: Likewise.
12410         * po/sv.po: Likewise.
12411         * po/tr.po: Likewise.
12412         * po/zh_CN.po: Likewise.
12413         * po/zh_TW.po: Likewise.
12415         * version.h (RELEAES): Set to "development".
12416         (VERSION): Set to 2.23.90.
12418         * version.h (RELEASE): Set to "stable".
12419         (VERSION): Set to 2.23.
12420         * include/feature.h (__GLIBC_MINOR__): Set to 23.
12422         * NEWS: Updated fixed bugs.
12424 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
12425             Wilco Dijkstra  <wdijkstr@arm.com>
12427         [BZ #19462]
12428         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
12429         (_STRING_INLINE_unaligned): This.
12430         * include/string.h: Include <string_private.h>.
12431         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
12432         _STRING_INLINE_unaligned.
12433         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
12434         (_STRING_INLINE_unaligned): New.
12435         * sysdeps/aarch64/string_private.h: New file.
12436         * sysdeps/generic/string_private.h: Likewise.
12437         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
12438         * sysdeps/s390/string_private.h: Likewise.
12439         * sysdeps/x86/string_private.h: Likewise.
12440         * sysdeps/m68k/m680x0/m68020/bits/string.h
12441         (_STRING_ARCH_unaligned): Renamed to ...
12442         (_STRING_INLINE_unaligned): This.
12443         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
12444         to ...
12445         (_STRING_INLINE_unaligned): This.
12446         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
12447         to ...
12448         (_STRING_INLINE_unaligned): This.
12449         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
12450         to ...
12451         (_STRING_INLINE_unaligned): This.
12453 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12454             H.J. Lu  <hongjiu.lu@intel.com>
12456         [BZ #19590]
12457         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
12458         relocation.
12460 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
12462         [BZ #18665]
12463         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
12464         *herrno_p.
12465         (gaih_getanswer): Document functional behviour. Return tryagain
12466         if any result is tryagain.
12467         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
12468         when freed.
12469         * resolv/res_send.c: Add copyright text.
12470         (__libc_res_nsend): Document that MAXPACKET is expected.
12471         (send_vc): Document. Remove buffer reuse.
12472         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
12473         size of the buffer. Add Dprint for truncated UDP buffer.
12475 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
12477         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
12478         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
12479         * INSTALL: Regenerate.
12481 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
12482             Jonathan Wakely  <jwakely@redhat.com>
12483             Carlos O'Donell  <carlos@redhat.com>
12485         [BZ 19439]
12486         * math/Makefile (tests): Add test-math-isinff.
12487         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
12488         * math/bits/mathcalls.h [__USE_MISC]: Use
12489         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
12490         functions not in C++11 and which don't conflict e.g. isinff,
12491         isinfl etc.
12492         * math/test-math-isinff.cc: New file.
12494 2016-02-12  Florian Weimer  <fweimer@redhat.com>
12496         * misc/bug18240.c (do_test): Set RLIMIT_AS.
12498 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12500         [BZ #19529]
12501         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
12503 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12505         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12507 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
12509         [BZ #19550]
12510         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
12511         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
12512         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
12513         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
12514         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
12515         New syscall entry.
12516         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
12517         New syscall entry.
12518         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
12519         syscall entry.
12521 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
12523         [BZ #18240]
12524         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
12525         unsigned int wraparound.
12527 2016-01-27  Florian Weimer  <fweimer@redhat.com>
12529         [BZ #18240]
12530         * misc/bug18240.c: New test.
12531         * misc/Makefile (tests): Add it.
12533 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
12534             Joseph Myers  <joseph@codesourcery.com>
12536         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
12537         load in branch delay slot when less than a word of input left.
12539 2016-01-27  Andreas Schwab  <schwab@suse.de>
12541         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
12542         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
12543         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
12544         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
12546 2016-01-26  David S. Miller  <davem@davemloft.net>
12548         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
12550 2016-01-25  David S. Miller  <davem@davemloft.net>
12552         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
12553         __sqrtl_finite.
12554         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
12555         instead using versioned_symbol.
12556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
12557         of entries.
12559         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
12560         __sqrtl_finite to GLIBC_2.23
12562 2016-01-25  Ricchard Henderson  <rth@redhat.com>
12564         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12566 2016-01-25  Andreas Schwab  <schwab@suse.de>
12568         [BZ #17514]
12569         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
12570         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
12571         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
12572         * nptl/tst-mutex-errorcheck.c: New file.
12574 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12576         [BZ #18560]
12577         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
12578         (IPCOP_semop): Likewise.
12579         (IPCOP_semget): Likewise.
12580         (IPCOP_semctl): Likewise.
12581         (IPCOP_msgsnd): Likewise.
12582         (IPCOP_msgrcv): Likewise.
12583         (IPCOP_msgget): Likewise.
12584         (IPCOP_msgctl): Likewise.
12585         (IPCOP_shmat): Likewise.
12586         (IPCOP_shmdt): Likewise.
12587         (IPCOP_shmget): Likewise.
12588         (IPCOP_shmctl): Likewise.
12590 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12592         * string/tst-endian.c: Include <libc-internal.h>.
12593         (do_test): Ignore tautological-compare warnings around
12594         "htobeXX (beXXtoh (i)) != i" and
12595         "htoleXX (leXXtoh (i)) != i" if-statements.
12597 2016-01-24  David S. Miller  <davem@davemloft.net>
12599         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
12600         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
12601         alias.
12602         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12603         __sqrtl_finite.
12605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12607 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
12609         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
12610         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
12611         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12613 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12615         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
12616         (thread_func): Use new function to simplify barrier check.
12617         (do_test): Use new function to simplify checking barrier exit
12618         code, and actually join the child thread.
12620 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12622         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
12623         semicolon.
12624         (__libc_tend): Likewise.
12625         (__libc_tabort): Likewise.
12627 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
12629         * sysdeps/nios2/libm-test-ulps: Update.
12630         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
12631         (__gtsf2): Likewise.
12632         (__unorddf2): Likewise.
12633         (__unordsf2): Likewise.
12634         (__ledf2): Likewise.
12636 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
12638         * nis/nis_table.c (__follow_path): Disable diagnostic for
12639         uninitialized variable that is a false positive for gcc 4.7.
12640         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
12642 2016-01-20  Roland McGrath  <roland@hack.frob.com>
12644         * sysdeps/nacl/lowlevellock-futex.h
12645         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
12646         Always evaluate PRIVATE argument.
12648 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
12650         [BZ #19490]
12651         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
12652         (pthread_cond_broadcast): Use ENTRY/END
12653         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
12654         (pthread_cond_signal): Likewise.
12655         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
12656         Likewise.
12657         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
12658         Likewise.
12659         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
12660         Likewise.
12662 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
12664         * sysdeps/ieee754/dbl-64/s_finite.c
12665         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
12666         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
12667         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
12668         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
12669         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
12671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12672         (__gtsf2): Add as optional for libc.so.
12673         (__unordsf2): Likewise.
12674         (__signbit): Remove for libc.so.
12675         (__signbitl): Likewise.
12677 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12679         * iconvdata/bug-iconv11.c (test_ibm93x):
12680         Use %zu printf format specifier for size_t argument.
12682 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
12684         * math/gen-libm-test.pl (parse_ulps): Do not reduce
12685         already-recorded ulps.
12686         * sysdeps/arm/libm-test-ulps: Regenerated.
12687         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12688         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12689         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12691 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12692             Paul Pluzhnikov  <ppluzhnikov@google.com>
12694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
12695         assembler not supporting AVX-512.
12697 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12699         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12701 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
12703         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12704         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12706         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12708         * sysdeps/arm/libm-test-ulps: Regenerated.
12710 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12712         [BZ #19451]
12713         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
12715 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12717         [BZ #19486]
12718         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
12719         * sysdeps/generic/fix-fp-int-convert-overflow.h
12720         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
12721         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
12722         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
12723         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
12724         Likewise.
12725         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
12726         Avoid conversions to long int where inexact exceptions
12727         could be raised.
12728         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
12729         Likewise.
12730         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
12731         Avoid conversions to long long int where inexact exceptions
12732         could be raised.
12733         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
12734         Likewise.
12736 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
12738         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
12739         * configure: Regenerated.
12741 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
12743         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
12745 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
12747         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
12748         outside of comment.
12750 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12752         * nptl/tst-barrier1.c: Add description on first line.
12753         * nptl/tst-barrier2.c: Likewise.
12754         * nptl/tst-barrier3.c: Likewise.
12755         * nptl/tst-barrier4.c: Likewise.
12756         * nptl/tst-barrier5.c: Likewise.
12758 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12760         [BZ #18868]
12761         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
12763 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
12765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
12766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12767         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
12768         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
12769         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
12770         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
12771         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12772         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12773         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12774         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12775         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12777 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12779         [BZ #13065]
12780         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
12781         new implementation.
12782         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
12783         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
12784         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
12785         (BARRIER_IN_THRESHOLD): New macro.
12786         * nptl/pthread_barrierattr_setpshared.c
12787         (pthread_barrierattr_setpshared): Clean up.
12788         * nptl/tst-barrier4.c: Correct comment.
12789         * nptl/tst-barrier5.c: New file.
12790         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
12791         (gen-as-const-headers): Remove lowlevelbarrier.sym.
12792         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
12793         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
12794         * nptl/lowlevelbarrier.sym: Remove.
12795         * nptl/DESIGN-barrier.txt: Remove.
12796         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
12797         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
12798         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
12799         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
12800         error.
12801         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
12802         implementation.
12804 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12806         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
12807         (do_child): Mask SIGRTMIN while thr is running.
12809 2016-01-15  Martin Sebor  <msebor@redhat.com>
12811         [BZ #19432]
12812         * iconvdata/Makefile: Add bug-iconv11.
12813         * iconvdata/bug-iconv11.c: New test.
12814         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
12815         * iconvdata/ibm933.c: Same.
12816         * iconvdata/ibm935.c: Same.
12817         * iconvdata/ibm937.c: Same.
12818         * iconvdata/ibm939.c: Same.
12820 2016-01-15  Martin Sebor  <msebor@redhat.com>
12822         [BZ #19443]
12823         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
12824         [DEBUG] (_ufc_set_bits): Declare used.
12825         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
12826         [DEBUG] (print_all): Declare used.
12827         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
12828         operands of the ternary ?: expression to target type.
12829         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
12830         calling the undeclared abort.
12831         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
12833 2016-01-15  Martin Sebor  <msebor@redhat.com>
12835         [BZ #18755]
12836         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
12837         warnings.
12838         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
12839         (__gai_create_helper_thread): Same.
12840         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
12841         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
12842         to suppress -Wmaybe-uninitialized warnings.
12844 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
12846         [BZ #19465]
12847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
12848         inside if.
12849         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12850         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12851         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12853 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
12855         [BZ #19466]
12856         * time/tst-mktime2.c (time_t_max): Removed.
12857         (time_t_min): Likewise.
12858         (TYPE_SIGNED): New.
12859         (TYPE_MINIMUM): Likewise.
12860         (TYPE_MAXIMUM): Likewise.
12861         (TIME_T_MIN): Likewise.
12862         (TIME_T_MAX): Likewise.
12863         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
12864         and TIME_T_MIN.
12865         (do_test): Likewise.
12867 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
12869         [BZ #19467]
12870         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12871         index_Fast_Unaligned_Load flag for Excavator family CPUs.
12873 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
12875         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
12877 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
12879         * benchtests/Makefile (PYTHON): Define.
12880         (bench-func): Use $(PYTHON) to run python scripts.
12881         ($(objpfx)bench-%.c): Likewise.
12883 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
12885         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
12886         leading slash when `file_name' is "/".
12888 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
12890         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
12891         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
12892         Likewise.
12893         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
12894         Likewise.
12895         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
12896         Likewise.
12897         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
12898         enum constant and macro.
12899         (PTRACE_SETSIGMASK): Likewise.
12900         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12901         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12902         (PTRACE_GETSIGMASK): Likewise.
12903         (PTRACE_SETSIGMASK): Likewise.
12904         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12905         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
12906         Likewise.
12907         (PTRACE_SETSIGMASK): Likewise.
12908         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12910         (PTRACE_GETSIGMASK): Likewise.
12911         (PTRACE_SETSIGMASK): Likewise.
12912         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12913         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
12914         Likewise.
12915         (PTRACE_SETSIGMASK): Likewise.
12916         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12917         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
12918         Likewise.
12919         (PTRACE_SETSIGMASK): Likewise.
12920         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12921         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
12922         Likewise.
12923         (PTRACE_SETSIGMASK): Likewise.
12924         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12926 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
12927             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12929         [BZ #19439]
12930         * math/bits/mathcalls.h
12931         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
12932         prototype.
12933         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
12935 2016-01-11  Andreas Schwab  <schwab@suse.de>
12937         [BZ #19253]
12938         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
12939         cache when TZDEFRULES was used.
12940         * time/tst-tzname.c: New file.
12941         * time/Makefile (test): Add tst-tzname.
12942         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12943         * timezone/Makefile (test-zones): Add $(posixrules-file).
12944         ($(testdata)/$(posixrules-file)): New rule.
12946 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12948         Fix doc quoting problems with Texinfo 5
12949         Without this change, in the info file output, Texinfo 5 quotes code
12950         in text with undirected single quotes 'like this' and generates
12951         code examples that with many PDF readers cannot be cut out of PDFs
12952         and pasted into code.
12953         * manual/libc.texinfo: Configure the libc manual like the GNU
12954         Emacs manual, by using @documentencoding and setting
12955         txicodequoteundirected and txicodequotebacktick.  This way,
12956         Texinfo 5 quotes code in text with directed single quotes ‘like
12957         this’ and produces examples that can be cut out of PDFs.  This
12958         change causes Texinfo 5 to generate info files that contain UTF-8
12959         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12960         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12962 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12964         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12965         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12966         barriers to their respective compiler built-ins.
12967         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12968         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12969         * sysdeps/powerpc/sysdep.h: Likewise.
12970         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12971         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12972         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12974 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12976         * scripts/config.guess: Revert previous shebang change.
12977         * scripts/config.sub: Likewise.
12978         * scripts/mkinstalldirs: Likewise.
12980 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12982         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12983         PPC_FEATURE2_HAS_IEEE128.
12984         * sysdeps/powerpc/dl-procinfo.c:
12985         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12987 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12989         [BZ #19415]
12990         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12991         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12992         (_dl_lookup_address): Rewrite using function resolver trampoline.
12993         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12994         two bits in address.
12996 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12998         * longlong.h: Change !__SHMEDIA__ to
12999         (!defined (__SHMEDIA__) || !__SHMEDIA__).
13000         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13002 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
13003             Joseph Myers  <joseph@codesourcery.com>
13004             Mark Shinwell  <shinwell@codesourcery.com>
13005             Andrew Stubbs  <ams@codesourcery.com>
13006             Rich Felker <dalias@libc.org>
13008         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13010 2016-01-07  Richard Henderson  <rth@redhat.com>
13012         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13014 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13016         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13017         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13018         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13019         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13020         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13022 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
13023             Joseph Myers  <joseph@codesourcery.com>
13025         * timezone/private.h: Update from tzcode 2015g.
13026         * timezone/tzfile.h: Likewise.
13027         * timezone/tzselect.ksh: Likewise.
13028         * timezone/zdump.c: Likewise.
13029         * timezone/zic.c: Likewise.
13030         * timezone/ialloc.c: Remove file.
13031         * timezone/scheck.c: Likewise.
13032         * timezone/Makefile (extra-objs): Remove variable.
13033         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13034         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13035         -Wno-maybe-uninitialized.
13036         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13037         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13038         (CFLAGS-ialloc.c): Remove variable.
13039         (CFLAGS-scheck.c): Likewise.
13040         * timezone/README: Update list of files from tzcode.
13042 2016-01-07  Khem Raj  <raj.khem@gmail.com>
13044         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13045         instead of __fxprintf when _LIBC is undefined.
13047 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
13049         * catgets/test-gencat.sh: Remove space after shebang.
13050         * conform/GlibcConform.pm: Likewise.
13051         * conform/check-header-lists.sh: Likewise.
13052         * conform/conformtest.pl: Likewise.
13053         * conform/linknamespace.pl: Likewise.
13054         * conform/list-header-symbols.pl: Likewise.
13055         * debug/catchsegv.sh: Likewise.
13056         * elf/genrtldtbl.awk: Likewise.
13057         * elf/tst-pathopt.sh: Likewise.
13058         * elf/tst-rtld-load-self.sh: Likewise.
13059         * grp/tst_fgetgrent.sh: Likewise.
13060         * iconvdata/gen-8bit-gap-1.sh: Likewise.
13061         * iconvdata/gen-8bit-gap.sh: Likewise.
13062         * iconvdata/gen-8bit.sh: Likewise.
13063         * iconvdata/run-iconv-test.sh: Likewise.
13064         * intl/tst-gettext.sh: Likewise.
13065         * intl/tst-gettext2.sh: Likewise.
13066         * intl/tst-gettext4.sh: Likewise.
13067         * intl/tst-gettext6.sh: Likewise.
13068         * intl/tst-translit.sh: Likewise.
13069         * io/ftwtest-sh: Likewise.
13070         * libio/test-freopen.sh: Likewise.
13071         * locale/gen-translit.pl: Likewise.
13072         * malloc/tst-mtrace.sh: Likewise.
13073         * manual/check-safety.sh: Likewise.
13074         * manual/libc-texinfo.sh: Likewise.
13075         * manual/tsort.awk: Likewise.
13076         * manual/xtract-typefun.awk: Likewise.
13077         * nptl/tst-cancel-wrappers.sh: Likewise.
13078         * nptl/tst-tls6.sh: Likewise.
13079         * posix/globtest.sh: Likewise.
13080         * posix/tst-getconf.sh: Likewise.
13081         * posix/wordexp-tst.sh: Likewise.
13082         * scripts/check-c++-types.sh: Likewise.
13083         * scripts/check-local-headers.sh: Likewise.
13084         * scripts/config.guess: Likewise.
13085         * scripts/config.sub: Likewise.
13086         * scripts/cpp: Likewise.
13087         * scripts/cross-test-ssh.sh: Likewise.
13088         * scripts/documented.sh: Likewise.
13089         * scripts/evaluate-test.sh: Likewise.
13090         * scripts/gen-libc-abis: Likewise.
13091         * scripts/gen-sorted.awk: Likewise.
13092         * scripts/list-fixed-bugs.py: Likewise.
13093         * scripts/merge-test-results.sh: Likewise.
13094         * scripts/mkinstalldirs: Likewise.
13095         * scripts/rellns-sh: Likewise.
13096         * scripts/test-installation.pl: Likewise.
13097         * scripts/update-copyrights: Likewise.
13098         * stdio-common/tst-printf.sh: Likewise.
13099         * stdio-common/tst-unbputc.sh: Likewise.
13100         * stdlib/tst-fmtmsg.sh: Likewise.
13101         * stdlib/tst-setcontext3.sh: Likewise.
13102         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13103         * sysdeps/unix/make-syscalls.sh: Likewise.
13105 2016-01-06  John David Anglin  <dave.anglin@bell.net>
13107         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13108         asm stw with atomic_exchange_rel.  Add explanatory comment.
13109         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13110         Likewise.
13112 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13114         [BZ #19122]
13115         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13116         * sysdeps/generic/dl-unistd.h: New file.
13117         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13119 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13121          [BZ #19122]
13122          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13123          * sysdeps/generic/dl-mman.h: New file.
13124          * sysdeps/mach/hurd/dl-mman.h: Likewise.
13126 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
13128         * manual/texinfo.tex: Update to version 2016-01-04.21 with
13129         trailing whitespace removed.
13130         * scripts/config.guess: Update to version 2016-01-01.
13131         * scripts/config.sub: Update to version 2016-01-01.
13132         * scripts/move-if-change: Update from gnulib.
13134 2016-01-04  Anton Blanchard  <anton@samba.org>
13136         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13137         for array indices.
13138         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13140 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
13142         * NEWS: Update copyright dates.
13143         * catgets/gencat.c (print_version): Likewise.
13144         * csu/version.c (banner): Likewise.
13145         * debug/catchsegv.sh: Likewise.
13146         * debug/pcprofiledump.c (print_version): Likewise.
13147         * debug/xtrace.sh (do_version): Likewise.
13148         * elf/ldconfig.c (print_version): Likewise.
13149         * elf/ldd.bash.in: Likewise.
13150         * elf/pldd.c (print_version): Likewise.
13151         * elf/sotruss.sh: Likewise.
13152         * elf/sprof.c (print_version): Likewise.
13153         * iconv/iconv_prog.c (print_version): Likewise.
13154         * iconv/iconvconfig.c (print_version): Likewise.
13155         * locale/programs/locale.c (print_version): Likewise.
13156         * locale/programs/localedef.c (print_version): Likewise.
13157         * login/programs/pt_chown.c (print_version): Likewise.
13158         * malloc/memusage.sh (do_version): Likewise.
13159         * malloc/memusagestat.c (print_version): Likewise.
13160         * malloc/mtrace.pl: Likewise.
13161         * manual/libc.texinfo: Likewise.
13162         * nptl/version.c (banner): Likewise.
13163         * nscd/nscd.c (print_version): Likewise.
13164         * nss/getent.c (print_version): Likewise.
13165         * nss/makedb.c (print_version): Likewise.
13166         * posix/getconf.c (main): Likewise.
13167         * scripts/test-installation.pl: Likewise.
13168         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13170         * All files with FSF copyright notices: Update copyright dates
13171         using scripts/update-copyrights.
13172         * intl/plural.c: Regenerated.
13173         * locale/programs/charmap-kw.h: Likewise.
13174         * locale/programs/locfile-kw.h: Likewise.
13176 2016-01-02  Helge Deller  <deller@gmx.de>
13178         [BZ #19285]
13179         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13180         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13181         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13182         (MADV_xxK_PAGES): Remove.
13184 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
13186         [BZ #15421]
13187         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13188         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
13189         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13190         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13192 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
13194         [BZ #19408]
13195         * sysdeps/unix/sysv/linux/personality.c: New file.
13196         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13197         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13198         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13199         (sysdep_routines): Add personality.
13200         (tests): Add tst-personality.
13201         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13202         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13203         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13204         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13205         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13206         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13207         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13208         Likewise.
13209         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13210         Likewise.
13211         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13212         Likewise.
13213         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13214         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13215         Likewise.
13217 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
13219         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13220         (PATH_ARM_SYSTYPE): Remove.
13221         (PATH_CPUINFO): Likewise.
13222         (IO_BASE_FOOTBRIDGE): Likewise.
13223         (IO_SHIFT_FOOTBRIDGE): Likewise.
13224         (struct platform): Likewise.
13225         (init_iosys): Remove compatibility code for 2.4 kernels.
13226         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
13228 2015-12-29  Florian Weimer  <fweimer@redhat.com>
13230         * malloc/tst-malloc-thread-fail.c: New file.
13231         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
13232         (tst-malloc-thread-fail): Link against libpthread.
13234 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
13236         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
13237         (get_parser): New function.
13238         (main): New function.
13240 2015-12-29  Rob Wu  <rob@robwu.nl>
13242         [BZ #19369]
13243         * resolv/res_init.c (__res_vinit): Reset defdname before use.
13245 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
13247         [BZ #19270]
13248         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13250 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
13252         [BZ #15421]
13253         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
13255 2015-12-23  Torvald Riegel  <triegel@redhat.com>
13257         [BZ #13690]
13258         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
13259         after releasing it.
13260         (__lll_robust_unlock): Likewise.
13261         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13262         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
13263         (lll_robust_unlock): Likewise.
13264         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
13265         Prevent warnings in callers.
13267 2015-12-23  Florian Weimer  <fweimer@redhat.com>
13269         * malloc/arena.c (list_lock): Update comment.
13271 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13273         * sysdeps/powerpc/hwcapinfo.c: Export symbol
13274         __parse_hwcap_and_convert_at_platform to libc.a.
13276 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13278         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
13279         platform and feature support for POWER9.
13280         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13281         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
13282         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
13283         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
13284         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
13285         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13286         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13287         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13289 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13291         Harmonize generic stdio-lock support with nptl
13293         This fixes build when _IO_funlockfile is a macro, fixes build where
13294         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
13295         stack unwind.
13297         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
13298         _IO_release_lock ): Use cleanup attribute on new
13299         _IO_acquire_lock_file variable instead of assuming that
13300         _IO_release_lock will be called.
13301         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
13302         _IO_acquire_lock_needs_exceptions_enabled.
13303         (_IO_acquire_lock_clear_flags2): New macro.
13305 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13307         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13309 2015-12-21  Florian Weimer  <fweimer@redhat.com>
13311         [BZ #19182]
13312         * malloc/arena.c (list_lock): Document lock ordering requirements.
13313         (free_list_lock): New lock.
13314         (ptmalloc_lock_all): Comment on free_list_lock.
13315         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
13316         (detach_arena): Update comment.  free_list_lock is now needed.
13317         (_int_new_arena): Use free_list_lock around detach_arena call.
13318         Acquire arena lock after list_lock.  Add comment, including FIXME
13319         about incorrect synchronization.
13320         (get_free_list): Switch to free_list_lock.
13321         (reused_arena): Acquire free_list_lock around detach_arena call
13322         and attached threads counter update.  Add two FIXMEs about
13323         incorrect synchronization.
13324         (arena_thread_freeres): Switch to free_list_lock.
13325         * malloc/malloc.c (struct malloc_state): Update comments to
13326         mention free_list_lock.
13328 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13330         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
13331         Remove functions.
13332         (sloww, sloww1): Accept argument to offset quadrant.
13333         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
13334         quadrant.
13335         (__sin, __cos): Consolidate common code into new functions.
13336         (reduce_sincos_1, do_sincos_1): New functions.
13337         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
13339         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
13340         code to new functions.
13341         (reduce_sincos_2, do_sincos_2): New functions.
13342         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
13344         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
13345         common code for sincos.
13346         (__cos) [!IN_SINCOS]: Likewise.
13347         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
13348         New function.
13349         (__sincos): Use it.
13351 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
13353         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
13354         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
13355         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
13357 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13359         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
13360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
13361         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13362         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
13363         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13364         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
13365         index_Prefer_No_VZEROUPPER): New feature.
13366         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
13367         Prefer_No_VZEROUPPER for Knights Landing.
13369 015-12-18  Torvald Riegel  <triegel@redhat.com>
13371         * math/atest-exp2.c (mp_exp_m1): Remove.
13373 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13375         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
13376         syscalls.
13377         (__SYSCALL0): New macro.
13378         (__SYSCALL1): Likewise.
13379         (__SYSCALL2): Likewise.
13380         (__SYSCALL3): Likewise.
13381         (__SYSCALL4): Likewise.
13382         (__SYSCALL5): Likewise.
13383         (__SYSCALL6): Likewise.
13384         (__SYSCALL_CONCAT_X): Likewise.
13385         (__SYSCALL_CONCAT): Likewise.
13386         (__SYSCALL_DIST): Likewise.
13387         (__SYSCALL_CALL): Likewise.
13389 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
13391         [BZ #19363]
13392         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
13394 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13396         [BZ #19375]
13397         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
13398         negative subnormals.
13400 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
13402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13403         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
13404         (INTERNAL_SYSCALL_NCS): Use it.
13405         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13407 2015-12-16  Florian Weimer  <fweimer@redhat.com>
13409         [BZ #19243]
13410         * malloc/arena.c (get_free_list): Remove assert and adjust
13411         reference count handling.  Add comment about reused_arena
13412         interaction.
13413         (reused_arena): Add comments abount get_free_list interaction.
13414         * malloc/tst-malloc-thread-exit.c: New file.
13415         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
13416         (tst-malloc-thread-exit): Link against libpthread.
13418 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
13420         [BZ #19367]
13421         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
13422         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
13423         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
13424         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
13425         (index_Prefer_MAP_32BIT_EXEC): Likewise.
13427 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
13429         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
13430         Silvermont optimizations for Knights Landing.
13432 2015-12-15  Andreas Schwab  <schwab@suse.de>
13434         [BZ #17197]
13435         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
13436         immediately after emitting SI.
13437         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
13438         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
13439         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
13440         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
13441         * iconvdata/bug-iconv10.c: New file.
13442         * iconvdata/Makefile (tests): Add bug-iconv10.
13443         ($(objpfx)bug-iconv10.out): New rule.
13445 2015-12-15  Florian Weimer  <fweimer@redhat.com>
13447         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
13448         aliasing violation.
13450 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
13452         [BZ #18472]
13453         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
13454         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
13455         conditionals for them.
13456         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
13457         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
13458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
13459         sys/kdaemon.h.
13460         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
13461         compat-only syscall, obsoleted in glibc 2.23.
13462         (create_module): Likewise.
13463         (get_kernel_syms): Likewise.
13464         (query_module): Likewise.
13465         (uselib): Likewise.
13466         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
13468 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
13470         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
13471         <linux/version.h>.
13472         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
13473         conditional code.
13474         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
13475         and ioshift_name initialization.
13477 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13479         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13480         Fix indentation.
13482 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13484         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
13486 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13488         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
13490 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
13491             Jakub Wilk  <jwilk@debian.org>
13493         [BZ #19347]
13494         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
13495         to change the group of the device to the tty group.
13497 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
13499         Split large string section; add truncation advice
13500         * manual/examples/strncat.c: Remove.
13501         This example was misleading, as the code would have undefined
13502         behavior if "hello" was longer than SIZE.  Anyway, the manual
13503         shouldn't encourage strncpy+strncat for this sort of thing.
13504         * manual/string.texi (Copying Strings and Arrays): Split into
13505         three sections Copying Strings and Arrays, Concatenating Strings,
13506         and Truncating Strings, as this section was way too long.  All
13507         cross-referenced changed.  Add advice about string-truncation
13508         functions.  Remove misleading strncat example.
13510 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
13512         * manual/nss.texi (NSS Modules Interface): Document
13513         NSS_STATUS_NOTFOUND and SUCCESS.
13515 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
13517         [BZ 18568]
13518         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13519         201505L, for Unicode 8.
13521 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
13523         * locale/C-translit.h: Regenerate.
13525 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
13527         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
13528         and U+0153.
13530 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
13532         [BZ #19351]
13533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
13534         expanding log(1+z), compare z rather than its square with epsilon
13535         to determine when to avoid evaluating the expansion.
13537         [BZ #19350]
13538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13539         Increase overflow threshold.
13541         [BZ #19349]
13542         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
13543         when small.
13545         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
13547         New macro.
13548         [__LINUX_KERNEL_VERSION >= 0x040300]
13549         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13550         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
13551         Likewise.
13552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
13553         Likewise.
13554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
13555         Likewise.
13556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
13557         Likewise.
13558         [__LINUX_KERNEL_VERSION >= 0x040300]
13559         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
13560         [__LINUX_KERNEL_VERSION >= 0x040300]
13561         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13562         [__LINUX_KERNEL_VERSION >= 0x040300]
13563         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13564         [__LINUX_KERNEL_VERSION >= 0x040300]
13565         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13566         [__LINUX_KERNEL_VERSION >= 0x040300]
13567         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13568         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
13569         Likewise.
13570         [__LINUX_KERNEL_VERSION >= 0x040300]
13571         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
13572         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13573         Likewise.
13574         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
13575         Likewise.
13576         [__LINUX_KERNEL_VERSION >= 0x040300]
13577         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
13578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13579         Likewise.
13580         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
13581         Likewise.
13582         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13583         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
13584         Likewise.
13585         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
13586         Likewise.
13587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
13588         Likewise.
13589         [__LINUX_KERNEL_VERSION >= 0x040300]
13590         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13591         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
13592         Likewise.
13593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
13594         Likewise.
13595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
13596         Likewise.
13597         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
13598         Likewise.
13599         [__LINUX_KERNEL_VERSION >= 0x040300]
13600         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
13601         [__LINUX_KERNEL_VERSION >= 0x040300]
13602         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13603         [__LINUX_KERNEL_VERSION >= 0x040300]
13604         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13605         [__LINUX_KERNEL_VERSION >= 0x040300]
13606         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13607         [__LINUX_KERNEL_VERSION >= 0x040300]
13608         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13609         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
13610         Likewise.
13611         [__LINUX_KERNEL_VERSION >= 0x040300]
13612         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
13613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13614         Likewise.
13615         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
13616         Likewise.
13617         [__LINUX_KERNEL_VERSION >= 0x040300]
13618         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
13619         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13620         Likewise.
13621         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
13622         Likewise.
13623         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13624         (__ASSUME_SOCKET_SYSCALL): Likewise.
13625         (__ASSUME_BIND_SYSCALL): Likewise.
13626         (__ASSUME_CONNECT_SYSCALL): Likewise.
13627         (__ASSUME_LISTEN_SYSCALL): Likewise.
13628         (__ASSUME_ACCEPT_SYSCALL): Likewise.
13629         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13630         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13631         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13632         (__ASSUME_SEND_SYSCALL): Likewise.
13633         (__ASSUME_SENDTO_SYSCALL): Likewise.
13634         (__ASSUME_RECV_SYSCALL): Likewise.
13635         (__ASSUME_RECVFROM_SYSCALL): Likewise.
13636         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
13637         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13638         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13639         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13640         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13641         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13642         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
13643         Likewise.
13644         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
13645         Likewise.
13646         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
13647         Likewise.
13648         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
13649         Likewise.
13650         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
13651         Likewise.
13652         [__LINUX_KERNEL_VERSION >= 0x020625]
13653         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13654         [__LINUX_KERNEL_VERSION >= 0x020625]
13655         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13656         [__LINUX_KERNEL_VERSION >= 0x020625]
13657         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13658         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
13659         Likewise.
13660         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
13661         Likewise.
13662         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
13663         Likewise.
13664         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
13665         Likewise.
13666         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
13667         Likewise.
13668         [__LINUX_KERNEL_VERSION >= 0x020625]
13669         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13670         [__LINUX_KERNEL_VERSION >= 0x020625]
13671         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13672         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
13673         Likewise.
13674         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
13675         Likewise.
13677 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
13679         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
13680         record the current if the current ABI and CPU support the FP64
13681         extension.
13682         (has-modd-spreg): Define to record the current if the current ABI and
13683         CPU support 32-bit floating point values in odd FPU registers.
13684         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13685         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
13686         $(has-modd-spreg) equals yes.
13687         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
13688         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
13689         $(has-modd-spreg) equal yes.
13691 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
13693         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
13694         basename.
13696 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
13698         * benchtests/Makefile (bench-math): Move ffs and ffsll...
13699         (bench-string): ... here.
13700         (bench): Add bench-string.
13701         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
13702         to *-benchset to reflect what they are.
13703         (benchset): Adjust.
13705         * benchtests/sincos-inputs: Add inputs from sin-inputs and
13706         cos-inputs.
13708 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
13710         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
13711         __attribute__ ((__simd__)) for vector math function declarations.
13713 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13715         Fix typo in strncat, wcsncat manual entries
13716         * manual/string.texi (Copying and Concatenation): Fix typos in
13717         sample implementations of strncat and wcsncat, by having them use
13718         the old value of the destination length, not the new one.
13720 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
13722         [BZ #16961]
13723         [BZ #16962]
13724         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
13725         string on the stack for strtod.
13726         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
13727         a string on the stack for strtof.
13728         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
13729         constructing a string on the stack for strtold.
13730         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
13731         __strtold_nan to GLIBC_PRIVATE.
13732         * math/test-nan-overflow.c: New file.
13733         * math/test-nan-payload.c: Likewise.
13734         * math/Makefile (tests): Add test-nan-overflow and
13735         test-nan-payload.
13737 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13739         Consistency about byte vs character in string.texi
13740         * manual/string.texi (String and Array Utilities):
13741         Distinguish more carefully among bytes, multibyte characters,
13742         and wide characters.  Use "byte" when talking about C 'char',
13743         to distinguish it more clearly from multibyte characters.
13744         Say "wide character" or "multibyte character" instead of
13745         "character", when a wide or multibyte character is intended.
13746         Similarly for "multibyte string" versus "string".
13747         Define these terms more carefully.
13749 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
13751         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
13752         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
13753         Likewise.
13754         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13755         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13756         * sysdeps/sh/math_private.h: New file.
13757         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
13758         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
13759         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
13760         long double function name.
13761         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13762         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13763         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13764         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13765         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
13767         Remove __finitel, __isinfl, and __isnanl.
13768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13769         Likewise.
13770         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13772         Remove __finitel.
13773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13774         Likewise.
13775         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13777 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
13779         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
13780         installed libmvec_nonshared.a.
13782 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13784         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
13785         (sysdep_routines): Likewise.
13786         (sysdep-rtld-routines): Likewise.
13787         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
13788         [$(subdir) = nptl](tests-static): test-get_hwcap-static
13789         * sysdeps/powerpc/Versions: Added new
13790         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
13791         * sysdeps/powerpc/hwcapinfo.c: New file.
13792         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
13793         and parse hwcap, hwcap2 and platform number information.
13794         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
13795         to store HWCAP+HWCAP2 and platform number.
13796         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
13797         for HWCAP+HWCAP2 and platform number in the TCB.
13798         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
13799         the HWCAP, HWCAP2 and platform number in the TCB.
13800         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
13801         (TLS_INIT_TP): Included calls to add the hwcap and
13802         at_platform values in the TCB in TP initialization.
13803         (TLS_DEFINE_INIT_TP): Likewise.
13804         (THREAD_GET_HWCAP): New macro.
13805         (THREAD_SET_HWCAP): Likewise.
13806         (THREAD_GET_AT_PLATFORM): Likewise.
13807         (THREAD_SET_AT_PLATFORM): Likewise.
13808         * sysdeps/powerpc/powerpc32/dl-machine.h:
13809         (dl_platform_init): New function that calls
13810         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
13811         powerpc32.
13812         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
13813         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
13814         this functionality, static linking case.
13815         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
13816         linking case.
13817         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
13818         __parse_hwcap_and_convert_at_platform for the static linking case.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
13820         Included the new __parse_hwcap_and_convert_at_platform symbol in the
13821         ABI list for GLIBC 2.23.
13822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
13823         Likewise.
13824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
13825         Likewise.
13827 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
13829         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
13830         * configure: Regenerate.
13831         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
13832         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
13834 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
13836         * iconvdata/ibm930.c: Add comment explaining encoding uses.
13837         * iconvdata/ibm933.c: Likewise.
13838         * iconvdata/ibm935.c: Likewise.
13839         * iconvdata/ibm937.c: Likewise.
13840         * iconvdata/ibm939.c: Likewise.
13842 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13844         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
13845         pthread_join.
13846         * nptl/tst-cancel21.c (tf): Likewise.
13848 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
13850         [BZ #19313]
13851         * bits/typesizes.h (__CPU_MASK_TYPE): New.
13852         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13853         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13854         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
13855         Likewise.
13856         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
13857         Likewise.
13858         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
13859         Likewise.
13860         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
13861         Likewise.
13862         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
13863         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
13864         unsigned long int with __CPU_MASK_TYPE.
13866 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13868         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13870 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
13872         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
13873         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
13874         t512.x.
13875         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
13877 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
13879         [BZ #19214]
13880         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
13881         argument to return extended model.  Update family and model
13882         with extended family and model when family == 0x0f.
13883         (init_cpu_features): Updated.
13885 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13887         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
13888         signed off_t, so 32bit bigger than 2GiB values are fine actually.
13890         * sysdeps/mach/hurd/mmap64.c: New file.
13892 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
13894         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
13895         rights for its main user thread in NEWTASK.
13897 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
13899         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
13900         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
13902 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
13904         [BZ #14259]
13905         * Makeconfig: Rename localedir to complocaledir.
13906         Rename inst_localedir to inst_complocaledir.
13907         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
13908         * config.make.in: Use complocaledir and libc_cv_complocaledir.
13909         * configure.ac: Use libc_cv_complocaledir.
13910         * configure: Regenerate.
13911         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
13912         -DCOMPLOCALEDIR.
13913         * locale/findlocale.c: Use COMPLOCALEDIR.
13914         * locale/loadarchive.c: Likewise.
13915         * locale/programs/locale.c: Likewise.
13916         * locale/programs/localedef.c: Likewise.
13917         * locale/programs/locarchive.c: Likewise.
13918         * localedata/Makefile: Use inst_complocaledir.
13919         * sysdeps/gnu/configure: Regenerate.
13920         * sysdeps/hppa/configure: Regenerate.
13921         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13922         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13924         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13925         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13926         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13927         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13929 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
13931         [BZ #19058]
13932         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
13933         AS_NEEDED.
13934         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
13935         workaround.
13936         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
13937         libmvec-static-only-routines): Added new file.
13938         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
13940 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13942         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13943         of interrupted RPC instead of restoring it.
13945         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13946         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13947         libc_hidden_def.
13948         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13949         into initialized data instead of common. Define rtld_hidden_data_def.
13950         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13951         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13952         libc_hidden_def.
13953         (if_freenameindex): Add libc_hidden_weak.
13954         (if_nameindex): Add libc_hidden_weak.
13955         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13956         __open64.
13957         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13958         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13959         * sysdeps/mach/nanosleep.c: Include <time.h>
13960         (__nanosleep): Rename to __libc_nanosleep.
13961         (__nanosleep): Add weak_alias.
13962         (nanosleep): Update alias.
13964 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13966         * stdlib/strtod_nan.c: New file.
13967         * stdlib/strtod_nan_double.h: Likewise.
13968         * stdlib/strtod_nan_float.h: Likewise.
13969         * stdlib/strtod_nan_main.c: Likewise.
13970         * stdlib/strtod_nan_narrow.h: Likewise.
13971         * stdlib/strtod_nan_wide.h: Likewise.
13972         * stdlib/strtof_nan.c: Likewise.
13973         * stdlib/strtold_nan.c: Likewise.
13974         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13975         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13976         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13977         * wcsmbs/wcstod_nan.c: Likewise.
13978         * wcsmbs/wcstof_nan.c: Likewise.
13979         * wcsmbs/wcstold_nan.c: Likewise.
13980         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13981         strtold_nan.
13982         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13983         wcstof_nan.
13984         * include/stdlib.h (__strtof_nan): Declare and use
13985         libc_hidden_proto.
13986         (__strtod_nan): Likewise.
13987         (__strtold_nan): Likewise.
13988         (__wcstof_nan): Likewise.
13989         (__wcstod_nan): Likewise.
13990         (__wcstold_nan): Likewise.
13991         * include/wchar.h (____wcstoull_l_internal): Declare.
13992         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13993         (____strtoull_l_internal): Remove declaration.
13994         (STRTOF_NAN): Define macro.
13995         (SET_MANTISSA): Remove macro.
13996         (STRTOULL): Likewise.
13997         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13998         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13999         (STRTOF_NAN): Define macro.
14000         (SET_MANTISSA): Remove macro.
14001         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14002         (SET_MANTISSA): Remove macro.
14003         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14004         macro.
14005         (SET_MANTISSA): Remove macro.
14006         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14007         macro.
14008         (SET_MANTISSA): Remove macro.
14009         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14010         (SET_MANTISSA): Remove macro.
14011         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14012         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14013         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14015         [BZ #19266]
14016         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14017         upper case and lower case letters inside NAN(), not using TOLOWER.
14018         * stdlib/tst-strtod-nan-locale-main.c: New file.
14019         * stdlib/tst-strtod-nan-locale.c: Likewise.
14020         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14021         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14022         Depend on $(gen-locales).
14023         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14024         * wcsmbs/tst-wcstod-nan-locale.c: New file.
14025         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14026         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14027         Depend on $(gen-locales).
14028         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14030 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
14032         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14034         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14036         __finitel, __isinfl, and __isnanl.
14037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14038         Likewise.
14039         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14041         __finitel.
14042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14043         Likewise.
14044         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14046 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14048         * malloc/memusage.c (me): Remove redundant getenv call.
14050 2015-10-24  Florian Weimer  <fweimer@redhat.com>
14052         [BZ #19143]
14053         [BZ #19164]
14054         * nptl/check-cpuset.h: Remove.
14055         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14056         Remove CPU set size check.
14057         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14058         Likewise.
14059         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14060         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14061         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14062         (__pthread_setaffinity_new): Remove CPU set size check.
14063         * sysdeps/unix/sysv/linux/sched_setaffinity.c
14064         (__kernel_cpumask_size): Remove.
14065         (__sched_setaffinity_new): Remove CPU set size check.
14066         * manual/threads.texi (Default Thread Attributes): Remove stale
14067         reference to check_cpuset_attr, determine_cpumask_size in comment.
14068         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14069         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
14070         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14071         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14072         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14073         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14074         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14075         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14076         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14077         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14078         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14079         skeleton test file.
14080         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
14081         tst-affinity-pid.
14083 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14085         * scripts/update-abilist.sh: New file.
14086         * Makefile (+subdir_targets): Add subdir_update-all-abi.
14087         * Makerules (update-all-abi-%, update-all-abi)
14088         (subdir_update-all-abi): New targets.
14089         * elf/Makefile (update-all-abi): New target.
14091 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14093         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14094         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14095         (__libc_lock_define_initialized): Use it.
14096         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14097         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14098         * malloc/malloc.c (main_arena): Likewise.
14099         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14100         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14102 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
14104         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14105         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14106         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14107         (PTRACE_O_MASK): Update value.
14108         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14109         New value in enum __ptrace_setoptions.
14110         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14111         (PTRACE_O_MASK): Update value.
14112         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14113         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14114         (PTRACE_O_MASK): Update value.
14115         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14116         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14117         (PTRACE_O_MASK): Update value.
14118         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14119         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14120         (PTRACE_O_MASK): Update value.
14121         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14122         New value in enum __ptrace_setoptions.
14123         (PTRACE_O_MASK): Update value.
14124         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14125         New value in enum __ptrace_setoptions.
14126         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14127         (PTRACE_O_MASK): Update value.
14129         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14130         New macro.
14131         (PACKET_AUXDATA): Likewise.
14132         (PACKET_ORIGDEV): Likewise.
14133         (PACKET_VERSION): Likewise.
14134         (PACKET_HDRLEN): Likewise.
14135         (PACKET_RESERVE): Likewise.
14136         (PACKET_TX_RING): Likewise.
14137         (PACKET_LOSS): Likewise.
14138         (PACKET_VNET_HDR): Likewise.
14139         (PACKET_TX_TIMESTAMP): Likewise.
14140         (PACKET_TIMESTAMP): Likewise.
14141         (PACKET_FANOUT): Likewise.
14142         (PACKET_TX_HAS_OFF): Likewise.
14143         (PACKET_QDISC_BYPASS): Likewise.
14144         (PACKET_ROLLOVER_STATS): Likewise.
14145         (PACKET_FANOUT_DATA): Likewise.
14146         (PACKET_MR_UNICAST): Likewise.
14148         [BZ #19242]
14149         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14150         (TOUPPER): Likewise.
14151         * stdlib/tst-strtol-locale-main.c: New file.
14152         * stdlib/tst-strtol-locale.c: Likewise.
14153         * stdlib/Makefile (tests): Add tst-strtol-locale.
14154         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14155         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14156         Depend on $(gen-locales).
14157         * wcsmbs/tst-wcstol-locale.c: New file.
14158         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14159         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14160         tr_TR.ISO-8859-9.
14161         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14162         Depend on $(gen-locales).
14164 2015-11-20  Roland McGrath  <roland@hack.frob.com>
14166         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14167         __glibc_likely instead of __builtin_expect.  After falling back to
14168         dyncode_create in a non-ET_DYN case, use the allocate_code_data
14169         system interface to register the code pages as occupied.
14171 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
14173         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14174         [!ARM_MATH_PRIVATE_H].
14175         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14176         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14177         [!HPPA_MATH_PRIVATE_H].
14178         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14179         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14180         to [!I386_MATH_PRIVATE_H].
14181         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14182         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14183         Change guard to [!M68K_MATH_PRIVATE_H].
14184         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14185         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14186         guard to [!MICROBLAZE_MATH_PRIVATE_H].
14187         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14188         macro.
14189         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14190         [!MIPS_MATH_PRIVATE_H].
14191         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14192         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14193         [!NIO2_MATH_PRIVATE_H].
14194         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14195         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14196         [!TILE_MATH_PRIVATE_H].
14197         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14199         [BZ #15421]
14200         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14201         initialize with 0 and define as weak alias of __signgam.
14202         * include/math.h [!_ISOMAC] (__signgam): Declare.
14203         * math/Makefile (libm-calls): Add w_lgamma_compat.
14204         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14205         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14206         test-signgam-ullong-init.
14207         (tests-static): Add test-signgam-uchar-static,
14208         test-signgam-uchar-init-static, test-signgam-uint-static,
14209         test-signgam-uint-init-static, test-signgam-ullong-static and
14210         test-signgam-ullong-init-static.
14211         (CFLAGS-test-signgam-uchar.c): New variable.
14212         (CFLAGS-test-signgam-uchar-init.c): Likewise.
14213         (CFLAGS-test-signgam-uchar-static.c): Likewise.
14214         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14215         (CFLAGS-test-signgam-uint.c): Likewise.
14216         (CFLAGS-test-signgam-uint-init.c): Likewise.
14217         (CFLAGS-test-signgam-uint-static.c): Likewise.
14218         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14219         (CFLAGS-test-signgam-ullong.c): Likewise.
14220         (CFLAGS-test-signgam-ullong-init.c): Likewise.
14221         (CFLAGS-test-signgam-ullong-static.c): Likewise.
14222         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14223         * math/Versions (libm): Add GLIBC_2.23.
14224         * math/lgamma-compat.h: New file.
14225         * math/test-signgam-main.c: Likewise.
14226         * math/test-signgam-uchar-init-static.c: Likewise.
14227         * math/test-signgam-uchar-init.c: Likewise.
14228         * math/test-signgam-uchar-static.c: Likewise.
14229         * math/test-signgam-uchar.c: Likewise.
14230         * math/test-signgam-uint-init-static.c: Likewise.
14231         * math/test-signgam-uint-init.c: Likewise.
14232         * math/test-signgam-uint-static.c: Likewise.
14233         * math/test-signgam-uint.c: Likewise.
14234         * math/test-signgam-ullong-init-static.c: Likewise.
14235         * math/test-signgam-ullong-init.c: Likewise.
14236         * math/test-signgam-ullong-static.c: Likewise.
14237         * math/test-signgam-ullong.c: Likewise.
14238         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
14239         wrapper of w_lgamma_main.c.
14240         * math/w_lgamma_compat.c: New file.
14241         * math/w_lgamma_compatf.c: Likewise.
14242         * math/w_lgamma_compatl.c: Likewise.
14243         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
14244         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14245         defining compatibility symbols.
14246         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
14247         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
14248         wrapper of w_lgammaf_main.c.
14249         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
14250         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14251         defining compatibility symbols.
14252         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
14253         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
14254         wrapper of w_lgammal_main.c.
14255         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
14256         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14257         defining compatibility symbols.
14258         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
14259         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
14260         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
14261         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
14262         <lgamma-compat.h>.
14263         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
14264         (__ieee754_gamma): Define as alias.
14265         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
14266         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
14267         <lgamma-compat.h>.
14268         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
14269         (__ieee754_gammaf): Define as alias.
14270         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
14271         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
14272         <lgamma-compat.h>.
14273         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
14274         (__ieee754_gammal): Define as alias.
14275         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
14276         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
14277         <math/w_lgamma_compat.c>.
14278         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
14279         Define as alias of __lgamma_compat and use in defining lgammal.
14280         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
14281         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
14282         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
14283         (USE_AS_COMPAT): New macro.
14284         (LGAMMA_OLD_VER): Undefine and redefine.
14285         (lgammal): Do not define here.
14286         (gammal): Only define here if [GAMMA_ALIAS].
14287         * conform/linknamespace.pl (@whitelist): Remove signgam.
14288         * sysdeps/nacl/libm.abilist: Update.
14289         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14290         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14291         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14292         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14293         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14294         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14295         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14296         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14297         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14298         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14299         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14300         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14302         Likewise.
14303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14304         Likewise.
14305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14306         Likewise.
14307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14308         Likewise.
14309         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14310         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14311         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14312         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14313         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14315         Likewise.
14316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14317         Likewise.
14318         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14319         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14320         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14322 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14324         [BZ #16364]
14325         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
14326         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
14328 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14330         * sysdeps/s390/fpu/bits/mathinline.h:
14331         Use __asm__ [__volatile__] instead of asm [volatile].
14332         * sysdeps/s390/abort-instr.h: Likewise.
14333         * sysdeps/s390/atomic-machine.h: Likewise.
14334         * sysdeps/s390/bits/string.h: Likewise.
14335         * sysdeps/s390/dl-tls.h: Likewise.
14336         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14337         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14338         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14339         * sysdeps/s390/fpu/fesetround.c: Likewise.
14340         * sysdeps/s390/fpu/fpu_control.h: Likewise.
14341         * sysdeps/s390/fpu/s_fma.c: Likewise.
14342         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
14343         * sysdeps/s390/memusage.h: Likewise.
14344         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
14345         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
14346         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
14347         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
14348         * sysdeps/s390/nptl/tls.h: Likewise.
14349         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
14350         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14351         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14352         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14353         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14354         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14355         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
14356         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14357         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14358         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
14359         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14360         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14361         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14362         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
14363         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14364         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14365         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
14366         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14367         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
14368         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14369         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
14370         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14371         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
14373 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14374             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14376         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14377         Add lwarx hint, and use macro for acquire instruction.
14378         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14379         Likewise.
14380         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
14381         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
14382         update to use new atomic macros.
14384 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14386         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14387         (__lll_trylock_elision): Fix setting of adapt_count.
14388         * sysdeps/unix/sysv/linux/powerpc/htm.h
14389         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
14390         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
14391         (_ABORT_SYSCALL): Renumber, and clarify definition.
14392         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
14394 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14396         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
14397         after system headers to prevent MIN/MAX redefinition.  Define
14398         HAVE_ALLOCA to preserve builtin alloca usage.
14400 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
14403         static and don't set or restore rounding.
14404         (__cos)[IN_SINCOS]: Likewise.
14405         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
14406         (__sincos): Set and restore rounding mode.  Remove check for infinite
14407         or NaN input.
14409         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
14411         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
14412         as used.
14414 2015-11-16  Florian Weimer  <fweimer@redhat.com>
14416         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
14418 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
14420         * config.make.in (have-glob-dat-reloc): New.
14421         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
14422         target supports GLOB_DAT relocaton. AC_SUBST.
14423         * configure: Regenerated.
14424         * elf/Makefile (tests): Add tst-prelink.
14425         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
14426         (tst-prelink-ENV): New.
14427         ($(objpfx)tst-prelink-conflict.out): Likewise.
14428         ($(objpfx)tst-prelink-cmp.out): Likewise.
14429         * sysdeps/x86/tst-prelink.c: Moved to ...
14430         * elf/tst-prelink.c: Here.
14431         * sysdeps/x86/tst-prelink.exp: Moved to ...
14432         * elf/tst-prelink.exp: Here.
14433         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
14434         (tst-prelink-ENV): Removed.
14435         ($(objpfx)tst-prelink-conflict.out): Likewise.
14436         ($(objpfx)tst-prelink-cmp.out): Likewise.
14437         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
14439 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
14441         [BZ #14551]
14442         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
14443         (__mpn_construct_long_double): If high part overflows to infinity,
14444         set errno and recompute overflowed result of the correct sign.
14445         * sysdeps/ieee754/ldbl-128ibm/Makefile
14446         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
14447         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
14448         $(libm).
14449         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
14451 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
14453         [BZ #15479]
14454         [BZ #19238]
14455         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
14456         floating-point state after first operation on input.  Restore full
14457         state rather than just rounding mode.
14458         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14459         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14460         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14462         [BZ #19235]
14463         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
14464         add 0.5 to integer arguments.
14465         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
14466         Likewise.
14467         (.LC2): New object.
14469 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
14471         * scripts/pylintrc (reports): Set to no.
14473 2015-11-10  Roland McGrath  <roland@hack.frob.com>
14475         * elf/dl-load.c (open_verify): Take new argument FD.
14476         Skip __open call if passed FD is not -1.
14477         (_dl_map_object, open_path): Update callers.
14478         * elf/dl-sysdep-open.h: New file.
14479         * elf/dl-load.c: Include it.
14480         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
14481         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
14482         * sysdeps/nacl/dl-sysdep-open.h: New file.
14483         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
14484         from libc to rtld.
14486 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
14488         [BZ #19228]
14489         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
14490         and restore full floating-point state.
14491         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14492         Likewise.
14493         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14494         Likewise.
14495         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14496         Likewise.
14497         * math/test-nearbyint-except-2.c: New file.
14498         * math/Makefile (tests): Add test-nearbyint-except-2.
14500 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
14502         [BZ #19178]
14503         * sysdeps/x86/Makefile (tests): Add tst-prelink.
14504         (tst-prelink-ENV): New.
14505         ($(objpfx)tst-prelink-conflict.out): Likewise.
14506         ($(objpfx)tst-prelink-cmp.out): Likewise.
14507         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
14508         * sysdeps/x86/tst-prelink.c: New file.
14509         * sysdeps/x86/tst-prelink.exp: Likewise.
14511 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
14513         * math/auto-libm-test-in: Add another test of pow.
14514         * math/auto-libm-test-out: Regenerated.
14515         * math/libm-test.inc (pow_test_data): Add another test.
14517 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14519         [BZ #19219]
14520         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
14521         weak_alias to nearbyintl.
14523 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
14525         * sysdeps/aarch64/bits/string.h: New file.
14526         (_STRING_ARCH_unaligned): Define.
14528 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
14530         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
14531         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14532         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14533         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
14534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
14536 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
14538         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
14539         for original name of the DSO.  Add it to the name list of the DSO
14540         if it is actually given.
14541         (_dl_map_object): Keep track of whether an audit module rewrote
14542         the file name.  If yes, pass the original name to
14543         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
14544         debugging is enabled, log the change of the file name.
14545         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
14546         _dl_map_object_from_fd.
14547         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
14548         * elf/tst-audit11.c: New file
14549         * elf/tst-auditmod11.c: New file.
14550         * elf/tst-audit11mod1.c: New file.
14551         * elf/tst-audit11mod2.c: New file.
14552         * elf/tst-audit11mod2.map: New file.
14553         * elf/tst-audit12.c: New file
14554         * elf/tst-auditmod12.c: New file.
14555         * elf/tst-audit12mod1.c: New file.
14556         * elf/tst-audit12mod2.c: New file.
14557         * elf/tst-audit12mod2.map: New file.
14558         * elf/tst-audit12mod3.c: New file.
14560 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14562         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
14563         Don't create weak aliases,
14564         because versioned symbols are created later.
14565         * sysdeps/s390/s390-32/setjmp.S
14566         (setjmp, _setjmp): Remove weak and rename to an unique name
14567         in SHARED case due to existing versioned symbols.
14568         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14569         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
14570         (getcontext): Create weak alias only in non SHARED case.
14571         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14573 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14575         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
14576         (__ASSUME_*_SYSCALL) Define new macros.
14577         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
14578         Remove socketcall syscalls.
14579         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
14580         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
14581         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
14582         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
14583         * sysdeps/unix/sysv/linux/send.c (__libc_send):
14584         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
14586 2015-11-09  Florian Weimer  <fweimer@redhat.com>
14588         [BZ #12926]
14589         Terminate process on invalid netlink response.
14590         * sysdeps/unix/sysv/linux/netlinkaccess.h
14591         (__netlink_assert_response): Declare.
14592         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
14593         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
14594         (sysdep_routines): Add netlink_assert_response.
14595         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
14596         __netlink_assert_response.
14597         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14598         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14599         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
14600         __netlink_assert_response.
14602 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14604         [BZ #19178]
14605         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
14606         (RTYPE_CLASS_PLT): Likewise.
14607         (RTYPE_CLASS_COPY): Likewise.
14608         (RTYPE_CLASS_TLS): Likewise.
14609         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
14610         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
14611         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
14612         DL_DEBUG_PRELINK.
14614 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
14616         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
14617         calls with argument -0.5.
14618         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
14620         * configure.ac (libc_cv_z_nodelete): Remove configure test.
14621         (libc_cv_z_nodlopen): Likewise.
14622         (libc_cv_z_initfirst): Likewise.
14623         * configure: Regenerated.
14625 2015-11-06  Florian Weimer  <fweimer@redhat.com>
14627         Simplify abilist format to be line-based.
14628         * scripts/abilist.awk: Collect descriptors in the descs variable.
14629         (emit): Write descs variable and sort it
14630         externally, with sort.
14631         * sysdeps/**/*.abilist: Convert to new format.
14633 2015-11-06  Mark Wielaard  <mjw@redhat.com>
14635         [BZ #11460]
14636         * io/Makefile (routines): Add fts64.
14637         (tests): Add tst-fts and tst-fts-lfs.
14638         (CFLAGS-fts64.c): New.
14639         * io/Versions (GLIBC_2.23): New.
14640         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
14641         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
14642         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
14643         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
14644         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
14645         (FTSENT64): Likewise.
14646         (fts64_children): Likewise.
14647         (fts64_close): Likewise.
14648         (fts64_open): Likewise.
14649         (fts64_read): Likewise.
14650         (fts64_set): Likewise.
14651         * io/fts64.c: New file.
14652         * io/tst-fts.c: New test.
14653         * io/tst-fts-lfs.c: Likewise.
14654         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
14655         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
14656         fts64_set.
14657         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14658         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14659         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14660         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14661         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14662         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14663         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14664         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14665         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14666         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14667         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14668         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14669         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14671         Likewise.
14672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14673         Likewise.
14674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14676         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14677         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14678         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14679         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14680         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14683         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14684         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14685         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14686         * sysdeps/wordsize-64/fts.c: New file.
14687         * sysdeps/wordsize-64/fts64.c: Likewise.
14688         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
14689         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
14690         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
14691         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
14693 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
14695         * math/libm-test.inc (NON_FINITE): New macro.
14696         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
14697         * math/gen-libm-test.pl (show_exceptions): Add argument
14698         $non_finite.
14699         (parse_args): Update call to show_exceptions.
14700         * math/test-math-finite.h: New file.
14701         * math/test-math-no-finite.h: Likewise.
14702         * math/test-double-finite.c: Likewise.
14703         * math/test-float-finite.c: Likewise.
14704         * math/test-ldouble-finite.c: Likewise.
14705         * math/test-double.c: Include "test-math-no-finite.h".
14706         * math/test-float.c: Include "test-math-no-finite.h".
14707         * math/test-ldouble.c: Include "test-math-no-finite.h".
14708         * math/test-math-inline.h (TEST_FINITE): New macro.
14709         * math/test-math-vector.h (TEST_FINITE): Likewise.
14710         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
14711         (libm-tests): Add test-float-finite and test-double-finite.
14712         ($(objpfx)test-float-finite.o): New dependency on
14713         $(objpfx)libm-test.stmp.
14714         ($(objpfx)test-double-finite.o): Likewise.
14715         ($(objpfx)test-ldouble-finite.o): Likewise.
14716         (libm-test-no-inline-cflags): New variable.
14717         (libm-test-finite-cflags): Likewise.
14718         (CFLAGS-test-float-finite.c): Likewise.
14719         (CFLAGS-test-double-finite.c): Likewise.
14720         (CFLAGS-test-ldouble-finite.c): Likewise.
14721         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
14722         (CFLAGS-test-double.c): Likewise.
14723         (CFLAGS-test-ldouble.c): Likewise.
14725 2015-11-05  Roland McGrath  <roland@hack.frob.com>
14727         * io/fcntl.c (__fcntl): Add ... to prototype.
14728         * misc/ioctl.c (__ioctl): Likewise.
14729         * misc/syscall.c (syscall): Likewise.
14731 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
14733         * scripts/list-fixed-bugs.py: New file.
14735         [BZ #19213]
14736         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
14737         returned for argument 1.
14738         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
14739         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
14740         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
14741         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
14742         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
14743         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
14745         [BZ #19211]
14746         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
14747         __USE_XOPEN], not if [!__USE_ISOC99].
14748         (lgammaf): Likewise.
14749         (lgammal): Likewise.
14750         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
14751         (gammaf): Likewise.
14752         (gammal): Likewise.
14753         * math/test-signgam-finite-c11.c: New file.
14754         * math/test-signgam-finite-c99.c: Likewise.
14755         * math/test-signgam-finite.c: Likewise.
14756         * math/Makefile (tests): Add test-signgam-finite,
14757         test-signgam-finite-c99 and test-signgam-finite-c11.
14758         (CFLAGS-test-signgam-finite.c): New variable.
14759         (CFLAGS-test-signgam-finite-c99.c): Likewise.
14760         (CFLAGS-test-signgam-finite-c11.c): Likewise.
14762         [BZ #19212]
14763         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
14764         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
14765         500].
14766         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
14767         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
14768         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
14769         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
14770         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
14771         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
14772         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
14773         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
14774         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
14775         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
14777         [BZ #19209]
14778         * math/bits/math-finite.h (ldexp): Remove declaration.
14779         (ldexpf): Likewise.
14780         (ldexpl): Likewise.
14782         [BZ #19205]
14783         * math/bits/math-finite.h (acosf): Condition declaration on
14784         [__USE_ISOC99].
14785         (acosl): Likewise.
14786         (acoshf): Likewise.
14787         (acoshl): Likewise.
14788         (asinf): Likewise.
14789         (asinl): Likewise.
14790         (atan2f): Likewise.
14791         (atan2l): Likewise.
14792         (atanhf): Likewise.
14793         (atanhl): Likewise.
14794         (coshf): Likewise.
14795         (coshl): Likewise.
14796         (expf): Likewise.
14797         (expl): Likewise.
14798         (fmodf): Likewise.
14799         (fmodl): Likewise.
14800         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
14801         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
14802         (j0l): Likewise.
14803         (y0f): Likewise.
14804         (y0l): Likewise.
14805         (j1f): Likewise.
14806         (j1l): Likewise.
14807         (y1f): Likewise.
14808         (y1l): Likewise.
14809         (jnf): Likewise.
14810         (jnl): Likewise.
14811         (ynf): Likewise.
14812         (ynl): Likewise.
14813         (lgammaf_r): Condition declaration on [__USE_ISOC99].
14814         (lgammal_r): Likewise.
14815         (__lgamma_r_finite): New declaration.
14816         (__lgammaf_r_finite): Likewise.
14817         (__lgammal_r_finite): Likewise.
14818         (lgamma): Use __lgamma_r_finite.
14819         (lgammaf): Condition definition on [__USE_ISOC99].  Use
14820         __lgammaf_r_finite.
14821         (lgammal): Condition definition on [__USE_ISOC99].  Use
14822         __lgammal_r_finite.
14823         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
14824         __lgamma_r_finite.
14825         (gammaf): Condition definition on [__USE_ISOC99].  Use
14826         __lgammaf_r_finite.
14827         (gammal): Condition definition on [__USE_ISOC99].  Use
14828         __lgammal_r_finite.
14829         (logf): Condition declaration on [__USE_ISOC99].
14830         (logl): Likewise.
14831         (log10f): Likewise.
14832         (log10l): Likewise.
14833         (ldexpf): Likewise.
14834         (ldexpl): Likewise.
14835         (powf): Likewise.
14836         (powl): Likewise.
14837         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
14838         __USE_ISOC99].
14839         (remainderf): Condition declaration on [__USE_ISOC99].
14840         (remainderl): Likewise.
14841         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
14842         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
14843         (scalbl): Likewise.
14844         (sinhf): Condition declaration on [__USE_ISOC99].
14845         (sinhl): Likewise.
14846         (sqrtf): Likewise.
14847         (sqrtl): Likewise.
14849 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14851         * sysdeps/arm/atomic-machine.h
14852         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14853         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14854         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
14855         Remove conditional code.
14856         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14857         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14858         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
14859         Change conditional to [__ASSEMBLER__].
14860         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14861         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
14862         [!__ASSEMBLER__].
14863         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
14864         code.
14865         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
14866         conditional macro definitions.
14867         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
14868         (__arch_compare_and_exchange_val_16_acq): Likewise.
14869         (__arch_compare_and_exchange_val_32_acq): Likewise.
14870         (atomic_exchange_and_add): Likewise.
14871         (atomic_add): Likewise.
14872         (atomic_add_negative): Likewise.
14873         (atomic_add_zero): Likewise.
14874         (atomic_bit_set): Likewise.
14875         (atomic_bit_test_set): Likewise.
14876         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
14877         code unconditional.
14878         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14880         * math/test-math-errno.h: New file.
14881         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
14882         empty.
14883         (TEST_ERRNO): New macro.
14884         (TEST_EXCEPTIONS): Likewise.
14885         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
14886         (TEST_EXCEPTIONS): Likewise.
14887         * math/test-math-vector.h (TEST_ERRNO): Likewise.
14888         * math/test-double.c: Include "test-math-errno.h".
14889         * math/test-float.c: Likewise.
14890         * math/test-ldouble.c: Likewise.
14891         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
14892         code unconditional.
14893         (test_exceptions): Only run code if TEST_EXCEPTIONS.
14894         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
14895         unconditional.
14896         (test_errno): Only run code if TEST_ERRNO.
14897         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
14899 2015-11-04  Florian Weimer  <fweimer@redhat.com>
14901         * nptl/tst-once5.cc: Remove attribution.
14903 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14905         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
14906         sqrt, tan, tanh, y0, y1 and yn.
14907         * math/auto-libm-test-out: Regenerated.
14908         * math/libm-test.inc (scalb_test_data): Add more tests.
14909         (scalbn_test_data): Likewise.
14910         (scalbln_test_data): Likewise.
14911         (signbit_test_data): Likewise.
14912         (sin_test_data): Likewise.
14913         (sincos_test_data): Likewise.
14914         (sinh_test_data): Likewise.
14915         (sqrt_test_data): Likewise.
14916         (tan_test_data): Likewise.
14917         (tanh_test_data): Likewise.
14918         (tgamma_test_data): Likewise.
14919         (y0_test_data): Likewise.
14920         (y1_test_data): Likewise.
14921         (yn_test_data): Likewise.
14922         (significand_test_data): Likewise.
14923         * sysdeps/i386/fpu/libm-test-ulps: Update.
14925 2015-11-03  David Kastrup  <dak@gnu.org>
14927         [BZ #18604]
14928         * assert/assert.h (assert): Don't macro-expand failed assertion
14929         expression in error message.
14930         * malloc/malloc.c (assert): Likewise.
14932 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
14934         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
14935         test.
14936         * configure: Regenerated.
14938 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
14940         * math/libm-test.inc (modf_test_data): Add more tests.
14941         (nearbyint_test_data): Likewise.
14942         (nextafter_test_data): Likewise.
14943         (nexttoward_test_data): Likewise.
14944         (pow_test_data): Likewise.
14945         (remainder_test_data): Likewise.
14946         (remquo_test_data): Likewise.
14947         (rint_test_data): Likewise.
14949         [BZ #19201]
14950         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14951         Check for zero remainder in case of large exponents and ensure
14952         correct sign of result in that case.
14953         * math/libm-test.inc (remainder_test_data): Add more tests.
14955         [BZ #6799]
14956         * math/s_nextafter.c: Include <errno.h>.
14957         (__nextafter): Set errno on overflow and underflow.
14958         * math/s_nexttowardf.c: Include <errno.h>.
14959         (__nexttowardf): Set errno on overflow and underflow.
14960         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14961         (__nextafterl): Set errno on overflow and underflow.
14962         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14963         (__nexttoward): Set errno on overflow and underflow.
14964         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14965         (__nexttowardf): Set errno on overflow and underflow.
14966         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14967         (__nextafterf): Set errno on overflow and underflow.
14968         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14969         (__nextafterl): Set errno on overflow and underflow.
14970         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14971         (__nexttoward): Set errno on overflow and underflow.
14972         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14973         (__nexttowardf): Set errno on overflow and underflow.
14974         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14975         (__nextafterl): Set errno on overflow and underflow.
14976         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14977         (__nexttoward): Set errno on overflow and underflow.
14978         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14979         (__nexttowardf): Set errno on overflow and underflow.
14980         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14981         (__nexttoward): Set errno on overflow and underflow.
14982         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14983         (__nexttowardf): Set errno on overflow and underflow.
14984         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14985         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14986         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14987         (__nextafterl): Set errno on overflow and underflow.
14988         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14989         setting to be missing on overflow.  Add more tests.
14990         (nexttoward_test_data): Likewise.
14992         * configure.ac (libc_cv_initfini_array): Remove configure test.
14993         * configure: Regenerated.
14995 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14997         [BZ #19189]
14998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14999         non-finite argument handle arguments with negative sign.
15001         * math/libm-test.inc (j0_test_data): Do not test sign of zero
15002         result from infinite argument.
15003         (j1_test_data): Likewise.
15004         (jn_test_data): Likewise.
15005         (y0_test_data): Likewise.
15006         (y1_test_data): Likewise.
15007         (yn_test_data): Likewise.
15009         [BZ #16171]
15010         * math/w_remainder.c (drem): Define as weak alias of __remainder.
15011         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15012         * math/w_remainderf.c (dremf): Define as weak alias of
15013         __remainderf.
15014         * math/w_remainderl.c (dreml): Define as weak alias of
15015         __remainderl.
15016         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15017         __remainder.
15018         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15019         __remainderf.
15020         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15021         __remainderl.
15022         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15023         weak alias of remainderl.
15024         * sysdeps/ieee754/ldbl-opt/w_remainder.c
15025         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15026         alias of __remainder.
15027         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15028         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15029         strong alias of __remainderl.
15030         (dreml): Use long_double_symbol.
15031         * math/Makefile (libm-calls): Remove w_drem.
15032         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15033         (CFLAGS-nldbl-drem.c): Remove variable.
15034         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15035         * math/w_drem.c: Remove file.
15036         * math/w_dremf.c: Likewise.
15037         * math/w_dreml.c: Likewise.
15038         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15039         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15040         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15042         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15043         * sysdeps/i386/configure: Regenerated.
15044         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15045         * sysdeps/x86_64/configure: Regenerated.
15047         * configure.ac (libc_cv_asm_protected_directive): Remove configure
15048         test.
15049         (libc_cv_visibility_attribute): Likewise.
15050         (libc_cv_protected_data): Test unconditionally.
15051         (libc_cv_broken_visibility_attribute): Remove configure test.
15052         (libc_cv_have_sdata_section): Test unconditionally.
15053         * configure: Regenerated.
15055         * include/libc-internal.h (libc_max_align_t): Remove typedef.
15056         * include/scratch_buffer.h: Include <stddef.h> instead of
15057         <libc-internal.h>.
15058         (struct scratch_buffer): Use max_align_t instead of
15059         libc_max_align_t.
15061 2015-10-29  Florian Weimer  <fweimer@redhat.com>
15063         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15064         instead of extend_alloca.  Change control flow to avoid a goto.
15065         Remove assert which is trivially always true.
15067 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15069         [BZ #16068]
15070         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15071         (FE_ALL_EXCEPT_X86): New macro.
15072         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15073         FE_ALL_EXCEPT.  Ensure precision control is included in
15074         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15075         handle "denormal operand exception" and clear FZ and DAZ bits.
15076         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15077         (FE_ALL_EXCEPT_X86): New macro.
15078         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15079         FE_ALL_EXCEPT.  Ensure precision control is included in
15080         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15081         handle "denormal operand exception" and clear FZ and DAZ bits.
15082         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15083         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15084         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15085         test-fenv-x87 and test-fenv-sse-2.
15086         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15088         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15089         * math/test-double.h (BUILD_COMPLEX): New macro.
15090         * math/test-float.h (BUILD_COMPLEX): Likewise.
15091         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15093         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15094         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15095         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15097         instead of DBL_DENORM_MIN in comment.
15098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15099         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15100         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15101         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15103         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15105 2015-10-28  Florian Weimer  <fweimer@redhat.com>
15107         [BZ# 19048]
15108         * malloc/malloc.c (struct malloc_state): Update comment.  Add
15109         attached_threads member.
15110         (main_arena): Initialize attached_threads.
15111         * malloc/arena.c (list_lock): Update comment.
15112         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15113         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15114         (deattach_arena): New function.
15115         (_int_new_arena): Initialize arena reference count and deattach
15116         replaced arena.
15117         (get_free_list, reused_arena): Update reference count and deattach
15118         replaced arena.
15119         (arena_thread_freeres): Update arena reference count and only put
15120         unreferenced arenas on the free list.
15122 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15124         [BZ #19181]
15125         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15126         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15127         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15128         * math/test-fenv-clear-main.c: New file.
15129         * math/test-fenv-clear.c: Likewise.
15130         * math/Makefile (tests): Add test-fenv-clear.
15131         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15132         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15133         test-fenv-clear-sse.
15134         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15136         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15137         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15138         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15140 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15142         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15143         static libc.
15145 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15147         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15148         test.
15149         * sysdeps/i386/configure: Regenerated.
15150         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15151         test.
15152         * sysdeps/x86_64/configure: Regenerated.
15153         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15155         memset-avx2 unconditionally instead of conditionally on
15156         [$(config-cflags-avx2) = yes].
15157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15158         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15159         unconditional.
15160         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15161         * sysdeps/x86_64/multiarch/memset_chk.S
15162         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15163         to [IS_IN (libc) && SHARED].
15165 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15167         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15168         configure test.
15169         * sysdeps/arm/configure: Regenerated.
15170         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15171         Define variable if not already defined.
15173         [BZ #17404]
15174         * sysdeps/mips/atomic-machine.h
15175         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15176         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15177         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15179         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15180         unconditional.
15181         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15182         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15183         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15184         unconditional.
15185         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15186         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15187         unconditional.
15188         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15189         * stdlib/setenv.c
15190         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15191         code unconditional.
15192         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15193         Remove conditional code.
15194         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15195         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15196         unconditional.
15197         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15198         code.
15199         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15200         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15201         unconditional.
15202         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15203         code.
15204         * sysdeps/ieee754/ldbl-128/k_tanl.c
15205         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15206         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15207         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15208         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15209         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15210         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15211         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15212         unconditional.
15213         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15214         code.
15215         * sysdeps/ieee754/ldbl-96/k_tanl.c
15216         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15217         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15219         * nptl/tst-initializers1-c11.c: New file.
15220         * nptl/tst-initializers1-gnu11.c: Likewise.
15221         * nptl/Makefile (tests): Add these new tests.
15222         (CFLAGS-tst-initializers1-c11.c): New variable.
15223         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15225         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
15226         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
15227         instead of -std=gnu99.
15228         * configure.ac (systemtap): Test with -std=gnu11 instead of
15229         -std=gnu99.
15230         * configure: Regenerated.
15231         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
15232         in compilation command in comment.
15234         * sysdeps/nptl/configure.ac: Remove file.
15235         * sysdeps/nptl/configure: Remove generated file.
15236         * configure.ac (libc_cv_forced_unwind): Do not substitute.
15237         * configure: Regenerated.
15238         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
15239         * config.make.in (have-forced-unwind): Remove variable.
15240         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15241         unconditional.
15242         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
15243         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
15244         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
15245         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
15246         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15247         unconditional.
15249 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15251         [BZ #19174]
15252         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
15253         .skip_lock_out_of_tbegin_retries.
15254         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15255         (__lll_lock_elision): Likewise, and respect a value of
15256         try_tbegin <= 0.
15258 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15260         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
15261         statement.
15263 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15265         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
15266         variable.
15267         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15268         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15270         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
15271         of -std=c1x -D_ISOC11_SOURCE.
15273         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
15274         * configure: Regenerated.
15275         * manual/install.texi (Tools for Compilation): Document
15276         requirement for GCC 4.7 or later.
15277         * INSTALL: Regenerated.
15279 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
15281         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
15282         on CNT to a conditional jump to 'puntdata'.
15284 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15286         * configure.ac (libc_cv_gcc___thread): Remove configure test.
15287         (libc_cv_gcc_tls_model_attr): Likewise.
15288         * configure: Regenerated.
15290         * configure.ac (libc_cv_need_minus_P): Remove configure test.
15291         * configure: Regenerated.
15292         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
15294 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
15296         * configure.ac (old_glibc_headers): Remove configure test.
15297         * configure: Regenerated.
15298         * config.make.in (old-glibc-headers): Remove variable.
15299         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
15300         (install): Remove dependency on remove-old-headers.
15301         (headers2_0): Remove variable.
15302         (remove-old-headers): Remove rule.
15304         * configure.ac (libc_cv_dot_text): Remove configure test.
15305         (libc_cv_asm_set_directive): Use .text instead of
15306         ${libc_cv_dot_text} in configure test.
15307         * configure: Regenerated.
15309 2015-10-26  Florian Weimer  <fweimer@redhat.com>
15311         [BZ #19168]
15312         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15314 2015-10-26  Florian Weimer  <fweimer@redhat.com>
15316         * configure.ac (CXX): Clear the variable if the C++ toolchain does
15317         not support static linking.
15318         * configure: Regenerate.
15320 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
15322         * math/libm-test.inc (check_float_internal): Do not special-case
15323         errors up to 0.5 ulp.
15325         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15326         log2.
15327         * math/auto-libm-test-out: Regenerated.
15328         * math/libm-test.inc (MAX_EXP): New macro.
15329         (ilogb_test_data): Add more tests.
15330         (isfinite_test_data): Likewise.
15331         (isgreater_test_data): Likewise.
15332         (isgreaterequal_test_data): Likewise.
15333         (isinf_test_data): Likewise.
15334         (isless_test_data): Likewise.
15335         (islessequal_test_data): Likewise.
15336         (islessgreater_test_data): Likewise.
15337         (isnan_test_data): Likewise.
15338         (isnormal_test_data): Likewise.
15339         (issignaling_test_data): Likewise.
15340         (isunordered_test_data): Likewise.
15341         (j0_test_data): Likewise.
15342         (j1_test_data): Likewise.
15343         (jn_test_data): Likewise.
15344         (lgamma_test_data): Likewise.
15345         (log_test_data): Likewise.
15346         (log10_test_data): Likewise.
15347         (log1p_test_data): Likewise.
15348         (log2_test_data): Likewise.
15349         (logb_test_data): Likewise.
15350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15352         [BZ #18611]
15353         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
15354         avoid excess range and precision on underflow.
15355         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15356         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15357         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15358         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
15359         underflow.
15360         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15362         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15363         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15364         * math/auto-libm-test-in: Do not allow missing errno setting for
15365         tests of j1 and jn.
15366         * math/auto-libm-test-out: Regenerated.
15368 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #15491]
15371         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
15372         floating-point environment instead of clearing all exceptions.
15373         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15374         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
15375         merging in "invalid" exceptions from frndint.
15376         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15377         * math/test-nearbyint-except.c: New file.
15378         * math/Makefile (tests): Add test-nearbyint-except.
15380 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
15382         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
15384         * sysdeps/tile/libm-test-ulps: Regenerated.
15386 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
15389         (__NR_sync_file_range2): Assume it is always defined.
15390         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15391         (__NR_sync_file_range): Assume it is always defined.
15393 2015-10-22  Andreas Schwab  <schwab@suse.de>
15395         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15396         INTERNAL_SYSCALL_ERRNO.
15397         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15398         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15399         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15400         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15401         Likewise.
15402         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15404 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
15406         * io/tst-fcntl.c (fd): New static variable.
15407         (do_prepare): Open temporary file here....
15408         (do_test): ...not here.
15410         * io/ftwtest-sh: Also trap on exit to remove temporary files.
15412 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
15414         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
15415         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
15416         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
15417         Moved before "#ifdef __ASSEMBLER__".
15419 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
15421         [BZ #19156]
15422         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
15423         arguments very close to 0.
15425 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
15427         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
15428         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
15430 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
15432         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
15433         New.  Defined for GCC 5 and above when not compiling for
15434         profiling.
15435         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
15437         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15438         Renamed to ...
15439         (CFLAGS-epoll_pwait.o): This.
15440         (CFLAGS-mmap.c): Renamed to ...
15441         (CFLAGS-mmap.o): This.
15442         (CFLAGS-mmap64.c): Renamed to ...
15443         (CFLAGS-mmap64.o): This.
15444         (CFLAGS-epoll_pwait.os): New.
15445         (CFLAGS-mmap.os): Likewise.
15446         (CFLAGS-mmap64.os): Likewise.
15447         (CFLAGS-semtimedop.os): Likewise.
15448         (CFLAGS-semtimedop.c): Renamed to ...
15449         (CFLAGS-semtimedop.o): This.
15451 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15453         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
15454         warning message.
15456 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
15458         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
15459         * Makefile ($(objpfx)c++-types-check.out): Filter out
15460         $(+gccwarn-c) instead of -Wstrict-prototypes.
15462         * io/fts.c (fts_open): Convert to prototype-style function
15463         definition.
15464         * malloc/mcheck.c (mcheck): Likewise.
15465         (mcheck_pedantic): Likewise.
15466         * posix/regexec.c (re_search_2_stub): Likewise.  Use
15467         internal_function.
15468         (re_search_internal): Likewise.
15469         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
15470         prototype-style function definition.
15471         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15472         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
15473         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
15474         (xdr_utmpptr): Likewise.
15475         (xdr_utmparr): Likewise.
15476         (xdr_utmpidle): Likewise.
15477         (xdr_utmpidleptr): Likewise.
15478         (xdr_utmpidlearr): Likewise.
15480         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
15481         log, log10 and log2.
15482         * math/auto-libm-test-out: Regenerated.
15483         * math/libm-test.inc (fmod_test_data): Add more tests.
15484         (fpclassify_test_data): Likewise.
15485         (frexp_test_data): Likewise.
15486         (hypot_test_data): Likewise.
15487         (ilogb_test_data): Likewise.
15489 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
15491         * debug/fortify_fail.c (__fortify_fail): Convert to
15492         prototype-style function definition.  Use internal_function.
15493         * libio/genops.c (save_for_backup): Convert to prototype-style
15494         function definition.
15495         * libio/wgenops.c (save_for_wbackup): Likewise.
15496         * login/grantpt.c (grantpt): Likewise.
15497         * login/ptsname.c (ptsname): Likewise.
15498         (__ptsname_r): Likewise.
15499         * login/unlockpt.c (unlockpt): Likewise.
15500         * mach/msgserver.c (__mach_msg_server): Likewise.
15501         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
15502         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
15503         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
15504         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
15505         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
15506         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
15507         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
15508         Likewise.
15509         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
15510         internal_function.
15511         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
15512         prototype-style function definition.
15513         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
15514         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
15515         (__pthread_create_2_0): Likewise.
15516         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
15517         * nptl/register-atfork.c (__register_atfork): Likewise.
15518         * posix/glob.c (glob): Likewise.
15519         * posix/regcomp.c (re_comp): Likewise.
15520         * posix/regexec.c (re_exec): Likewise.
15521         * stdlib/add_n.c [__STDC__]: Make code unconditional.
15522         [!__STDC__]: Remove conditional code.
15523         * stdlib/cmp.c [__STDC__]: Make code unconditional.
15524         [!__STDC__]: Remove conditional code.
15525         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
15526         [!__STDC__]: Remove conditional code.
15527         * stdlib/divrem.c [__STDC__]: Make code unconditional.
15528         [!__STDC__]: Remove conditional code.
15529         * stdlib/lshift.c [__STDC__]: Make code unconditional.
15530         [!__STDC__]: Remove conditional code.
15531         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
15532         [!__STDC__]: Remove conditional code.
15533         * stdlib/mul.c [__STDC__]: Make code unconditional.
15534         [!__STDC__]: Remove conditional code.
15535         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
15536         [!__STDC__]: Remove conditional code.
15537         * stdlib/rshift.c [__STDC__]: Make code unconditional.
15538         [!__STDC__]: Remove conditional code.
15539         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
15540         function definition.
15541         (STRTOF): Likewise.
15542         * stdlib/strtod_l.c (__STRTOF): Likewise.
15543         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
15544         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
15545         (__strtol_l): Likewise.
15546         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
15547         [!__STDC__]: Remove conditional code.
15548         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
15549         definition.
15550         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
15551         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15552         type.
15553         (__strcasecmp): Convert to prototype-style function definition.
15554         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
15555         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15556         type.
15557         (__strncasecmp): Convert to prototype-style function definition.
15558         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
15559         * sunrpc/xdr.c (xdr_union): Likewise.
15560         * sunrpc/xdr_array.c (xdr_array): Likewise.
15561         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
15562         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
15563         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
15564         Likewise.
15565         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
15566         Likewise.
15567         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
15568         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15569         Likewise.
15570         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
15571         (LOCALE_PARAM_PROTO): Likewise.
15572         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
15573         argument type.
15574         (ut_argument_spec): Remove macro.
15575         (ut_argument_spec_iso): Rename to ut_argument_spec.
15576         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
15577         prototype-style function definition.
15578         (memcpy_uppcase): Likewise.
15579         (__strftime_internal): Likewise.
15580         (my_strftime): Likewise.
15581         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
15582         (LOCALE_PARAM_DECL): Likewise.
15583         [_LIBC] (LOCALE_PARAM): Include argument type.
15584         (__strptime_internal): Convert to prototype-style function
15585         definition.
15586         (strptime): Likewise.
15587         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
15588         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15589         type.
15590         (__wcscasecmp): Convert to prototype-style function definition.
15591         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
15592         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15593         type.
15594         (__wcsncasecmp): Convert to prototype-style function definition.
15596         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
15597         function definition.
15598         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15599         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15600         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
15601         * elf/dl-minimal.c (_itoa): Likewise.
15602         * hurd/hurdmalloc.c (malloc): Likewise.
15603         (free): Likewise.
15604         (realloc): Likewise.
15605         * inet/inet6_option.c (inet6_option_space): Likewise.
15606         (inet6_option_init): Likewise.
15607         (inet6_option_append): Likewise.
15608         (inet6_option_alloc): Likewise.
15609         (inet6_option_next): Likewise.
15610         (inet6_option_find): Likewise.
15611         * io/ftw.c (FTW_NAME): Likewise.
15612         (NFTW_NAME): Likewise.
15613         (NFTW_NEW_NAME): Likewise.
15614         (NFTW_OLD_NAME): Likewise.
15615         * libio/iofwide.c (_IO_fwide): Likewise.
15616         * libio/strops.c (_IO_str_init_static_internal): Likewise.
15617         (_IO_str_init_static): Likewise.
15618         (_IO_str_init_readonly): Likewise.
15619         (_IO_str_overflow): Likewise.
15620         (_IO_str_underflow): Likewise.
15621         (_IO_str_count): Likewise.
15622         (_IO_str_seekoff): Likewise.
15623         (_IO_str_pbackfail): Likewise.
15624         (_IO_str_finish): Likewise.
15625         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
15626         (_IO_wstr_overflow): Likewise.
15627         (_IO_wstr_underflow): Likewise.
15628         (_IO_wstr_count): Likewise.
15629         (_IO_wstr_seekoff): Likewise.
15630         (_IO_wstr_pbackfail): Likewise.
15631         (_IO_wstr_finish): Likewise.
15632         * locale/programs/localedef.c (normalize_codeset): Likewise.
15633         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15634         (add_locales_to_archive): Likewise.
15635         (delete_locales_from_archive): Likewise.
15636         * malloc/malloc.c (__libc_mallinfo): Likewise.
15637         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
15638         * misc/tsearch.c (__tfind): Likewise.
15639         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
15640         * nptl/pthread_attr_getdetachstate.c
15641         (__pthread_attr_getdetachstate): Likewise.
15642         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
15643         Likewise.
15644         * nptl/pthread_attr_getinheritsched.c
15645         (__pthread_attr_getinheritsched): Likewise.
15646         * nptl/pthread_attr_getschedparam.c
15647         (__pthread_attr_getschedparam): Likewise.
15648         * nptl/pthread_attr_getschedpolicy.c
15649         (__pthread_attr_getschedpolicy): Likewise.
15650         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
15651         Likewise.
15652         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
15653         Likewise.
15654         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
15655         Likewise.
15656         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
15657         Likewise.
15658         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
15659         (__pthread_attr_init_2_0): Likewise.
15660         * nptl/pthread_attr_setdetachstate.c
15661         (__pthread_attr_setdetachstate): Likewise.
15662         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
15663         Likewise.
15664         * nptl/pthread_attr_setinheritsched.c
15665         (__pthread_attr_setinheritsched): Likewise.
15666         * nptl/pthread_attr_setschedparam.c
15667         (__pthread_attr_setschedparam): Likewise.
15668         * nptl/pthread_attr_setschedpolicy.c
15669         (__pthread_attr_setschedpolicy): Likewise.
15670         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
15671         Likewise.
15672         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
15673         Likewise.
15674         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
15675         Likewise.
15676         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
15677         Likewise.
15678         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
15679         Likewise.
15680         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
15681         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15682         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
15683         use internal_function.
15684         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
15685         prototype-style function definition.
15686         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
15687         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
15688         internal_function.
15689         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
15690         Convert to prototype-style function definition.
15691         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15692         Likewise.
15693         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
15694         Likewise.
15695         (__pthread_mutex_unlock): Likewise.
15696         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
15697         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
15698         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
15699         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
15700         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
15701         * nss/makedb.c (process_input): Likewise.
15702         * posix/fnmatch.c (__strchrnul): Likewise.
15703         (__wcschrnul): Likewise.
15704         (fnmatch): Likewise.
15705         * posix/fnmatch_loop.c (FCT): Likewise.
15706         * posix/glob.c (globfree): Likewise.
15707         (__glob_pattern_type): Likewise.
15708         (__glob_pattern_p): Likewise.
15709         * posix/regcomp.c (re_compile_pattern): Likewise.
15710         (re_set_syntax): Likewise.
15711         (re_compile_fastmap): Likewise.
15712         (regcomp): Likewise.
15713         (regerror): Likewise.
15714         (regfree): Likewise.
15715         * posix/regexec.c (regexec): Likewise.
15716         (re_match): Likewise.
15717         (re_search): Likewise.
15718         (re_match_2): Likewise.
15719         (re_search_2): Likewise.
15720         (re_search_stub): Likewise.  Use internal_function
15721         (re_copy_regs): Likewise.
15722         (re_set_registers): Convert to prototype-style function
15723         definition.
15724         (prune_impossible_nodes): Likewise.  Use internal_function.
15725         * resolv/inet_net_pton.c (inet_net_pton): Convert to
15726         prototype-style function definition.
15727         (inet_net_pton_ipv4): Likewise.
15728         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15729         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
15730         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
15731         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
15732         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15733         Make variadic.
15734         * time/strptime_l.c (localtime_r): Convert to prototype-style
15735         function definition.
15736         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15737         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15738         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15739         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15741         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
15742         definition.
15743         (_ufc_doit_r): Likewise.
15744         * crypt/crypt_util.c (_ufc_copymem): Likewise.
15745         (_ufc_output_conversion_r): Likewise.
15746         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
15747         * inet/rcmd.c (rcmd_af): Likewise.
15748         (rcmd): Likewise.
15749         (ruserok_af): Likewise.
15750         (ruserok): Likewise.
15751         (ruserok2_sa): Likewise.
15752         (ruserok_sa): Likewise.
15753         (iruserok_af): Likewise.
15754         (iruserok): Likewise.
15755         (__ivaliduser): Likewise.
15756         (__validuser2_sa): Likewise.
15757         * inet/rexec.c (rexec_af): Likewise.
15758         (rexec): Likewise.
15759         * inet/ruserpass.c (ruserpass): Likewise.
15760         * locale/programs/xmalloc.c (xcalloc): Likewise.
15761         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
15762         * math/w_drem.c (__drem): Likewise.
15763         * math/w_dremf.c (__dremf): Likewise.
15764         * math/w_dreml.c (__dreml): Likewise.
15765         * misc/daemon.c (daemon): Likewise.
15766         * resolv/res_debug.c (p_fqnname): Likewise.
15767         * stdlib/div.c (div): Likewise.
15768         * string/memcmp.c (memcmp_bytes): Likewise.
15769         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
15770         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
15772         * crypt/cert.c (main): Convert to prototype-style function
15773         definition.
15774         * io/pipe.c (__pipe): Likewise.
15775         * io/pipe2.c (__pipe2): Likewise.
15776         * misc/futimesat.c (futimesat): Likewise.
15777         * misc/utimes.c (__utimes): Likewise.
15778         * posix/execve.c (__execve): Likewise.
15779         * posix/execvp.c (execvp): Likewise.
15780         * posix/execvpe.c (__execvpe): Likewise.
15781         * posix/fexecve.c (fexecve): Likewise.
15782         * socket/socketpair.c (socketpair): Likewise.
15783         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15784         * stdlib/erand48.c (erand48): Likewise.
15785         * stdlib/erand48_r.c (__erand48_r): Likewise.
15786         * stdlib/jrand48.c (jrand48): Likewise.
15787         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
15788         * stdlib/lcong48.c (lcong48): Likewise.
15789         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
15790         * stdlib/nrand48.c (nrand48): Likewise.
15791         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
15792         * stdlib/seed48.c (seed48): Likewise.
15793         * stdlib/seed48_r.c (__seed48_r): Likewise.
15794         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
15795         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
15796         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
15798 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15800         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
15801         * configure: Regenerated.
15802         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
15803         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
15804         unconditional.
15805         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15806         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15807         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15808         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
15809         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
15810         unconditional.
15811         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15813         * posix/Makefile (CFLAGS-regex.c): Remove variable.
15814         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
15816         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
15817         function definition.
15818         * crypt/crypt_util.c (__encrypt_r): Likewise.
15819         * libio/genops.c (_IO_no_init): Likewise.
15820         * libio/iofopncook.c (_IO_fopencookie): Likewise.
15821         (_IO_old_fopencookie): Likewise.
15822         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15823         * libio/iogetline.c (_IO_getline): Likewise.
15824         (_IO_getline_info): Likewise.
15825         * libio/iogetwline.c (_IO_getwline): Likewise.
15826         (_IO_getwline_info): Likewise.
15827         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
15828         * libio/vswprintf.c (_IO_vswprintf): Likewise.
15829         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
15830         (find_entry): Likewise.
15831         (iterate_table): Likewise.
15832         (lookup): Likewise.
15833         * login/forkpty.c (forkpty): Likewise.
15834         * misc/hsearch_r.c (__hsearch_r): Likewise.
15835         * misc/select.c (__select): Likewise.
15836         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
15837         Likewise.
15838         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
15839         Likewise.
15840         * nptl/old_pthread_cond_timedwait.c
15841         (__pthread_cond_timedwait_2_0): Likewise.
15842         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
15843         * nptl/pthread_barrierattr_getpshared.c
15844         (pthread_barrierattr_getpshared): Likewise.
15845         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
15846         Likewise.
15847         * nptl/pthread_mutex_setprioceiling.c
15848         (pthread_mutex_setprioceiling): Likewise.
15849         * nptl/pthread_mutexattr_getprioceiling.c
15850         (pthread_mutexattr_getprioceiling): Likewise.
15851         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
15852         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15853         Likewise.
15854         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15855         Likewise.
15856         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
15857         Likewise.
15858         * socket/recvfrom.c (__recvfrom): Likewise.
15859         * socket/sendto.c (__sendto): Likewise.
15860         * socket/setsockopt.c (__setsockopt): Likewise.
15861         * stdio-common/_itoa.c (_itoa): Likewise.
15862         * stdio-common/_itowa.c (_itowa): Likewise.
15863         * stdio-common/reg-printf.c (__register_printf_specifier):
15864         Likewise.
15865         (__register_printf_function): Likewise.
15866         * stdio-common/tempname.c (__path_search): Likewise.
15867         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
15868         * stdlib/mul_1.c (mpn_mul_1): Likewise.
15869         * stdlib/random_r.c (__initstate_r): Likewise.
15870         * stdlib/setenv.c (__add_to_environ): Likewise.
15871         * stdlib/submul_1.c (mpn_submul_1): Likewise.
15872         * streams/getpmsg.c (getpmsg): Likewise.
15873         * streams/putmsg.c (putmsg): Likewise.
15874         * streams/putpmsg.c (putpmsg): Likewise.
15875         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
15876         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15877         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
15878         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15879         * sunrpc/pm_getport.c (pmap_getport): Likewise.
15880         * sunrpc/svc_udp.c (cache_get): Likewise.
15881         * sunrpc/xdr_array.c (xdr_vector): Likewise.
15882         * sysdeps/mach/hurd/getcwd.c
15883         (__canonicalize_directory_name_internal): Likewise.
15884         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
15885         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
15886         * sysdeps/mach/hurd/select.c (__select): Likewise.
15887         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15888         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15889         * sysdeps/sparc/nptl/pthread_barrier_init.c
15890         (__pthread_barrier_init): Likewise.
15891         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
15892         (__pthread_cond_timedwait): Likewise.
15893         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
15894         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
15895         Likewise.
15896         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
15897         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
15898         Likewise.
15899         * sysvipc/semtimedop.c (semtimedop): Likewise.
15900         * time/setitimer.c (__setitimer): Likewise.
15901         * time/strftime_l.c (emacs_strftime): Likewise.
15903 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15905         * config.make.in (have-ssp): Delete.
15906         (stack-protector): New variable.
15907         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
15908         cache test for -fstack-protector-strong.  Export stack_protector to
15909         the best ssp flag.
15910         * configure: Regenerated.
15911         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
15912         * nscd/Makefile (CFLAGS-nscd): Likewise.
15913         * resolv/Makefile (CFLAGS-libresolv): Likewise.
15915 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
15917         [BZ #19122]
15918         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
15919         attribute_hidden.
15921 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15923         [BZ #18743]
15924         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
15925         code to...
15926         (ELIDE_LOCK): ...here.
15927         (__get_new_count): New function with part of the code from
15928         __elide_lock that updates the value of adapt_count after a
15929         transaction abort.
15930         (__elided_trylock): Moved this code to...
15931         (ELIDE_TRYLOCK): ...here.
15933 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15935         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
15936         * configure: Regenerate.
15937         * INSTALL: Regenerate.
15938         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
15939         and tweak grammar.
15941 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
15943         * login/programs/pt_chown.c: Include signal.h
15944         (main): Clear any signal mask from the parent process.
15946 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15948         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15949         * configure: Regenerated.
15950         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15951         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15952         $(gnu89-inline-CFLAGS).
15954         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15955         test.
15956         (libc_cv_asm_weakext_directive): Likewise.
15957         * configure: Regenerated.
15958         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15959         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15960         * include/libc-symbols.h
15961         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15962         #error.
15963         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15964         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15966         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15967         prototype-style function definition.
15968         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15969         * sysdeps/i386/ffs.c (__ffs): Likewise.
15970         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15971         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15972         Likewise.
15973         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15974         Likewise.
15975         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15976         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15977         Likewise.
15978         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15979         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15980         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15981         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15982         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15983         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15984         * sysdeps/mach/hurd/access.c (__access): Likewise.
15985         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15986         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15987         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15988         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15989         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15990         (cthread_getspecific): Likewise.
15991         (cthread_setspecific): Likewise.
15992         (__libc_getspecific): Likewise.
15993         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15994         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15995         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15996         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15997         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15998         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15999         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16000         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16001         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16002         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16003         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16004         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16005         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16006         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16007         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16008         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16009         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16010         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16011         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16012         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16013         * sysdeps/mach/hurd/link.c (__link): Likewise.
16014         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16015         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16016         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16017         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16018         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16019         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16020         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16021         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16022         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16023         * sysdeps/mach/hurd/rename.c (rename): Likewise.
16024         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16025         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16026         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16027         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16028         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16029         * sysdeps/mach/hurd/send.c (__send): Likewise.
16030         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16031         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16032         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16033         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16034         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16035         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16036         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16037         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16038         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16039         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16040         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16041         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16042         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16043         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16044         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16045         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16046         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16047         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16048         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16049         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16050         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16051         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16052         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16053         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16054         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16055         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16056         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16057         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16058         * sysdeps/posix/alarm.c (alarm): Likewise.
16059         * sysdeps/posix/cuserid.c (cuserid): Likewise.
16060         * sysdeps/posix/dirfd.c (dirfd): Likewise.
16061         * sysdeps/posix/dup.c (__dup): Likewise.
16062         * sysdeps/posix/dup2.c (__dup2): Likewise.
16063         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16064         (main): Likewise.
16065         * sysdeps/posix/flock.c (__flock): Likewise.
16066         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16067         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16068         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16069         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16070         * sysdeps/posix/isatty.c (__isatty): Likewise.
16071         * sysdeps/posix/killpg.c (killpg): Likewise.
16072         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16073         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16074         * sysdeps/posix/raise.c (raise): Likewise.
16075         * sysdeps/posix/remove.c (remove): Likewise.
16076         * sysdeps/posix/rename.c (rename): Likewise.
16077         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16078         * sysdeps/posix/seekdir.c (seekdir): Likewise.
16079         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16080         * sysdeps/posix/sigignore.c (sigignore): Likewise.
16081         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16082         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16083         * sysdeps/posix/sigset.c (sigset): Likewise.
16084         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16085         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16086         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16087         * sysdeps/posix/time.c (time): Likewise.
16088         * sysdeps/posix/ttyname.c (getttyname): Likewise.
16089         (ttyname): Likewise.
16090         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16091         * sysdeps/posix/utime.c (utime): Likewise.
16092         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16093         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16094         Likewise.
16095         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16096         (pthread_spin_trylock): Likewise.
16097         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16098         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16099         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16100         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16101         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16102         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16103         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16104         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16105         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16106         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16107         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16108         * sysdeps/s390/ffs.c (__ffs): Likewise.
16109         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16110         Likewise.
16111         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16112         Likewise.
16113         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16114         Likewise.
16115         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16116         (pthread_barrier_destroy): Likewise.
16117         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16118         (__pthread_barrier_wait): Likewise.
16119         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16120         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16121         (__pthread_barrier_wait): Likewise.
16122         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16123         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16124         (memcmp_not_common_alignment): Likewise.
16125         (MEMCMP): Likewise.
16126         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16127         (_wordcopy_fwd_dest_aligned): Likewise.
16128         (_wordcopy_bwd_aligned): Likewise.
16129         (_wordcopy_bwd_dest_aligned): Likewise.
16130         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16131         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16132         * sysdeps/unix/bsd/stty.c (stty): Likewise.
16133         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16134         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16135         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16136         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16137         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16138         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16139         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16140         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16141         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16142         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16143         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16144         * sysdeps/unix/stime.c (stime): Likewise.
16145         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16146         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16147         Likewise.  Use internal_function.
16148         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16149         Convert to prototype-style function definition.
16150         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16151         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16152         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16153         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16154         Likewise.  Use internal_function.
16155         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16156         prototype-style function definition
16157         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16158         Likewise.
16159         (__getlogin_r): Likewise.
16160         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16161         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16162         (__pthread_cond_broadcast): Likewise.
16163         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16164         (__pthread_cond_destroy): Likewise.
16165         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16166         (__pthread_cond_init): Likewise.
16167         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16168         (__pthread_cond_signal): Likewise.
16169         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16170         (__pthread_cond_wait): Likewise.
16171         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16172         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16173         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16174         Likewise.
16175         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16176         Likewise.
16177         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16178         Likewise.
16179         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16180         Likewise.
16181         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16183         (__ftruncate64): Likewise.
16184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16185         (truncate64): Likewise.
16186         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16187         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16188         (pthread_getcpuclockid): Likewise.
16189         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16190         Likewise.
16191         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16192         Likewise.
16193         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16194         Likewise.
16195         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16196         Likewise.
16197         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16198         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16199         (__libc_sigaction): Likewise.
16200         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16201         Likewise.
16202         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16203         (__sigprocmask): Likewise.
16204         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16205         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16206         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16207         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16208         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16209         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16210         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16211         Likewise.
16212         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16213         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16214         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16215         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16216         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16217         Likewise.
16218         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16219         (__sigprocmask): Likewise.
16220         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16221         (cfgetispeed): Likewise.
16222         (cfsetospeed): Likewise.
16223         (cfsetispeed): Likewise.
16224         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
16225         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
16226         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16227         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16228         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
16229         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
16230         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
16231         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
16232         Likewise.
16233         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
16234         Likewise.
16235         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
16236         Likewise.
16237         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
16238         Likewise.
16239         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16241 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16243         sunrpc: Rewrite with explicit TLS access using __thread.
16244         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
16245         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
16246         directly.
16247         (__rpc_thread_variables): Access thread_rpc_vars directly.
16248         Eliminate redundant assignment of the tvp variable.
16250 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16252         malloc: Rewrite with explicit TLS access using __thread.
16253         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
16254         (tsd_setspecific, tsd_getspecific): Remove.
16255         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
16256         (tsd_setspecific, tsd_getspecific): Likewise.
16257         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
16258         (tsd_setspecific, tsd_getspecific): Likewise.
16259         * malloc/arena.c (thread_arena): New TLS variable.
16260         (arena_key): Remove variable.
16261         (arena_get): Use thread_arena.
16262         (arena_lookup): Remove macro.
16263         (malloc_atfork, free_atfork, ptmalloc_lock_all)
16264         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
16265         (_int_new_arena, get_free_list, reused_arena)
16266         (arena_thread_freeres): Use thread_arena.
16267         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
16268         tsd_getspecific, tsd_setspecific from safety annotations.
16269         (Allocating Cleared Space): Remove arena_lookup from safety
16270         annotations.
16272 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16274         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
16275         struct scratch_buffer instead of extend_alloca.
16277 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16279         * sysdeps/unix/sysv/linux/kernel-features.h
16280         (__ASSUME_SOCK_CLOEXEC): Remove.
16281         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
16282         (__have_paccept): Remove unused macro.
16283         * include/unistd.h (__have_sock_cloexec): Remove declaration.
16284         * misc/syslog.c (openlog_internal): Remove fallback code for
16285         !__ASSUME_SOCK_CLOEXEC.
16286         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
16287         missing SOCK_CLOEXEC.
16288         * nscd/connections.c (have_sock_cloexec): Remove definition.
16289         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16290         * nscd/nscd_helper.c (open_socket): Remove fallback code for
16291         !__ASSUME_SOCK_CLOEXEC.
16292         * resolv/res_send.c (__have_o_nonblock): Remove definition.
16293         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16294         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
16295         definition.
16296         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
16297         code for !__ASSUME_SOCK_CLOEXEC.
16299 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16301         [BZ #18982]
16302         * manual/stdio.texi (Variable Arguments Output): Add portability
16303         note, explaining that vfprintf clobbers the va_list pointer.
16305 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
16307         * math/libm-test.inc (fabs_test_data): Add more tests.
16308         (fdim_test_data): Likewise.
16309         (fma_test_data): Likewise.
16310         (fmax_test_data): Likewise.
16311         (fmin_test_data): Likewise.
16312         (fmod_test_data): Likewise.
16314 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
16316         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
16317         data.
16319 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
16321         * math/libm-test.inc (ceil_test_data): Add more tests and more
16322         expectations for "inexact".
16323         (floor_test_data): Add more tests.
16324         (round_test_data): Likewise.
16325         (trunc_test_data): Likewise.
16327         * crypt/cert.c (good_bye): Convert to prototype-style function
16328         definition.
16329         (get8): Likewise.
16330         (put8): Likewise.
16331         * crypt/crypt-entry.c (crypt): Likewise.
16332         (__fcrypt): Likewise.
16333         * crypt/crypt_util.c (_ufc_prbits): Likewise.
16334         (_ufc_set_bits): Likewise.
16335         (_ufc_clearmem): Likewise.
16336         (__init_des_r): Likewise.
16337         (shuffle_sb): Likewise.
16338         (shuffle_sb): Likewise.
16339         (_ufc_setup_salt_r): Likewise.
16340         (_ufc_mk_keytab_r): Likewise.
16341         (_ufc_dofinalperm_r): Likewise.
16342         (encrypt): Likewise.
16343         (__setkey_r): Likewise.
16344         (setkey): Likewise.
16345         * crypt/md5.c (md5_init_ctx): Likewise.
16346         (md5_read_ctx): Likewise.
16347         (md5_finish_ctx): Likewise.
16348         (md5_stream): Likewise.
16349         (md5_buffer): Likewise.
16350         (md5_process_bytes): Likewise.
16351         * crypt/sha256.c (__sha256_init_ctx): Likewise.
16352         (__sha256_finish_ctx): Likewise.
16353         (__sha256_process_bytes): Likewise.
16354         * crypt/sha512.c (__sha512_init_ctx): Likewise.
16355         (__sha512_finish_ctx): Likewise.
16356         (__sha512_process_bytes): Likewise.
16357         * ctype/isctype.c (__isctype): Likewise.
16358         * debug/backtrace.c (__backtrace): Likewise.
16359         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
16360         * debug/fgets_chk.c (__fgets_chk): Likewise.
16361         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
16362         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
16363         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16364         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16365         * debug/memset_chk.c (__memset_chk): Likewise.
16366         * debug/strcat_chk.c (__strcat_chk): Likewise.
16367         * debug/strncat_chk.c (__strncat_chk): Likewise.
16368         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
16369         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
16370         * dirent/dirfd.c (dirfd): Likewise.
16371         * dirent/getdents.c (__getdirentries): Likewise.
16372         * dirent/getdents64.c (getdirentries64): Likewise.
16373         * dirent/rewinddir.c (__rewinddir): Likewise.
16374         * dirent/seekdir.c (seekdir): Likewise.
16375         * dirent/telldir.c (telldir): Likewise.
16376         * elf/sln.c (makesymlinks): Likewise.
16377         (makesymlink): Likewise.
16378         * gmon/gmon.c (__moncontrol): Likewise.
16379         (__monstartup): Likewise.
16380         (write_hist): Likewise.
16381         (write_call_graph): Likewise.
16382         (write_bb_counts): Likewise.
16383         * grp/setgroups.c (setgroups): Likewise.
16384         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16385         * inet/inet_net.c (inet_network): Likewise.
16386         * inet/inet_netof.c (inet_netof): Likewise.
16387         * inet/rcmd.c (rresvport_af): Likewise.
16388         (rresvport): Likewise.
16389         * io/access.c (__access): Likewise.
16390         * io/chdir.c (__chdir): Likewise.
16391         * io/chmod.c (__chmod): Likewise.
16392         * io/chown.c (__chown): Likewise.
16393         * io/close.c (__close): Likewise.
16394         * io/creat.c (creat): Likewise.
16395         * io/creat64.c (creat64): Likewise.
16396         * io/dup.c (__dup): Likewise.
16397         * io/dup2.c (__dup2): Likewise.
16398         * io/dup3.c (__dup3): Likewise.
16399         * io/euidaccess.c (__euidaccess): Likewise.
16400         * io/faccessat.c (faccessat): Likewise.
16401         * io/fchmod.c (__fchmod): Likewise.
16402         * io/fchmodat.c (fchmodat): Likewise.
16403         * io/fchown.c (__fchown): Likewise.
16404         * io/fchownat.c (fchownat): Likewise.
16405         * io/fcntl.c (__fcntl): Likewise.
16406         * io/flock.c (__flock): Likewise.
16407         * io/fts.c (fts_load): Likewise.
16408         (fts_close): Likewise.
16409         (fts_read): Likewise.
16410         (fts_set): Likewise.
16411         (fts_children): Likewise.
16412         (fts_build): Likewise.
16413         (fts_stat): Likewise.
16414         (fts_sort): Likewise.
16415         (fts_alloc): Likewise.
16416         (fts_lfree): Likewise.
16417         (fts_palloc): Likewise.
16418         (fts_padjust): Likewise.
16419         (fts_maxarglen): Likewise.
16420         (fts_safe_changedir): Likewise.
16421         * io/getwd.c (getwd): Likewise.
16422         * io/isatty.c (__isatty): Likewise.
16423         * io/lchown.c (__lchown): Likewise.
16424         * io/link.c (__link): Likewise.
16425         * io/linkat.c (linkat): Likewise.
16426         * io/lseek.c (__libc_lseek): Likewise.
16427         * io/mkdir.c (__mkdir): Likewise.
16428         * io/mkdirat.c (mkdirat): Likewise.
16429         * io/mkfifo.c (mkfifo): Likewise.
16430         * io/mkfifoat.c (mkfifoat): Likewise.
16431         * io/open.c (__libc_open): Likewise.
16432         * io/open64.c (__libc_open64): Likewise.
16433         * io/readlink.c (__readlink): Likewise.
16434         * io/readlinkat.c (readlinkat): Likewise.
16435         * io/rmdir.c (__rmdir): Likewise.
16436         * io/symlink.c (__symlink): Likewise.
16437         * io/symlinkat.c (symlinkat): Likewise.
16438         * io/ttyname.c (ttyname): Likewise.
16439         * io/ttyname_r.c (__ttyname_r): Likewise.
16440         * io/umask.c (__umask): Likewise.
16441         * io/unlink.c (__unlink): Likewise.
16442         * io/unlinkat.c (unlinkat): Likewise.
16443         * io/utime.c (utime): Likewise.
16444         * libio/clearerr.c (clearerr): Likewise.
16445         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
16446         * libio/feof.c (_IO_feof): Likewise.
16447         * libio/feof_u.c (feof_unlocked): Likewise.
16448         * libio/ferror.c (_IO_ferror): Likewise.
16449         * libio/ferror_u.c (ferror_unlocked): Likewise.
16450         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16451         * libio/fileno.c (__fileno): Likewise.
16452         * libio/fputc.c (fputc): Likewise.
16453         * libio/fputc_u.c (fputc_unlocked): Likewise.
16454         * libio/fputwc.c (fputwc): Likewise.
16455         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
16456         * libio/freopen.c (freopen): Likewise.
16457         * libio/freopen64.c (freopen64): Likewise.
16458         * libio/fseek.c (fseek): Likewise.
16459         * libio/fseeko.c (fseeko): Likewise.
16460         * libio/fseeko64.c (fseeko64): Likewise.
16461         * libio/ftello.c (__ftello): Likewise.
16462         * libio/ftello64.c (ftello64): Likewise.
16463         * libio/fwide.c (fwide): Likewise.
16464         * libio/genops.c (_IO_un_link): Likewise.
16465         (_IO_link_in): Likewise.
16466         (_IO_least_marker): Likewise.
16467         (_IO_switch_to_main_get_area): Likewise.
16468         (_IO_switch_to_backup_area): Likewise.
16469         (_IO_switch_to_get_mode): Likewise.
16470         (_IO_free_backup_area): Likewise.
16471         (_IO_switch_to_put_mode): Likewise.
16472         (__overflow): Likewise.
16473         (__underflow): Likewise.
16474         (__uflow): Likewise.
16475         (_IO_setb): Likewise.
16476         (_IO_doallocbuf): Likewise.
16477         (_IO_default_underflow): Likewise.
16478         (_IO_default_uflow): Likewise.
16479         (_IO_default_xsputn): Likewise.
16480         (_IO_sgetn): Likewise.
16481         (_IO_default_xsgetn): Likewise.
16482         (_IO_sync): Likewise.
16483         (_IO_default_setbuf): Likewise.
16484         (_IO_default_seekpos): Likewise.
16485         (_IO_default_doallocate): Likewise.
16486         (_IO_init): Likewise.
16487         (_IO_old_init): Likewise.
16488         (_IO_default_sync): Likewise.
16489         (_IO_default_finish): Likewise.
16490         (_IO_default_seekoff): Likewise.
16491         (_IO_sputbackc): Likewise.
16492         (_IO_sungetc): Likewise.
16493         (_IO_set_column): Likewise.
16494         (_IO_set_column): Likewise.
16495         (_IO_adjust_column): Likewise.
16496         (_IO_get_column): Likewise.
16497         (_IO_init_marker): Likewise.
16498         (_IO_remove_marker): Likewise.
16499         (_IO_marker_difference): Likewise.
16500         (_IO_marker_delta): Likewise.
16501         (_IO_seekmark): Likewise.
16502         (_IO_unsave_markers): Likewise.
16503         (_IO_nobackup_pbackfail): Likewise.
16504         (_IO_default_pbackfail): Likewise.
16505         (_IO_default_seek): Likewise.
16506         (_IO_default_stat): Likewise.
16507         (_IO_default_read): Likewise.
16508         (_IO_default_write): Likewise.
16509         (_IO_default_showmanyc): Likewise.
16510         (_IO_default_imbue): Likewise.
16511         (_IO_iter_next): Likewise.
16512         (_IO_iter_file): Likewise.
16513         * libio/getc.c (_IO_getc): Likewise.
16514         * libio/getwc.c (_IO_getwc): Likewise.
16515         * libio/iofclose.c (_IO_new_fclose): Likewise.
16516         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16517         * libio/iofflush.c (_IO_fflush): Likewise.
16518         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
16519         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
16520         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
16521         * libio/iofgets.c (_IO_fgets): Likewise.
16522         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
16523         * libio/iofgetws.c (fgetws): Likewise.
16524         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16525         * libio/iofopen64.c (_IO_fopen64): Likewise.
16526         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16527         (_IO_cookie_write): Likewise.
16528         (_IO_cookie_seek): Likewise.
16529         (_IO_cookie_close): Likewise.
16530         (_IO_cookie_seekoff): Likewise.
16531         (_IO_old_cookie_seek): Likewise.
16532         * libio/iofputs.c (_IO_fputs): Likewise.
16533         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
16534         * libio/iofputws.c (fputws): Likewise.
16535         * libio/iofputws_u.c (fputws_unlocked): Likewise.
16536         * libio/iofread.c (_IO_fread): Likewise.
16537         * libio/iofread_u.c (__fread_unlocked): Likewise.
16538         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
16539         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
16540         * libio/ioftell.c (_IO_ftell): Likewise.
16541         * libio/iofwrite.c (_IO_fwrite): Likewise.
16542         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16543         * libio/iogets.c (_IO_gets): Likewise.
16544         * libio/iopadn.c (_IO_padn): Likewise.
16545         * libio/iopopen.c (_IO_new_proc_open): Likewise.
16546         (_IO_new_popen): Likewise.
16547         (_IO_new_proc_close): Likewise.
16548         * libio/ioputs.c (_IO_puts): Likewise.
16549         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
16550         (_IO_seekoff): Likewise.
16551         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
16552         (_IO_seekpos): Likewise.
16553         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
16554         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
16555         * libio/ioungetc.c (_IO_ungetc): Likewise.
16556         * libio/ioungetwc.c (ungetwc): Likewise.
16557         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16558         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
16559         * libio/iowpadn.c (_IO_wpadn): Likewise.
16560         * libio/libc_fatal.c (__libc_fatal): Likewise.
16561         * libio/memstream.c (__open_memstream): Likewise.
16562         (_IO_mem_sync): Likewise.
16563         (_IO_mem_finish): Likewise.
16564         * libio/oldfileops.c (_IO_old_file_init): Likewise.
16565         (_IO_old_file_close_it): Likewise.
16566         (_IO_old_file_finish): Likewise.
16567         (_IO_old_file_fopen): Likewise.
16568         (_IO_old_file_attach): Likewise.
16569         (_IO_old_file_setbuf): Likewise.
16570         (_IO_old_do_write): Likewise.
16571         (old_do_write): Likewise.
16572         (_IO_old_file_underflow): Likewise.
16573         (_IO_old_file_overflow): Likewise.
16574         (_IO_old_file_sync): Likewise.
16575         (_IO_old_file_seekoff): Likewise.
16576         (_IO_old_file_write): Likewise.
16577         (_IO_old_file_xsputn): Likewise.
16578         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
16579         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16580         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
16581         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
16582         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16583         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
16584         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
16585         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
16586         (_IO_old_popen): Likewise.
16587         (_IO_old_proc_close): Likewise.
16588         * libio/oldpclose.c (__old_pclose): Likewise.
16589         * libio/pclose.c (__new_pclose): Likewise.
16590         * libio/peekc.c (_IO_peekc_locked): Likewise.
16591         * libio/putc.c (_IO_putc): Likewise.
16592         * libio/putc_u.c (putc_unlocked): Likewise.
16593         * libio/putchar.c (putchar): Likewise.
16594         * libio/putchar_u.c (putchar_unlocked): Likewise.
16595         * libio/putwc.c (putwc): Likewise.
16596         * libio/putwc_u.c (putwc_unlocked): Likewise.
16597         * libio/putwchar.c (putwchar): Likewise.
16598         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
16599         * libio/rewind.c (rewind): Likewise.
16600         * libio/setbuf.c (setbuf): Likewise.
16601         * libio/setlinebuf.c (setlinebuf): Likewise.
16602         * libio/vasprintf.c (_IO_vasprintf): Likewise.
16603         * libio/vscanf.c (_IO_vscanf): Likewise.
16604         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
16605         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
16606         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16607         * libio/wgenops.c (_IO_least_wmarker): Likewise.
16608         (_IO_switch_to_main_wget_area): Likewise.
16609         (_IO_switch_to_wbackup_area): Likewise.
16610         (_IO_wsetb): Likewise.
16611         (_IO_wdefault_pbackfail): Likewise.
16612         (_IO_wdefault_finish): Likewise.
16613         (_IO_wdefault_uflow): Likewise.
16614         (__woverflow): Likewise.
16615         (__wuflow): Likewise.
16616         (__wunderflow): Likewise.
16617         (_IO_wdefault_xsputn): Likewise.
16618         (_IO_wdefault_xsgetn): Likewise.
16619         (_IO_wdoallocbuf): Likewise.
16620         (_IO_wdefault_doallocate): Likewise.
16621         (_IO_switch_to_wget_mode): Likewise.
16622         (_IO_free_wbackup_area): Likewise.
16623         (_IO_switch_to_wput_mode): Likewise.
16624         (_IO_sputbackwc): Likewise.
16625         (_IO_sungetwc): Likewise.
16626         (_IO_adjust_wcolumn): Likewise.
16627         (_IO_init_wmarker): Likewise.
16628         (_IO_wmarker_delta): Likewise.
16629         (_IO_seekwmark): Likewise.
16630         (_IO_unsave_wmarkers): Likewise.
16631         * libio/wmemstream.c (open_wmemstream): Likewise.
16632         (_IO_wmem_sync): Likewise.
16633         (_IO_wmem_finish): Likewise.
16634         * locale/nl_langinfo.c (nl_langinfo): Likewise.
16635         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
16636         * locale/programs/simple-hash.c (init_hash): Likewise.
16637         (delete_hash): Likewise.
16638         (insert_entry): Likewise.
16639         (set_entry): Likewise.
16640         (next_prime): Likewise.
16641         (is_prime): Likewise.
16642         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
16643         (xmalloc): Likewise.
16644         (xrealloc): Likewise.
16645         * locale/programs/xstrdup.c (xstrdup): Likewise.
16646         * localedata/collate-test.c (xstrcoll): Likewise.
16647         * localedata/xfrm-test.c (xstrcmp): Likewise.
16648         * login/getlogin_r.c (__getlogin_r): Likewise.
16649         * login/getpt.c (__posix_openpt): Likewise.
16650         * login/login_tty.c (login_tty): Likewise.
16651         * login/setlogin.c (setlogin): Likewise.
16652         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
16653         (mach_msg_destroy_port): Likewise.
16654         (mach_msg_destroy_memory): Likewise.
16655         * malloc/mcheck.c (flood): Likewise.
16656         * misc/acct.c (acct): Likewise.
16657         * misc/brk.c (__brk): Likewise.
16658         * misc/chflags.c (chflags): Likewise.
16659         * misc/chroot.c (chroot): Likewise.
16660         * misc/fchflags.c (fchflags): Likewise.
16661         * misc/fstab.c (getfsspec): Likewise.
16662         (getfsfile): Likewise.
16663         * misc/fsync.c (fsync): Likewise.
16664         * misc/ftruncate.c (__ftruncate): Likewise.
16665         * misc/ftruncate64.c (__ftruncate64): Likewise.
16666         * misc/getdomain.c (getdomainname): Likewise.
16667         (getdomainname): Likewise.
16668         * misc/gethostname.c (__gethostname): Likewise.
16669         * misc/getpass.c (getpass): Likewise.
16670         * misc/getttyent.c (skip): Likewise.
16671         (value): Likewise.
16672         * misc/gtty.c (gtty): Likewise.
16673         * misc/hsearch.c (hsearch): Likewise.
16674         (hcreate): Likewise.
16675         * misc/hsearch_r.c (__hcreate_r): Likewise.
16676         (__hdestroy_r): Likewise.
16677         * misc/ioctl.c (__ioctl): Likewise.
16678         * misc/mkdtemp.c (mkdtemp): Likewise.
16679         * misc/mkostemp.c (mkostemp): Likewise.
16680         * misc/mkostemp64.c (mkostemp64): Likewise.
16681         * misc/mkostemps.c (mkostemps): Likewise.
16682         * misc/mkostemps64.c (mkostemps64): Likewise.
16683         * misc/mkstemp.c (mkstemp): Likewise.
16684         * misc/mkstemp64.c (mkstemp64): Likewise.
16685         * misc/mkstemps.c (mkstemps): Likewise.
16686         * misc/mkstemps64.c (mkstemps64): Likewise.
16687         * misc/mktemp.c (__mktemp): Likewise.
16688         * misc/preadv.c (preadv): Likewise.
16689         * misc/preadv64.c (preadv64): Likewise.
16690         * misc/pwritev.c (pwritev): Likewise.
16691         * misc/pwritev64.c (pwritev64): Likewise.
16692         * misc/readv.c (__readv): Likewise.
16693         * misc/revoke.c (revoke): Likewise.
16694         * misc/setdomain.c (setdomainname): Likewise.
16695         * misc/setegid.c (setegid): Likewise.
16696         * misc/seteuid.c (seteuid): Likewise.
16697         * misc/sethostid.c (sethostid): Likewise.
16698         * misc/sethostname.c (sethostname): Likewise.
16699         * misc/setregid.c (__setregid): Likewise.
16700         * misc/setreuid.c (__setreuid): Likewise.
16701         * misc/sstk.c (sstk): Likewise.
16702         * misc/stty.c (stty): Likewise.
16703         * misc/syscall.c (syscall): Likewise.
16704         * misc/syslog.c (setlogmask): Likewise.
16705         * misc/truncate.c (__truncate): Likewise.
16706         * misc/truncate64.c (truncate64): Likewise.
16707         * misc/ualarm.c (ualarm): Likewise.
16708         * misc/usleep.c (usleep): Likewise.
16709         * misc/ustat.c (ustat): Likewise.
16710         * misc/writev.c (__writev): Likewise.
16711         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
16712         * nptl/old_pthread_cond_broadcast.c
16713         (__pthread_cond_broadcast_2_0): Likewise.
16714         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
16715         Likewise.
16716         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
16717         Likewise.
16718         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
16719         Likewise.
16720         * nptl/pt-raise.c (raise): Likewise.
16721         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
16722         Likewise.
16723         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
16724         * nptl/pthread_barrierattr_destroy.c
16725         (pthread_barrierattr_destroy): Likewise.
16726         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
16727         Likewise.
16728         * nptl/pthread_barrierattr_setpshared.c
16729         (pthread_barrierattr_setpshared): Likewise.
16730         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16731         Likewise.
16732         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
16733         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
16734         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
16735         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
16736         Likewise.
16737         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
16738         Likewise.
16739         * nptl/pthread_condattr_getpshared.c
16740         (pthread_condattr_getpshared): Likewise.
16741         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
16742         Likewise.
16743         * nptl/pthread_condattr_setpshared.c
16744         (pthread_condattr_setpshared): Likewise.
16745         * nptl/pthread_detach.c (pthread_detach): Likewise.
16746         * nptl/pthread_equal.c (__pthread_equal): Likewise.
16747         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
16748         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
16749         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
16750         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
16751         Likewise.
16752         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
16753         Likewise.
16754         * nptl/pthread_mutex_getprioceiling.c
16755         (pthread_mutex_getprioceiling): Likewise.
16756         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
16757         Likewise.
16758         * nptl/pthread_mutexattr_getprotocol.c
16759         (pthread_mutexattr_getprotocol): Likewise.
16760         * nptl/pthread_mutexattr_getpshared.c
16761         (pthread_mutexattr_getpshared): Likewise.
16762         * nptl/pthread_mutexattr_getrobust.c
16763         (pthread_mutexattr_getrobust): Likewise.
16764         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16765         Likewise.
16766         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
16767         Likewise.
16768         * nptl/pthread_mutexattr_setprioceiling.c
16769         (pthread_mutexattr_setprioceiling): Likewise.
16770         * nptl/pthread_mutexattr_setprotocol.c
16771         (pthread_mutexattr_setprotocol): Likewise.
16772         * nptl/pthread_mutexattr_setpshared.c
16773         (pthread_mutexattr_setpshared): Likewise.
16774         * nptl/pthread_mutexattr_setrobust.c
16775         (pthread_mutexattr_setrobust): Likewise.
16776         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
16777         Likewise.
16778         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
16779         Likewise.
16780         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
16781         Likewise.
16782         * nptl/pthread_rwlockattr_getkind_np.c
16783         (pthread_rwlockattr_getkind_np): Likewise.
16784         * nptl/pthread_rwlockattr_getpshared.c
16785         (pthread_rwlockattr_getpshared): Likewise.
16786         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
16787         Likewise.
16788         * nptl/pthread_rwlockattr_setkind_np.c
16789         (pthread_rwlockattr_setkind_np): Likewise.
16790         * nptl/pthread_rwlockattr_setpshared.c
16791         (pthread_rwlockattr_setpshared): Likewise.
16792         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
16793         Likewise.
16794         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
16795         Likewise.
16796         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
16797         Likewise.
16798         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
16799         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
16800         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
16801         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
16802         * nptl/sem_close.c (sem_close): Likewise.
16803         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
16804         * nptl/sem_init.c (__old_sem_init): Likewise.
16805         * nptl/sigaction.c (__sigaction): Likewise.
16806         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16807         * posix/_exit.c (_exit): Likewise.
16808         * posix/alarm.c (alarm): Likewise.
16809         * posix/confstr.c (confstr): Likewise.
16810         * posix/fpathconf.c (__fpathconf): Likewise.
16811         * posix/getgroups.c (__getgroups): Likewise.
16812         * posix/getpgid.c (__getpgid): Likewise.
16813         * posix/group_member.c (__group_member): Likewise.
16814         * posix/pathconf.c (__pathconf): Likewise.
16815         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
16816         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
16817         * posix/setgid.c (__setgid): Likewise.
16818         * posix/setpgid.c (__setpgid): Likewise.
16819         * posix/setuid.c (__setuid): Likewise.
16820         * posix/sleep.c (__sleep): Likewise.
16821         * posix/sysconf.c (__sysconf): Likewise.
16822         * posix/times.c (__times): Likewise.
16823         * posix/uname.c (__uname): Likewise.
16824         * posix/waitid.c (__waitid): Likewise.
16825         * pwd/getpw.c (__getpw): Likewise.
16826         * resolv/base64.c (b64_pton): Likewise.
16827         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
16828         * resolv/gethnamaddr.c (Dprintf): Likewise.
16829         (gethostbyname): Likewise.
16830         (gethostbyname2): Likewise.
16831         (gethostbyaddr): Likewise.
16832         (_sethtent): Likewise.
16833         (_gethtbyname): Likewise.
16834         (_gethtbyname2): Likewise.
16835         (_gethtbyaddr): Likewise.
16836         (map_v4v6_address): Likewise.
16837         (map_v4v6_hostent): Likewise.
16838         (addrsort): Likewise.
16839         (ht_sethostent): Likewise.
16840         (ht_gethostbyname): Likewise.
16841         (ht_gethostbyaddr): Likewise.
16842         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
16843         (inet_net_ntop_ipv4): Likewise.
16844         * resolv/inet_neta.c (inet_neta): Likewise.
16845         * resolv/inet_ntop.c (inet_ntop): Likewise.
16846         (inet_ntop4): Likewise.
16847         (inet_ntop6): Likewise.
16848         * resolv/inet_pton.c (__inet_pton): Likewise.
16849         (inet_pton4): Likewise.
16850         (inet_pton6): Likewise.
16851         * resolv/res_debug.c (loc_aton): Likewise.
16852         (loc_ntoa): Likewise.
16853         * resource/getpriority.c (__getpriority): Likewise.
16854         * resource/getrusage.c (__getrusage): Likewise.
16855         * resource/nice.c (nice): Likewise.
16856         * resource/setpriority.c (__setpriority): Likewise.
16857         * resource/setrlimit64.c (setrlimit64): Likewise.
16858         * resource/vlimit.c (vlimit): Likewise.
16859         * resource/vtimes.c (vtimes): Likewise.
16860         * rt/aio_error.c (aio_error): Likewise.
16861         * rt/aio_return.c (aio_return): Likewise.
16862         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
16863         * signal/kill.c (__kill): Likewise.
16864         * signal/killpg.c (killpg): Likewise.
16865         * signal/raise.c (raise): Likewise.
16866         * signal/sigaction.c (__sigaction): Likewise.
16867         * signal/sigaddset.c (sigaddset): Likewise.
16868         * signal/sigaltstack.c (sigaltstack): Likewise.
16869         * signal/sigandset.c (sigandset): Likewise.
16870         * signal/sigblock.c (__sigblock): Likewise.
16871         * signal/sigdelset.c (sigdelset): Likewise.
16872         * signal/sigempty.c (sigemptyset): Likewise.
16873         * signal/sigfillset.c (sigfillset): Likewise.
16874         * signal/sighold.c (sighold): Likewise.
16875         * signal/sigignore.c (sigignore): Likewise.
16876         * signal/sigintr.c (siginterrupt): Likewise.
16877         * signal/sigisempty.c (sigisemptyset): Likewise.
16878         * signal/sigismem.c (sigismember): Likewise.
16879         * signal/signal.c (signal): Likewise.
16880         * signal/sigorset.c (sigorset): Likewise.
16881         * signal/sigpause.c (__sigpause): Likewise.
16882         * signal/sigpending.c (sigpending): Likewise.
16883         * signal/sigprocmask.c (__sigprocmask): Likewise.
16884         * signal/sigrelse.c (sigrelse): Likewise.
16885         * signal/sigreturn.c (__sigreturn): Likewise.
16886         * signal/sigset.c (sigset): Likewise.
16887         * signal/sigsetmask.c (__sigsetmask): Likewise.
16888         * signal/sigstack.c (sigstack): Likewise.
16889         * signal/sigsuspend.c (__sigsuspend): Likewise.
16890         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
16891         * signal/sysv_signal.c (__sysv_signal): Likewise.
16892         * socket/accept.c (accept): Likewise.
16893         * socket/accept4.c (__libc_accept4): Likewise.
16894         * socket/bind.c (__bind): Likewise.
16895         * socket/connect.c (__connect): Likewise.
16896         * socket/getpeername.c (getpeername): Likewise.
16897         * socket/getsockname.c (__getsockname): Likewise.
16898         * socket/getsockopt.c (getsockopt): Likewise.
16899         * socket/listen.c (__listen): Likewise.
16900         * socket/recv.c (__recv): Likewise.
16901         * socket/recvmsg.c (__recvmsg): Likewise.
16902         * socket/send.c (__send): Likewise.
16903         * socket/sendmsg.c (__sendmsg): Likewise.
16904         * socket/shutdown.c (shutdown): Likewise.
16905         * socket/sockatmark.c (sockatmark): Likewise.
16906         * socket/socket.c (__socket): Likewise.
16907         * stdio-common/ctermid.c (ctermid): Likewise.
16908         * stdio-common/cuserid.c (cuserid): Likewise.
16909         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
16910         * stdio-common/remove.c (remove): Likewise.
16911         * stdio-common/rename.c (rename): Likewise.
16912         * stdio-common/renameat.c (renameat): Likewise.
16913         * stdio-common/tempname.c (__gen_tempname): Likewise.
16914         * stdio-common/xbug.c (InitBuffer): Likewise.
16915         (AppendToBuffer): Likewise.
16916         (ReadFile): Likewise.
16917         * stdlib/a64l.c (a64l): Likewise.
16918         * stdlib/drand48_r.c (drand48_r): Likewise.
16919         * stdlib/getcontext.c (getcontext): Likewise.
16920         * stdlib/getenv.c (getenv): Likewise.
16921         * stdlib/l64a.c (l64a): Likewise.
16922         * stdlib/llabs.c (llabs): Likewise.
16923         * stdlib/lldiv.c (lldiv): Likewise.
16924         * stdlib/lrand48_r.c (lrand48_r): Likewise.
16925         * stdlib/mrand48_r.c (mrand48_r): Likewise.
16926         * stdlib/putenv.c (putenv): Likewise.
16927         * stdlib/random.c (__srandom): Likewise.
16928         (__initstate): Likewise.
16929         (__setstate): Likewise.
16930         * stdlib/random_r.c (__srandom_r): Likewise.
16931         (__setstate_r): Likewise.
16932         (__random_r): Likewise.
16933         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
16934         * stdlib/setcontext.c (setcontext): Likewise.
16935         * stdlib/setenv.c (setenv): Likewise.
16936         (unsetenv): Likewise.
16937         * stdlib/srand48.c (srand48): Likewise.
16938         * stdlib/srand48_r.c (__srand48_r): Likewise.
16939         * stdlib/swapcontext.c (swapcontext): Likewise.
16940         * stdlib/system.c (__libc_system): Likewise.
16941         * stdlib/tst-strtod.c (expand): Likewise.
16942         * stdlib/tst-strtol.c (expand): Likewise.
16943         * stdlib/tst-strtoll.c (expand): Likewise.
16944         * streams/fattach.c (fattach): Likewise.
16945         * streams/fdetach.c (fdetach): Likewise.
16946         * streams/getmsg.c (getmsg): Likewise.
16947         * streams/isastream.c (isastream): Likewise.
16948         * string/ffs.c (__ffs): Likewise.
16949         * string/ffsll.c (ffsll): Likewise.
16950         * string/memcmp.c (memcmp_common_alignment): Likewise.
16951         (memcmp_not_common_alignment): Likewise.
16952         (MEMCMP): Likewise.
16953         * string/memcpy.c (memcpy): Likewise.
16954         * string/memmove.c (MEMMOVE): Likewise.
16955         * string/memset.c (memset): Likewise.
16956         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16957         * string/strchrnul.c (STRCHRNUL): Likewise.
16958         * string/strerror.c (strerror): Likewise.
16959         * string/strndup.c (__strndup): Likewise.
16960         * string/strverscmp.c (__strverscmp): Likewise.
16961         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16962         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16963         (clnttcp_freeres): Likewise.
16964         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16965         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16966         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16967         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16968         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16969         (xdr_callhdr): Likewise.
16970         * sunrpc/rpcinfo.c (udpping): Likewise.
16971         (tcpping): Likewise.
16972         (pstatus): Likewise.
16973         (pmapdump): Likewise.
16974         (brdcst): Likewise.
16975         (deletereg): Likewise.
16976         (getprognum): Likewise.
16977         (getvers): Likewise.
16978         (get_inet_address): Likewise.
16979         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16980         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16981         (svcudp_stat): Likewise.
16982         (svcudp_recv): Likewise.
16983         (svcudp_reply): Likewise.
16984         (svcudp_getargs): Likewise.
16985         (svcudp_freeargs): Likewise.
16986         (svcudp_destroy): Likewise.
16987         * sunrpc/xdr.c (xdr_bytes): Likewise.
16988         (xdr_netobj): Likewise.
16989         (xdr_string): Likewise.
16990         (xdr_wrapstring): Likewise.
16991         * sunrpc/xdr_float.c (xdr_float): Likewise.
16992         (xdr_double): Likewise.
16993         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16994         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16995         * sysvipc/ftok.c (ftok): Likewise.
16996         * sysvipc/msgctl.c (msgctl): Likewise.
16997         * sysvipc/msgget.c (msgget): Likewise.
16998         * sysvipc/msgrcv.c (msgrcv): Likewise.
16999         * sysvipc/msgsnd.c (msgsnd): Likewise.
17000         * sysvipc/semget.c (semget): Likewise.
17001         * sysvipc/semop.c (semop): Likewise.
17002         * sysvipc/shmat.c (shmat): Likewise.
17003         * sysvipc/shmctl.c (shmctl): Likewise.
17004         * sysvipc/shmdt.c (shmdt): Likewise.
17005         * sysvipc/shmget.c (shmget): Likewise.
17006         * termios/cfmakeraw.c (cfmakeraw): Likewise.
17007         * termios/speed.c (cfgetospeed): Likewise.
17008         (cfgetispeed): Likewise.
17009         (cfsetospeed): Likewise.
17010         (cfsetispeed): Likewise.
17011         * termios/tcflow.c (tcflow): Likewise.
17012         * termios/tcflush.c (tcflush): Likewise.
17013         * termios/tcgetattr.c (__tcgetattr): Likewise.
17014         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17015         * termios/tcgetsid.c (tcgetsid): Likewise.
17016         * termios/tcsendbrk.c (tcsendbreak): Likewise.
17017         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17018         * time/adjtime.c (__adjtime): Likewise.
17019         * time/dysize.c (dysize): Likewise.
17020         * time/ftime.c (ftime): Likewise.
17021         * time/getitimer.c (__getitimer): Likewise.
17022         * time/gettimeofday.c (__gettimeofday): Likewise.
17023         * time/gmtime.c (__gmtime_r): Likewise.
17024         (gmtime): Likewise.
17025         * time/localtime.c (__localtime_r): Likewise.
17026         (localtime): Likewise.
17027         * time/offtime.c (__offtime): Likewise.
17028         * time/settimeofday.c (__settimeofday): Likewise.
17029         * time/stime.c (stime): Likewise.
17030         * time/strftime_l.c (tm_diff): Likewise.
17031         (iso_week_days): Likewise.
17032         * time/strptime.c (strptime): Likewise.
17033         * time/time.c (time): Likewise.
17034         * time/timespec_get.c (timespec_get): Likewise.
17035         * time/tzset.c (tzset_internal): Likewise.
17036         (compute_change): Likewise.
17037         (__tz_compute): Likewise.
17038         * wcsmbs/btowc.c (__btowc): Likewise.
17039         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17040         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17041         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17042         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17043         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17044         * wcsmbs/wcscat.c (__wcscat): Likewise.
17045         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17046         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17047         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17048         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17049         * wcsmbs/wcsdup.c (wcsdup): Likewise.
17050         * wcsmbs/wcslen.c (__wcslen): Likewise.
17051         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17052         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17053         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17054         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17055         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17056         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17057         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17058         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17059         * wcsmbs/wcstok.c (wcstok): Likewise.
17060         * wcsmbs/wctob.c (wctob): Likewise.
17061         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17062         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17063         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17064         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17065         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17066         * wcsmbs/wmemset.c (__wmemset): Likewise.
17067         * wctype/wcfuncs.c (__towlower): Likewise.
17068         (__towupper): Likewise.
17070         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17071         (lll_unlock_elision): Add adapt_count parameter.
17073 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17075         * sysdeps/nptl/configure.ac: Do not give errors based on the
17076         results of top-level configure tests.
17077         * sysdeps/nptl/configure: Regenerated.
17079         * configure.ac (libc_cv_Bgroup): Remove configure test.
17080         * configure: Regenerated.
17081         * config.make.in (have-Bgroup): Remove variable.
17083         * configure.ac (sizeof_long_double): Remove configure test.
17084         * configure: Regenerated.
17085         * config.make.in (sizeof-long-double): Remove variable.
17087         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17088         * configure: Regenerated.
17089         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17090         variable.
17091         (exceptions): Likewise.
17092         * sysdeps/arm/configure: Regenerated.
17093         * config.make.in (exceptions): Remove variable.
17094         * Makeconfig (uses-callbacks): Use -fexceptions instead of
17095         $(exceptions).
17096         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17097         (CFLAGS-vdprintf_chk.c): Likewise.
17098         (CFLAGS-printf_chk.c): Likewise.
17099         (CFLAGS-fprintf_chk.c): Likewise.
17100         (CFLAGS-vprintf_chk.c): Likewise.
17101         (CFLAGS-vfprintf_chk.c): Likewise.
17102         (CFLAGS-gets_chk.c): Likewise.
17103         (CFLAGS-fgets_chk.c): Likewise.
17104         (CFLAGS-fgets_u_chk.c): Likewise.
17105         (CFLAGS-fread_chk.c): Likewise.
17106         (CFLAGS-fread_u_chk.c): Likewise.
17107         (CFLAGS-wprintf_chk.c): Likewise.
17108         (CFLAGS-fwprintf_chk.c): Likewise.
17109         (CFLAGS-vwprintf_chk.c): Likewise.
17110         (CFLAGS-vfwprintf_chk.c): Likewise.
17111         (CFLAGS-fgetws_chk.c): Likewise.
17112         (CFLAGS-fgetws_u_chk.c): Likewise.
17113         * libio/Makefile (CFLAGS-fileops.c): Likewise.
17114         (CFLAGS-fputc.c): Likewise.
17115         (CFLAGS-fputwc.c): Likewise.
17116         (CFLAGS-freopen64.c): Likewise.
17117         (CFLAGS-freopen.c): Likewise.
17118         (CFLAGS-fseek.c): Likewise.
17119         (CFLAGS-fseeko64.c): Likewise.
17120         (CFLAGS-fseeko.c): Likewise.
17121         (CFLAGS-ftello64.c): Likewise.
17122         (CFLAGS-ftello.c): Likewise.
17123         (CFLAGS-fwide.c): Likewise.
17124         (CFLAGS-genops.c): Likewise.
17125         (CFLAGS-getc.c): Likewise.
17126         (CFLAGS-getchar.c): Likewise.
17127         (CFLAGS-getwc.c): Likewise.
17128         (CFLAGS-getwchar.c): Likewise.
17129         (CFLAGS-iofclose.c): Likewise.
17130         (CFLAGS-iofflush.c): Likewise.
17131         (CFLAGS-iofgetpos64.c): Likewise.
17132         (CFLAGS-iofgetpos.c): Likewise.
17133         (CFLAGS-iofgets.c): Likewise.
17134         (CFLAGS-iofgetws.c): Likewise.
17135         (CFLAGS-iofputs.c): Likewise.
17136         (CFLAGS-iofputws.c): Likewise.
17137         (CFLAGS-iofread.c): Likewise.
17138         (CFLAGS-iofsetpos64.c): Likewise.
17139         (CFLAGS-iofsetpos.c): Likewise.
17140         (CFLAGS-ioftell.c): Likewise.
17141         (CFLAGS-iofwrite.c): Likewise.
17142         (CFLAGS-iogetdelim.c): Likewise.
17143         (CFLAGS-iogetline.c): Likewise.
17144         (CFLAGS-iogets.c): Likewise.
17145         (CFLAGS-iogetwline.c): Likewise.
17146         (CFLAGS-ioputs.c): Likewise.
17147         (CFLAGS-ioseekoff.c): Likewise.
17148         (CFLAGS-ioseekpos.c): Likewise.
17149         (CFLAGS-iosetbuffer.c): Likewise.
17150         (CFLAGS-iosetvbuf.c): Likewise.
17151         (CFLAGS-ioungetc.c): Likewise.
17152         (CFLAGS-ioungetwc.c): Likewise.
17153         (CFLAGS-oldfileops.c): Likewise.
17154         (CFLAGS-oldiofclose.c): Likewise.
17155         (CFLAGS-oldiofgetpos64.c): Likewise.
17156         (CFLAGS-oldiofgetpos.c): Likewise.
17157         (CFLAGS-oldiofsetpos64.c): Likewise.
17158         (CFLAGS-oldiofsetpos.c): Likewise.
17159         (CFLAGS-peekc.c): Likewise.
17160         (CFLAGS-putc.c): Likewise.
17161         (CFLAGS-putchar.c): Likewise.
17162         (CFLAGS-putwc.c): Likewise.
17163         (CFLAGS-putwchar.c): Likewise.
17164         (CFLAGS-rewind.c): Likewise.
17165         (CFLAGS-wfileops.c): Likewise.
17166         (CFLAGS-wgenops.c): Likewise.
17167         (CFLAGS-oldiofopen.c): Likewise.
17168         (CFLAGS-iofopen.c): Likewise.
17169         (CFLAGS-iofopen64.c): Likewise.
17170         (CFLAGS-oldtmpfile.c): Likewise.
17171         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17172         (CFLAGS-fprintf.c): Likewise.
17173         (CFLAGS-printf.c): Likewise.
17174         (CFLAGS-vfwprintf.c): Likewise.
17175         (CFLAGS-vfscanf.c): Likewise.
17176         (CFLAGS-vfwscanf.c): Likewise.
17177         (CFLAGS-fscanf.c): Likewise.
17178         (CFLAGS-scanf.c): Likewise.
17179         (CFLAGS-isoc99_vfscanf.c): Likewise.
17180         (CFLAGS-isoc99_vscanf.c): Likewise.
17181         (CFLAGS-isoc99_fscanf.c): Likewise.
17182         (CFLAGS-isoc99_scanf.c): Likewise.
17183         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17184         (CFLAGS-isoc99_fwscanf.c): Likewise.
17185         (CFLAGS-isoc99_vwscanf.c): Likewise.
17186         (CFLAGS-isoc99_vfwscanf.c): Likewise.
17188         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17189         after mkstemp64.
17190         * login/tst-utmp.c (do_prepare): Likewise.
17191         * rt/tst-aio.c (do_prepare): Likewise.
17192         * rt/tst-aio64.c (do_prepare): Likewise.
17194 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17196         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17197         (__lll_lock_elision): Remove adapt_count decrement...
17198         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17199         (__lll_trylock_elision): Likewise.
17200         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17201         (__lll_unlock_elision): ... to here. And utilize
17202         new adapt_count parameter.
17203         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17204         (__lll_unlock_elision): Update to include adapt_count
17205         parameter.
17206         (lll_unlock_elision): Pass pointer to adapt_count
17207         variable.
17209 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17211         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17212         Add elision adapt_count parameter to list of arguments.
17213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17214         (lll_unlock_elision): Update with new parameter list
17215         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17216         (lll_unlock_elision): Likewise.
17217         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17218         (lll_unlock_elision): Likewise.
17220 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17222         [BZ #19122]
17223         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
17224         attribute_hidden.
17226         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
17227         attribute_hidden.
17228         [IS_IN (rtld)] (__strdup): Likewise.
17229         [IS_IN (rtld)] (__strerror_r): Likewise.
17230         [IS_IN (rtld)] (__strsep_g): Likewise.
17231         [IS_IN (rtld)] (memchr): Likewise.
17232         [IS_IN (rtld)] (memcmp): Likewise.
17233         [IS_IN (rtld)] (memcpy): Likewise.
17234         [IS_IN (rtld)] (memmove): Likewise.
17235         [IS_IN (rtld)] (memset): Likewise.
17236         [IS_IN (rtld)] (rawmemchr): Likewise.
17237         [IS_IN (rtld)] (stpcpy): Likewise.
17238         [IS_IN (rtld)] (strchr): Likewise.
17239         [IS_IN (rtld)] (strcmp): Likewise.
17240         [IS_IN (rtld)] (strlen): Likewise.
17241         [IS_IN (rtld)] (strnlen): Likewise.
17242         [IS_IN (rtld)] (strsep): Likewise.
17244         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
17245         attribute_hidden.
17246         [IS_IN (rtld)] (__strtoul_internal): Likewise.
17248         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
17249         attribute_hidden.
17250         [IS_IN (rtld)] (__libc_sigaction): Likewise.
17252         * include/setjmp.h (__longjmp): Add attribute_hidden.
17253         [IS_IN (rtld)] (__sigsetjmp): Likewise.
17255         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
17256         Add attribute_hidden.
17258         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
17259         [IS_IN (rtld)] (__open): Likewise.
17260         [IS_IN (rtld)] (__fcntl): Likewise.
17262         * include/dirent.h (__opendirat): Add attribute_hidden.
17263         (__getdents): Likewise.
17264         (__getdents64): Likewise.
17265         (__alloc_dir): Likewise.
17266         [IS_IN (rtld)] (__closedir): Likewise.
17267         [IS_IN (rtld)] (__fdopendir): Likewise.
17268         [IS_IN (rtld)] (__readdir): Likewise.
17269         [IS_IN (rtld)] (__readdir64): Likewise.
17270         [IS_IN (rtld)] (__rewinddir): Likewise.
17272         * include/dlfcn.h (_dl_catch_error): Moved to ...
17273         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
17274         attribute_hidden.
17276         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
17277         (_itoa_word): Likewise.
17279         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
17280         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
17281         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
17282         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
17283         (_dl_higher_prime_number): Likewise.
17284         (_dl_debug_printf_c): Likewise.
17285         (_dl_signal_cerror): Likewise.
17286         (_dl_receive_error): Likewise.
17287         (_dl_reloc_bad_type): Likewise.
17288         (_dl_resolve_conflicts): Likewise.
17289         (_dl_check_all_versions): Likewise.
17290         (_dl_check_map_versions): Likewise.
17291         (_dl_sort_fini): Likewise.
17292         (_dl_debug_initialize): Likewise.
17293         (_dl_init_paths): Likewise.
17294         (_dl_show_auxv): Likewise.
17295         (_dl_next_ld_env_entry): Likewise.
17296         (_dl_important_hwcaps): Likewise.
17297         (_dl_load_cache_lookup): Likewise.
17298         (_dl_update_slotinfo): Likewise.
17299         (_dl_show_scope): Likewise.
17301         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
17302         attribute_hidden.
17303         (_wordcopy_fwd_dest_aligned): Likewise.
17304         (_wordcopy_bwd_aligned): Likewise.
17305         (_wordcopy_bwd_dest_aligned): Likewise.
17307         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17308         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
17309         Likewise.
17310         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
17311         Likewise.
17312         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
17314 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17316         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
17317         GCC 5 requirement.
17319 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17321         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
17322         test.
17323         * sysdeps/i386/configure: Regenerated.
17324         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
17325         code unconditional.
17327         * configure.ac (libc_cv_asm_previous_directive): Remove configure
17328         test.
17329         (libc_cv_asm_popsection_directive): Likewise.
17330         * configure: Regenerated.
17331         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
17332         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
17333         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
17334         (__make_section_unallocated): Make definition unconditional.
17335         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
17336         Remove conditional definition.
17337         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
17338         (__make_section_unallocated): Likewise.
17340         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
17341         * configure: Regenerated.
17342         * config.make.in (static-libgcc): Remove variable.
17343         * Makerules (build-shlib-helper): Use -static-libgcc instead of
17344         $(static-libgcc).
17345         (build-module-helper): Likewise.
17347         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
17348         * configure: Regenerated.
17350 2015-10-15  Florian Weimer  <fweimer@redhat.com>
17352         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
17353         (struct char_buffer): New type.
17354         (char_buffer_start, char_buffer_size, char_buffer_error)
17355         (char_buffer_rewind, char_buffer_add): New functions.
17356         (ADDW): Remove macro, replaced by the char_buffer_add function.
17357         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
17358         of extend_alloca.  Make control flow more explicit.
17360 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17362         [BZ #19137]
17363         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17364         Add -fomit-frame-pointer.
17365         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
17367 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17369         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
17370         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
17371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
17372         only if !__GNUC_PREREQ (5,0).
17373         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
17374         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
17375         (INTERNAL_SYSCALL_NCS): Likewise.
17376         (LOADREGS_0): New macro for GCC 5.
17377         (ASMARGS_0): Likewise.
17378         (LOADREGS_1): Likewise.
17379         (ASMARGS_1): Likewise.
17380         (LOADREGS_2): Likewise.
17381         (ASMARGS_2): Likewise.
17382         (LOADREGS_3): Likewise.
17383         (ASMARGS_3): Likewise.
17384         (LOADREGS_4): Likewise.
17385         (ASMARGS_4): Likewise.
17386         (LOADREGS_5): Likewise.
17387         (ASMARGS_5): Likewise.
17388         (LOADREGS_6): Likewise.
17389         (ASMARGS_6): Likewise.
17391 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17393         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
17394         -fomit-frame-pointer.
17395         (CFLAGS-mmap64.c): Likewise.
17396         (CFLAGS-semtimedop.c): Likewise.
17397         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
17398         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
17399         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17400         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17402 2015-10-15  Florian Weimer  <fweimer@redhat.com>
17404         [BZ #18928]
17405         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
17406         _dl_pointer_guard member.
17407         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
17408         initializer.
17409         (security_init): Always set up pointer guard.
17410         (process_envvars): Do not process LD_POINTER_GUARD.
17412 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
17414         [BZ #19134]
17415         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
17416         (.LC2): Likewise.
17417         (.LC3): Likewise.
17418         (__lround): Do not add 0.5 to integer or out-of-range arguments.
17420 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17422         [BZ #19129]
17423         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
17424         r0 and r1.
17426 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
17428         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
17430 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
17432         * include/stap-probe.h: Fix macro definition formatting.
17434 2015-10-14  Florian Weimer  <fweimer@redhat.com>
17436         [BZ #19074]
17437         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
17438         load and store num_ifs.
17440 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
17442         [BZ #18822]
17443         * sysdeps/unix/sysv/linux/sched_getaffinity.c
17444         (__sched_getaffinity_new): Add libc_hidden_proto and
17445         libc_hidden_def.
17447 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
17449         [BZ #19007]
17450         * scripts/localplt.awk: Also allow GOT references.
17451         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
17452         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
17453         with "+ REL R_386_GLOB_DAT".
17454         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
17455         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
17457 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
17459         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
17460         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17461         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
17462         Likewise.
17463         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17464         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
17465         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17466         INTERNAL_SYSCALLINTERNAL_SYSCALL and
17467         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17468         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17469         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17470         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17471         Likewise.
17472         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17474 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
17476         [BZ #19125]
17477         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
17478         <math_private.h> and <stdint.h>.
17479         (__llround): Avoid conversions to and from long long int, and
17480         subtractions, where those might raise spurious exceptions.
17481         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17482         <math_private.h> and <stdint.h>.
17483         (__llroundf): Avoid conversions to and from long long int, and
17484         subtractions, where those might raise spurious exceptions.
17486 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17488         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
17489         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17490         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17491         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
17492         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17493         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17494         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
17495         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
17496         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
17497         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17498         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17499         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17500         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
17501         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17502         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17503         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
17504         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
17505         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17506         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
17507         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
17508         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17509         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
17510         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
17511         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17512         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
17513         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17514         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
17515         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17516         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17517         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
17518         (__xstat64_conv): Likewise.
17519         (__xstat32_conv): Likewise.
17521 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17523         * sysdeps/unix/sysv/linux/sysdep.h: New file.
17524         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
17525         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
17526         <sysdeps/unix/sysv/linux/sysdep.h>.
17527         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17528         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
17529         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
17530         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17531         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17532         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
17533         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
17534         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17535         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17538         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17540         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17541         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17543         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
17544         (sysdep-dl-routines): Add sysdep.
17545         [$(subdir) == nptl] (libpthread-routines): Likewise.
17546         [$(subdir) == rt] (librt-routines): Likewise.
17547         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
17548         PIC when branching to SYSCALL_ERROR_LABEL.
17549         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
17550         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
17551         <sysdeps/unix/sysv/linux/sysdep.h>.
17552         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
17553         (SYSCALL_ERROR_ERRNO): Removed.
17554         (SYSCALL_ERROR_HANDLER): Changed to empty.
17555         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
17556         (__syscall_error): New prototype.
17557         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
17558         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
17560 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17562         [BZ #19124]
17563         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
17564         (_dl_runtime_resolve_avx512): Make it a hidden alias of
17565         _dl_runtime_resolve_avx.
17566         (_dl_runtime_profile_avx512): Make it a hidden alias of
17567         _dl_runtime_profile_avx.
17569 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
17571         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
17572         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
17573         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
17574         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
17576         [BZ #16422]
17577         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
17578         New configure test.
17579         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
17580         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
17581         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
17582         <math_private.h> and <stdint.h>.
17583         (__llrint): Avoid conversions to long long int where those might
17584         raise spurious exceptions.
17585         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
17586         <math_private.h> and <stdint.h>.
17587         (__llrintf): Avoid conversions to long long int where those might
17588         raise spurious exceptions.
17590 2015-10-12  Andreas Schwab  <schwab@suse.de>
17592         [BZ #18969]
17593         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
17594         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
17595         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
17596         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
17597         $(gen-locales).
17598         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
17599         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
17600         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
17601         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
17602         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
17603         $(gen-locales).
17604         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
17605         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
17606         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
17607         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
17608         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
17609         ($(objpfx)tst-ftell-active-handler.out)
17610         ($(objpfx)tst-ftell-append.out)
17611         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
17612         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
17613         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
17614         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
17615         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
17616         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
17617         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
17618         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
17619         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
17620         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
17621         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
17622         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
17623         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
17624         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
17625         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
17626         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
17627         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
17628         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
17629         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
17630         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
17631         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
17632         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
17633         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
17634         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
17635         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
17636         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
17637         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
17638         $(gen-locales).
17639         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
17640         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
17641         $(gen-locales).
17642         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
17643         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
17644         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
17645         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
17646         $(gen-locales).
17647         * libio/tst_wprintf2.c (main): Use explicit locale.
17648         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
17650 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17652         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
17653         __msg_sig_post.
17654         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
17656 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
17658         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17659         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17661         * sysdeps/arm/libm-test-ulps: Regenerated.
17663         [BZ #15470]
17664         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
17666         [BZ #16399]
17667         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
17668         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
17669         and <fix-fp-int-convert-overflow.h>.
17670         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17671         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17672         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
17673         and <fix-fp-int-convert-overflow.h>.
17674         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
17675         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17676         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
17677         <fix-fp-int-convert-overflow.h>.
17678         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17679         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17680         * sysdeps/ieee754/dbl-64/s_lround.c: Include
17681         <fix-fp-int-convert-overflow.h>.
17682         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
17683         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17684         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
17685         and <fix-fp-int-convert-overflow.h>.
17686         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17687         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17688         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
17689         <limits.h> and <fix-fp-int-convert-overflow.h>.
17690         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17691         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17692         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
17693         and <fix-fp-int-convert-overflow.h>.
17694         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17695         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17696         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
17697         and <fix-fp-int-convert-overflow.h>.
17698         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17699         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17700         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
17702 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
17704         [BZ #18589]
17705         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
17706         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
17707         $(gen-locales).
17709 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17710             Phil Blundell <pb@pbcl.net>
17712         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
17713         * nptl/tst-cancel26.c: New file.
17714         * nptl/tst-cancel27.c: Likewise.
17716 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
17718         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
17719         __ILP32__ isn't defined.
17720         (lrint): Likewise.
17721         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
17722         (lrintf): Likewise.
17723         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
17724         (lrintl): Likewise.
17725         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
17726         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
17727         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
17729 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17731         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17732         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17734         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
17735         file.
17736         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
17737         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17739 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
17741         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
17742         configure test.
17743         * sysdeps/i386/configure: Regenerated.
17744         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
17745         configure test.
17746         * sysdeps/x86_64/configure: Regenerated.
17747         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
17748         Make code unconditional.
17750         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
17751         test.
17752         * sysdeps/i386/configure: Regenerated.
17753         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
17754         test.
17755         * sysdeps/x86_64/configure: Regenerated.
17756         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
17757         Make code unconditional.
17758         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17759         Likewise.
17760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
17761         Likewise.
17762         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17763         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
17764         code unconditional.
17765         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17766         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
17767         code unconditional.
17768         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17769         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
17770         code unconditional.
17771         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
17772         code unconditional.
17773         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17774         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
17775         code unconditional.
17776         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17777         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
17778         code unconditional.
17779         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17780         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
17781         code unconditional.
17782         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17783         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
17784         code unconditional.
17785         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17786         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
17788         [BZ #19095]
17789         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
17790         mantissa to long int before shifting left.
17792 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
17794         [BZ #19094]
17795         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
17796         <limits.h>.
17797         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17798         when result overflows but exception would not result from cast.
17799         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
17800         <limits.h>.
17801         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17802         when result overflows but exception would not result from cast.
17803         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
17804         <limits.h>.
17805         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17806         when result overflows but exception would not result from cast.
17807         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
17808         <limits.h>.
17809         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17810         when result overflows but exception would not result from cast.
17811         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
17812         <limits.h>.
17813         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17814         when result overflows but exception would not result from cast.
17815         * math/libm-test.inc (lrint_test_data): Add more tests.
17816         (llrint_test_data): Likewise.
17818 2015-10-08  Roland McGrath  <roland@hack.frob.com>
17820         [BZ #18872]
17821         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
17822         Move out from under [$(run-built-tests) = yes] conditional.
17823         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
17824         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
17826 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
17828         [BZ #18589]
17829         * string/Makefile (tests): Add bug-strcoll2.
17830         (LOCALES): Add cs_CZ.UTF-8.
17831         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
17833         [BZ #18589]
17834         * string/bug-strcoll2.c: New file.
17835         * locale/categories.def: Revert commit
17836         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
17837         * locale/langinfo.h: Likewise.
17838         * locale/localeinfo.h: Likewise.
17839         * locale/C-collate.c: Likewise.
17840         * locale/programs/ld-collate.c (collate_output): Likewise.
17841         * string/strcoll_l.c (STRDIFF): Likewise.
17842         (STRCOLL): Likewise.
17843         * wcsmbs/wcscoll_l.c: Likewise.
17845 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
17847         * math/libm-test.inc (lround_test_data): Do not expect the absence
17848         of "inexact" for some tests with non-integer arguments.
17849         (llround_test_data): Likewise.
17851         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
17852         test.
17853         (libc_cv_cc_sse2avx): Likewise.
17854         * sysdeps/i386/configure: Regenerated.
17855         * sysdeps/i386/i686/multiarch/Makefile
17856         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
17857         [$(subdir) = math].
17858         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
17859         code unconditional.
17860         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17861         Likewise.
17862         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
17863         Likewise.
17864         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17865         Likewise.
17866         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
17867         test.
17868         (libc_cv_cc_sse2avx): Likewise.
17869         * sysdeps/x86_64/configure: Regenerated.
17870         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
17871         unconditional.
17872         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
17873         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
17874         unconditional.
17875         (_dl_runtime_profile)
17876         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
17877         conditional code.
17878         * sysdeps/x86_64/fpu/multiarch/Makefile
17879         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
17880         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17881         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17882         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17883         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17884         * sysdeps/x86_64/fpu/multiarch/e_log.c
17885         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17886         * sysdeps/x86_64/fpu/multiarch/s_atan.c
17887         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17888         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17889         Likewise.
17890         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17891         Likewise.
17892         * sysdeps/x86_64/fpu/multiarch/s_sin.c
17893         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17894         * sysdeps/x86_64/fpu/multiarch/s_tan.c
17895         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17896         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
17897         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
17898         (HAVE_SSE2AVX_SUPPORT): Likewise.
17900 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
17902         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
17903         instead of #pragma optimize.
17905 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17907         [BZ #17195]
17908         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
17909         as is similarly done in systrim and _int_free already.
17911 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17913         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
17915 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17917         [BZ #19088]
17918         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
17919         <limits.h>.
17920         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17921         overflows but exception would not result from cast.
17922         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
17923         and <limits.h>.
17924         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17925         overflows but exception would not result from cast.
17926         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
17927         <limits.h>.
17928         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17929         overflows but exception would not result from cast.
17930         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
17931         <limits.h>.
17932         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17933         overflows but exception would not result from cast.
17934         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
17935         <limits.h>.
17936         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17937         overflows but exception would not result from cast.
17938         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
17939         <limits.h>.
17940         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17941         overflows but exception would not result from cast.
17942         * math/libm-test.inc (lround_test_data): Add more tests.
17943         (llround_test_data): Likewise.
17945 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
17947         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17948         (CFLAGS-ialloc.c): Ditto.
17949         (CFLAGS-scheck.c): Ditto.
17951 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17953         [BZ #19086]
17954         * manual/filesys.texi (Storage Allocation): Fix argument order for
17955         posix_fallocate64.
17957 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17959         [BZ #19085]
17960         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17961         exponent below 48 inside case for non-overflowing exponent.
17962         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17964 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17966         * iconvdata/cp737.h (from_idx): Add const.
17967         * iconvdata/cp775.h (from_idx): Likewise.
17969 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17971         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17972         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17973         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17975         [BZ #19079]
17976         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17977         file, conditioned on [!_LP64].
17978         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17979         [!_LP64] (__lround): Do not define as function or alias.
17980         [!_LP64] (lround): Likewise.
17981         [!_LP64] (__lroundl): Likewise.
17982         [!_LP64] (lroundl): Likewise.
17983         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17984         macro.
17985         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17986         Likewise.
17988 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17990         * math/libm-test.inc (lrint_test_data): Add more tests.
17991         (llrint_test_data): Likewise.
17992         (lround_test_data): Likewise.
17993         (llround_test_data): Likewise.
17995         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17996         (llrint_test_data): Add tests used for lrint.
17998         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17999         test.
18000         * sysdeps/i386/configure: Regenerated.
18001         * sysdeps/i386/i686/multiarch/Makefile
18002         [$(config-cflags-sse4) = yes]: Make code unconditional.
18003         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18004         Likewise.
18005         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18006         Likewise.
18007         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18008         test.
18009         * sysdeps/x86_64/configure: Regenerated.
18010         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18011         Make code unconditional.
18012         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18013         Likewise.
18014         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18015         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18017         * scripts/rpm2dynsym.sh: Remove file.
18019 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18021         * configure.ac (libc_cv_cxx_thread_local): Define.
18022         * configure: Regenerate.
18023         * config.make.in (have-cxx-thread_local): Define.
18024         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18025         (LDLIBS-tst-thread_local1): Define.
18026         (tests): Add tst-thread_local1.
18027         [have-cxx-thread_local != yes] (tests-unsupported): Add
18028         tst-thread_local1.
18029         * nptl/tst-thread_local1.cc: New file.
18031 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18033         [BZ #19078]
18034         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18035         (u_thres): Likewise.
18036         (__expl): Determine whether to call __kernel_standard_l based on
18037         value of result, not argument.
18039         * math/libm-test.inc (scalb_test_data): Add more expectations for
18040         the "inexact" exception.
18042         [BZ #19077]
18043         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18044         0.0L for argument 1.0L.
18046         [BZ #19076]
18047         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18048         constant 0.0L when computing infinite result.
18050 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18052         [BZ #10432]
18053         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18054         malloc_usable_size.
18056 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18058         [BZ #19018]
18059         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18060         Mangle function pointer before storing it.
18061         (__call_tls_dtors): Demangle function pointer before calling it.
18063 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18065         [BZ #19012]
18066         * iconv/gconv_db.c (gen_steps): Check for additional errors.
18067         Clean up on failure.
18069 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
18071         [BZ #19071]
18072         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18073         long int variable to store possibly incremented high part of
18074         mantissa.
18075         * math/libm-test.inc (lround_test_data): Add tests used for
18076         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
18077         for tests requiring 64-bit long.  Do not condition tests on
18078         [TEST_FLOAT] unnecessarily.
18079         (llround_test_data): Add tests used for lround.  Add another
18080         expectation for the "inexact" exception.  Do not condition tests
18081         on [TEST_FLOAT] unnecessarily.
18083         [BZ #887]
18084         [BZ #19049]
18085         [BZ #19050]
18086         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18087         * sysdeps/ieee754/dbl-64/e_log10.c: Include
18088         <fix-int-fp-convert-zero.h>.
18089         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18090         * sysdeps/ieee754/dbl-64/e_log2.c: Include
18091         <fix-int-fp-convert-zero.h>.
18092         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18093         * sysdeps/ieee754/dbl-64/s_erf.c: Include
18094         <fix-int-fp-convert-zero.h>.
18095         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18096         * sysdeps/ieee754/dbl-64/s_logb.c: Include
18097         <fix-int-fp-convert-zero.h>.
18098         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18099         * sysdeps/ieee754/flt-32/e_log10f.c: Include
18100         <fix-int-fp-convert-zero.h>.
18101         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18102         * sysdeps/ieee754/flt-32/e_log2f.c: Include
18103         <fix-int-fp-convert-zero.h>.
18104         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18105         * sysdeps/ieee754/flt-32/s_erff.c: Include
18106         <fix-int-fp-convert-zero.h>.
18107         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18108         * sysdeps/ieee754/flt-32/s_logbf.c: Include
18109         <fix-int-fp-convert-zero.h>.
18110         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18111         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18112         <fix-int-fp-convert-zero.h>.
18113         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18114         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18115         <fix-int-fp-convert-zero.h>.
18116         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18117         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18118         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18119         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18120         file.
18121         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18123 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18125         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18127 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
18129         [BZ #19059]
18130         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18131         overflowing computation.
18132         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18133         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18134         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18135         Likewise.
18136         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18137         Likewise.
18138         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18139         Likewise.
18140         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18141         Likewise.
18142         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18143         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18144         Likewise.
18145         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18146         Likewise.
18147         * math/libm-test.inc (nexttoward_test_data): Add more tests.
18149         * nss/rewrite_field.c (__nss_rewrite_field): Use
18150         internal_function.
18151         * nss/valid_field.c (__nss_valid_field): Likewise.
18152         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18154 2015-10-02  Florian Weimer  <fweimer@redhat.com>
18156         [BZ #18724]
18157         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18158         (__nss_invalid_field_characters, __nss_valid_field)
18159         (__nss_valid_list_field, __nss_rewrite_field): Declare.
18160         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18161         tst-field.c: New file.
18162         * nss/Makefile (routines): Add valid_field, rewrite_field.
18163         (tests-static): Define unconditionally.
18164         (tests): Include tests-static.
18165         [build-static-nss] (tests-static): Use append.
18166         [build-static-nss] (tests): Remove modification.
18167         * nss/getent.c (print_group): Call putgrent.  Report error.
18168         (print_gshadow): Call putsgent.  Report error.
18169         (print_passwd): Call putpwent.  Report error.
18170         (print_shadow): Call putspent.  Report error.
18171         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18172         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18173         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
18174         name, password, directory, shell fields for valid syntax.  Rewrite
18175         GECOS field to match syntax.
18176         * pwd/Makefile (tests): Add tst-putpwent.
18177         * pwd/tst-putpwent.c: New file.
18178         * grp/putgrent.c (putgrent): Convert to ISO function definition.
18179         Check grName, grpasswd, gr_mem fields for valid syntax.
18180         Change loop variable i to size_t.
18181         * grp/Makefile (tests): Add tst-putgrent.
18182         * grp/tst-putgrent.c: New file.
18183         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18184         valid syntax.
18185         * shadow/Makefile (tests): Add tst-putspent.
18186         * shadow/tst-putspent.c: New file.
18187         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18188         sg_mem fields for valid syntax.
18189         * gshadow/Makefile (tests): Add tst-putsgent.
18190         * gshadow/tst-putsgent.c: New file.
18192 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18194         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18195         assembly instructions.
18197 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18199         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18200         prefix from operands.
18202 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
18204         [BZ #16347]
18205         [BZ #19046]
18206         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18207         <libc-internal.h>.
18208         (MAXLGM): Do not use diagnostic control macros.
18209         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18210         threshold for ldbl-128ibm.
18211         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18212         instead of multiplying by log then subtracting.
18213         * math/auto-libm-test-in: Add more tests of lgamma.
18214         * math/auto-libm-test-out: Regenerated.
18216         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18217         (TYPE_HEX_DIG): Likewise.
18218         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18219         precisions when printing floating-point numbers.
18220         (check_float_internal): Likewise.
18222 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
18224         [BZ #16620]
18225         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
18226         of log (10) rounded downward to 48 bits.
18227         (log10_low): Use corresponding low part of log (10).
18229         [BZ #19032]
18230         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
18231         compute result as (x - x) / (x - x) not as 0 / 0.
18232         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18233         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
18235         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18236         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
18237         and expm1.
18238         * math/auto-libm-test-out: Regenerated.
18239         * math/libm-test.inc (acos_test_data): Add more tests.
18240         (asin_test_data): Likewise.
18241         (asinh_test_data): Likewise.
18242         (atan_test_data): Likewise.
18243         (atanh_test_data): Likewise.
18244         (atan2_test_data): Likewise.
18245         (cbrt_test_data): Likewise.
18246         (ceil_test_data): Likewise.
18247         (copysign_test_data): Likewise.
18248         (cos_test_data): Likewise.
18249         (cosh_test_data): Likewise.
18250         (erf_test_data): Likewise.
18251         (erfc_test_data): Likewise.
18252         (exp_test_data): Likewise.
18253         (exp10_test_data): Likewise.
18254         (exp2_test_data): Likewise.
18255         (expm1_test_data): Likewise.
18256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18258 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
18260         [BZ #19006]
18261         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
18262         to ...
18263         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
18264         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
18265         to ...
18266         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
18267         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
18268         to ...
18269         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
18270         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
18271         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
18272         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
18273         to ...
18274         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
18275         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18276         Moved to ...
18277         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
18278         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18279         Moved to ...
18280         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
18281         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
18282         to ...
18283         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
18284         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18285         Moved to ...
18286         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
18287         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
18288         to ...
18289         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
18290         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
18291         Removed.
18292         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
18293         Likewise.
18294         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
18295         Likewise.
18296         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
18297         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
18298         Likewise.
18299         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18300         Likewise.
18301         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18302         Likewise.
18303         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18304         Likewise.
18305         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18306         Likewise.
18307         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
18308         Likewise.
18309         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
18310         Likewise.
18311         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
18312         Likewise.
18313         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
18314         Likewise.
18315         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
18316         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
18317         Likewise.
18318         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18319         Likewise.
18320         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18321         Likewise.
18322         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18323         Likewise.
18324         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
18325         Likewise.
18326         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18327         Replace ../i486/pthread_cond_timedwait.S with
18328         ../pthread_cond_timedwait.S.
18330 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
18332         * math/libm-test.inc (acos_test_data): Refine expectations for
18333         errno and "inexact" exceptions.
18334         (acosh_test_data): Likewise.
18335         (asin_test_data): Likewise.
18336         (asinh_test_data): Likewise.
18337         (atan_test_data): Likewise.
18338         (atanh_test_data): Likewise.
18339         (atan2_test_data): Likewise.
18340         (cbrt_test_data): Likewise.
18341         (ceil_test_data): Likewise.
18342         (copysign_test_data): Likewise.
18343         (cosh_test_data): Likewise.
18344         (erf_test_data): Likewise.
18345         (erfc_test_data): Likewise.
18346         (exp_test_data): Likewise.
18347         (exp10_test_data): Likewise.
18348         (exp2_test_data): Likewise.
18349         (expm1_test_data): Likewise.
18350         (fabs_test_data): Likewise.
18351         (floor_test_data): Likewise.
18352         (fma_test_data): Likewise.
18353         (fmax_test_data): Likewise.
18354         (fmin_test_data): Likewise.
18355         (fmod_test_data): Likewise.
18356         (fpclassify_test_data): Likewise.
18357         (frexp_test_data): Likewise.
18358         (hypot_test_data): Likewise.
18359         (ilogb_test_data): Likewise.
18360         (isgreater_test_data): Likewise.
18361         (isgreaterequal_test_data): Likewise.
18362         (isinf_test_data): Likewise.
18363         (isless_test_data): Likewise.
18364         (islessequal_test_data): Likewise.
18365         (islessgreater_test_data): Likewise.
18366         (isnan_test_data): Likewise.
18367         (isnormal_test_data): Likewise.
18368         (issignaling_test_data): Likewise.
18369         (isunordered_test_data): Likewise.
18370         (j0_test_data): Likewise.
18371         (j1_test_data): Likewise.
18372         (jn_test_data): Likewise.
18373         (lgamma_test_data): Likewise.
18374         (lrint_test_data): Likewise.
18375         (llrint_test_data): Likewise.
18376         (log_test_data): Likewise.
18377         (log10_test_data): Likewise.
18378         (log1p_test_data): Likewise.
18379         (log2_test_data): Likewise.
18380         (logb_test_data): Likewise.
18381         (lround_test_data): Likewise.
18382         (llround_test_data): Likewise.
18383         (modf_test_data): Likewise.
18384         (nearbyint_test_data): Likewise.
18385         (nextafter_test_data): Likewise.
18386         (nexttoward_test_data): Likewise.
18387         (pow_test_data): Likewise.
18388         (remainder_test_data): Likewise.
18389         (remquo_test_data): Likewise.
18390         (rint_test_data): Likewise.
18391         (round_test_data): Likewise.
18392         (signbit_test_data): Likewise.
18393         (sinh_test_data): Likewise.
18394         (sqrt_test_data): Likewise.
18395         (tanh_test_data): Likewise.
18396         (tgamma_test_data): Likewise.
18397         (trunc_test_data): Likewise.
18398         (y0_test_data): Likewise.
18399         (y1_test_data): Likewise.
18400         (yn_test_data): Likewise.
18401         (significand_test_data): Likewise.
18403 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
18405         * manual/filesys.texi (Storage Allocation): Document that
18406         posix_fallocate emulation fails when fd is open with O_WRONLY.
18408 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
18410         [BZ #19016]
18411         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
18412         allow more cases with X^2 + Y^2 >= 0.5.
18413         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
18414         normal element in sum instead of special-casing based on values of
18415         arguments.
18416         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
18417         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
18418         -1 as normal element in sum instead of special-casing based on
18419         values of arguments.
18420         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
18421         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
18422         (__x2y2m1): Update comment.
18423         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
18424         as normal element in sum instead of special-casing based on values
18425         of arguments.
18426         * math/s_clog.c (__clog): Handle more cases using log1p without
18427         hypot.
18428         * math/s_clog10.c (__clog10): Likewise.
18429         * math/s_clog10f.c (__clog10f): Likewise.
18430         * math/s_clog10l.c (__clog10l): Likewise.
18431         * math/s_clogf.c (__clogf): Likewise.
18432         * math/s_clogl.c (__clogl): Likewise.
18433         * math/auto-libm-test-in: Add more tests of clog and clog10.
18434         * math/auto-libm-test-out: Regenerated.
18435         * sysdeps/i386/fpu/libm-test-ulps: Update.
18436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18438 2015-09-28  Martin Sebor  <msebor@redhat.com>
18440         [BZ #18969]
18441         * string/Makefile (LOCALES): Define.
18442         (gen-locales.mk): Include.
18443         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
18444         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
18445         * string/tst-strxfrm2.c (do_test): Print the name of the locale
18446         on setlocale failure.
18448 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18450         [BZ #18985]
18451         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
18452         (__strftime_internal): Likewise.
18453         * time/tst-strftime.c (do_bz18985): New test.
18454         (do_test): Call it.
18456 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
18458         [BZ #18956]
18459         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
18460         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
18461         extracting high part.
18462         * math/auto-libm-test-in: Add another test of pow.
18463         * math/auto-libm-test-out: Regenerated.
18464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18466 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
18468         [BZ #18825]
18469         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
18470         New macro.
18471         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
18472         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18473         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
18474         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
18475         DBL_NARROW_EVAL, reloading the PIC register as needed.
18476         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
18477         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
18478         FLT_NARROW_EVAL.  Use separate return path for case when first
18479         argument is NaN.
18480         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
18481         DEFINE_LDBL_MIN.
18482         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
18483         PIC register.
18484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
18485         math_check_force_underflow_nonneg.
18486         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
18487         underflow for subnormal result.
18488         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18489         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
18490         math_check_force_underflow_nonneg.
18491         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
18492         math_check_force_underflow.
18493         * sysdeps/x86_64/fpu/x86_64-math-asm.h
18494         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
18495         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
18496         DEFINE_LDBL_MIN.
18497         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
18498         * math/auto-libm-test-in: Add more tests of pow.
18499         * math/auto-libm-test-out: Regenerated.
18501 2015-09-25  Florian Weimer  <fweimer@redhat.com>
18503         * nss/bug17079.c (init_test_items): Add diagnostic for
18504         inconsistent entries.
18505         (test_buffer_size): Skip inconsistent entries.
18507 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
18509         [BZ #13304]
18510         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
18511         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18512         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
18514         [BZ #13304]
18515         * sysdeps/microblaze/s_fma.c: New file.
18516         * sysdeps/microblaze/s_fmaf.c: Likewise.
18517         * sysdeps/microblaze/sfp-machine.h: Likewise.
18519 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
18521         [BZ #17250]
18522         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
18523         member.
18525 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
18527         [BZ #18803]
18528         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
18529         (MO): New macro.
18530         (__ieee754_hypot) [PIC]: Load PIC register.
18531         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
18532         DBL_NARROW_EVAL.
18533         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
18534         math_check_force_underflow_nonneg in case where result might be
18535         tiny.
18536         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18537         Likewise.
18538         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18539         Likewise.
18540         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18541         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18542         * math/auto-libm-test-in: Add more tests of hypot.
18543         * math/auto-libm-test-out: Regenerated.
18545 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
18547         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
18549 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
18551         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
18552         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
18553         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
18554         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
18555         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
18556         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
18557         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
18559         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
18560         LOAD_PIC_REG.
18562         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
18563         (FLT_CHECK_FORCE_UFLOW): Likewise.
18564         (DBL_CHECK_FORCE_UFLOW): Likewise.
18565         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
18566         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
18567         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
18568         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18569         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18570         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18571         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18572         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18573         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
18574         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18575         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
18576         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
18577         (flt_min): Replace with use of DEFINE_FLT_MIN.
18578         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
18579         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
18580         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18581         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
18582         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
18583         (flt_min): Replace with use of DEFINE_FLT_MIN.
18584         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
18585         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
18586         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18587         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
18588         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
18589         (flt_min): Replace with use of DEFINE_FLT_MIN.
18590         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
18591         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
18592         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
18593         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
18594         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
18595         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
18596         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
18597         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
18598         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18599         (__atan): Use DBL_CHECK_FORCE_UFLOW.
18600         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
18601         (flt_min): Replace with use of DEFINE_FLT_MIN.
18602         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
18603         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
18604         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18605         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
18606         main computation.
18607         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
18608         (flt_min): Replace with use of DEFINE_FLT_MIN.
18609         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
18610         main computation.
18611         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
18612         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18613         (MO): New macro.
18614         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
18615         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
18616         (flt_min): Replace with use of DEFINE_FLT_MIN.
18617         (MO): New macro.
18618         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
18619         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
18620         (__log1pl): Use MO.
18622         [BZ #19003]
18623         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
18624         $(config-cflags-nofma).
18626 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18628         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18630 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
18632         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
18633         (TWO127): Likewise.
18635         * sysdeps/generic/math_private.h (fabs_tg): New macro.
18636         (min_of_type): Likewise.
18637         (math_check_force_underflow): Likewise.
18638         (math_check_force_underflow_nonneg): Likewise.
18639         (math_check_force_underflow_complex): Likewise.
18640         * math/e_exp2l.c (__ieee754_exp2l): Use
18641         math_check_force_underflow_nonneg.
18642         * math/k_casinh.c (__kernel_casinh): Likewise.
18643         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18644         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18645         * math/s_catan.c (__catan): Use
18646         math_check_force_underflow_complex.
18647         * math/s_catanf.c (__catanf): Likewise.
18648         * math/s_catanh.c (__catanh): Likewise.
18649         * math/s_catanhf.c (__catanhf): Likewise.
18650         * math/s_catanhl.c (__catanhl): Likewise.
18651         * math/s_catanl.c (__catanl): Likewise.
18652         * math/s_ccosh.c (__ccosh): Likewise.
18653         * math/s_ccoshf.c (__ccoshf): Likewise.
18654         * math/s_ccoshl.c (__ccoshl): Likewise.
18655         * math/s_cexp.c (__cexp): Likewise.
18656         * math/s_cexpf.c (__cexpf): Likewise.
18657         * math/s_cexpl.c (__cexpl): Likewise.
18658         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
18659         * math/s_clog10.c (__clog10): Likewise.
18660         * math/s_clog10f.c (__clog10f): Likewise.
18661         * math/s_clog10l.c (__clog10l): Likewise.
18662         * math/s_clogf.c (__clogf): Likewise.
18663         * math/s_clogl.c (__clogl): Likewise.
18664         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
18665         * math/s_csinf.c (__csinf): Likewise.
18666         * math/s_csinh.c (__csinh): Likewise.
18667         * math/s_csinhf.c (__csinhf): Likewise.
18668         * math/s_csinhl.c (__csinhl): Likewise.
18669         * math/s_csinl.c (__csinl): Likewise.
18670         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
18671         * math/s_csqrtf.c (__csqrtf): Likewise.
18672         * math/s_csqrtl.c (__csqrtl): Likewise.
18673         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
18674         * math/s_ctanf.c (__ctanf): Likewise.
18675         * math/s_ctanh.c (__ctanh): Likewise.
18676         * math/s_ctanhf.c (__ctanhf): Likewise.
18677         * math/s_ctanhl.c (__ctanhl): Likewise.
18678         * math/s_ctanl.c (__ctanl): Likewise.
18679         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
18680         instead of volatile.
18681         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
18682         math_check_force_underflow.
18683         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18684         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
18685         volatile when forcing underflow.
18686         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18687         math_check_force_underflow_nonneg.
18688         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
18689         Likewise.
18690         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
18691         math_check_force_underflow.
18692         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18693         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18694         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18695         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
18696         math_check_force_underflow_nonneg.
18697         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
18698         math_check_force_underflow.
18699         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
18700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
18701         instead of volatile.
18702         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
18703         math_check_force_underflow.
18704         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18705         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18706         math_check_force_underflow_nonneg.
18707         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
18708         math_check_force_underflow.
18709         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18710         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18711         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
18712         math_check_force_underflow_nonneg.
18713         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18714         Likewise.
18715         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
18716         math_check_force_underflow.
18717         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18718         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18719         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
18720         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
18721         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18722         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
18723         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
18724         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
18725         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18726         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
18727         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18728         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
18729         Likewise.
18730         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
18731         math_check_force_underflow_nonneg.
18732         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18733         Likewise.
18734         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
18735         math_check_force_underflow.
18736         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18737         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
18738         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18739         Likewise.
18740         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
18741         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
18742         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
18743         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
18744         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
18745         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
18746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
18747         instead of volatile.
18748         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
18749         math_check_force_underflow.
18750         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
18751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
18752         math_check_force_underflow.
18753         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
18754         Likewise.
18755         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18756         Use math_check_force_underflow_nonneg.
18757         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
18758         math_check_force_underflow.
18759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18760         Likewise.
18761         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18762         Likewise.
18763         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18765         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18766         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
18768         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18769         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18770         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18771         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
18772         math_check_force_underflow_nonneg.
18773         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
18774         math_check_force_underflow.
18775         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18776         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18777         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
18778         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
18779         math_check_force_underflow_nonneg.
18780         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
18781         math_check_force_underflow.
18782         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18783         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
18784         instead of volatile.
18785         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
18786         math_check_force_underflow.
18788         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
18789         * stdlib/strtod_l.c: Include <math_private.h>.
18790         (overflow_value): Use math_narrow_eval.
18791         (underflow_value): Likewise.
18792         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18793         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18794         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18795         (__ieee754_gamma_r): Likewise.
18796         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
18797         Likewise.
18798         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18799         Likewise.
18800         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
18801         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
18802         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
18803         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
18804         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18805         (__ieee754_gammaf_r): Likewise.
18806         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18807         Likewise.
18808         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
18809         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
18810         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
18811         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
18812         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
18813         volatile.
18814         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
18815         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
18816         math_narrow_eval.
18817         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18818         Likewise.
18819         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18820         Likewise.
18821         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
18822         Likewise.
18823         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
18824         volatile.
18825         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18826         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
18827         math_narrow_eval.
18828         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18829         Likewise.
18830         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18831         Likewise.
18833 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
18835         * nptl/Versions: Remove ignored symbols.
18837 2015-09-22  Florian Weimer  <fweimer@redhat.com>
18839         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
18840         * nss/Makefile (tests): Update.
18842 2015-09-22  Florian Weimer  <fweimer@redhat.com>
18844         * nss/bug18287.c: New file.
18845         * nss/Makefile (tests): Add bug18287.
18847 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18849         * mach/Versions (__mach_host_self_): Add symbol.
18851 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18853         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
18854         vm_page_size.
18856 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18858         Really fix sysdeps/i386/fpu/s_scalbn.S build
18860         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
18861         (libc: GLIBC_2_22): Remove unused version set.
18863 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18865         * config.make.in (enable-timezone-tools): New variable.
18866         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
18867         (enable_timezone_tools): Export to generated files.
18868         * configure: Regenerate.
18869         * INSTALL: Regenerate.
18870         * manual/install.texi (--disable-timezone-tools): Document new flag.
18871         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
18872         ifeq ($(enable-timezone-tools),yes) check.
18874 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18876         * timezone/Makefile: Revert previous change.
18878         [BZ #18980]
18879         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
18880         (DEFINE_DBL_MIN): Likewise.
18881         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18882         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18883         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18884         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18885         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
18886         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18887         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18888         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
18889         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
18890         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18891         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18892         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
18893         (flt_min): Replace with use of DEFINE_FLT_MIN.
18894         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18895         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
18896         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18897         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18898         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
18899         (flt_min): Replace with use of DEFINE_FLT_MIN.
18900         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18901         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
18902         (flt_min): Replace with use of DEFINE_FLT_MIN.
18903         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18904         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
18905         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
18906         (__ieee754_hypot): Use DBL_NARROW_EVAL.
18907         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
18908         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
18909         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
18910         (__ieee754_pow): Use DBL_NARROW_EVAL.
18911         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
18912         (__ieee754_powf): Use FLT_NARROW_EVAL.
18913         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
18914         (__ieee754_expf_sse2): Convert double-precision result to single
18915         precision.
18916         * sysdeps/i386/fpu/libm-test-ulps: Update.
18918 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18920         * timezone/Makefile: Ignore unused variable errors due to private.h
18921         (time_t_min) and (time_t_max).
18922         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
18923         Likewise.
18925 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18927         [BZ #18981]
18928         * sysdeps/i386/fpu/i386-math-asm.h: New file.
18929         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
18930         (__ieee754_scalb): Use DBL_NARROW_EVAL.
18931         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
18932         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
18933         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
18934         (__scalbn): Use DBL_NARROW_EVAL.
18935         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
18936         (__scalbnf): Use FLT_NARROW_EVAL.
18938 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18940         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
18941         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18942         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18943         * stdio-common/printf_fp.c (___printf_fp):
18944         Use signbit to get the sign. Use isinf macro to allow inlining.
18945         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18946         * stdio-common/printf_size.c (__printf_size): Likewise.
18948 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18950         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18952 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18954         [BZ #18980]
18955         * sysdeps/generic/math_private.h: Include <float.h>.
18956         (math_narrow_eval): New macro.
18957         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18958         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18959         math_narrow_eval on overflowing return value.
18960         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18961         Likewise.
18962         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18963         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18964         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18965         Likewise.
18966         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18968 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18970         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18971         * math/Makefile: Remove isinf_ns.c.
18972         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18973         * math/multc3.c (__multc3): Likewise.
18974         * math/s_casin.c (__casin): Likewise.
18975         * math/s_casinf.c (__casinf): Likewise.
18976         * math/s_casinl.c (__casinl): Likewise.
18977         * math/s_cproj.c (__cproj): Likewise.
18978         * math/s_cprojf.c (__cprojf): Likewise.
18979         * math/s_cprojl.c (__cprofl): Likewise.
18980         * math/s_ctan.c (__ctan): Likewise.
18981         * math/s_ctanf.c (__ctanf): Likewise.
18982         * math/s_ctanh.c (__ctanh): Likewise.
18983         * math/s_ctanhf.c (__ctanhf): Likewise.
18984         * math/s_ctanhl.c (__ctanhl): Likewise.
18985         * math/s_ctanl.c (__ctanl): Likewise.
18986         * math/w_fmod.c (__fmod): Likewise.
18987         * math/w_fmodf.c (__fmodf): Likewise.
18988         * math/w_fmodl.c (_fmodl): Likewise.
18989         * math/w_remainder.c (__remainder): Likewise.
18990         * math/w_remainderf.c (__remainderf): Likewise.
18991         * math/w_remainderl.c (__remainderl): Likewise.
18992         * math/w_scalb.c (__scalb): Likewise.
18993         * math/w_scalbf.c (__scalbf): Likewise.
18994         * math/w_scalbl.c (__scalbl): Likewise.
18995         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18996         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18997         with isinf.
18998         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19000         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19001         __isinf_nsf with isinf.
19002         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19003         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19004         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19005         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19006         with isinf.
19007         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19008         __isinf_nsl with isinf.
19009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19010         with isinf.
19011         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19012         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19013         __isinf_nsl with isinf.
19014         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19015         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19016         with isinf.
19018 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19020         * resolv/base64.c (rcsid): Remove unused static.
19021         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19022         static.  (tqpi1): Likewise.
19023         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19024         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19025         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19026         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19027         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19028         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19029         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19030         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
19031         Likewise.
19033 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
19035         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19036         <nptl/pthreadP.h>.
19037         (_longjmp_unwind): Use __libc_ptf_call.
19038         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19040 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
19042         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19043         * sysdeps/arm/__longjmp.S: Likewise.
19045 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19047         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19048         Use __builtin_signbit.
19049         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19050         Use __builtin_signbitf.
19051         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19052         Use __builtin_signbitl.
19053         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19054         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19056 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19058         [BZ #15367]
19059         [BZ #17441]
19061         * math/Makefile: Build test-snan.c with -fsignaling-nans.
19062         * math/math.h (fpclassify): Use __builtin_fpclassify when
19063         available.  (signbit): Use __builtin_signbit(f/l).
19064         (isfinite): Use__builtin_isfinite.  (isnormal): Use
19065         __builtin_isnormal.  (isnan): Use __builtin_isnan.
19066         (isinf): Use __builtin_isinf_sign.
19068 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19070         * benchtests/Makefile: Add bench-math-inlines, link with libm.
19071         * benchtests/bench-math-inlines.c: New benchmark.
19072         * benchtests/bench-util.h: New file.
19073         * benchtests/bench-util.c: New file.
19074         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19076 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
19078         * elf/tst-dlmopen1.c: Define TEST_SO.
19079         (do_test): Use TEST_SO.
19081         * elf/dl-load.c: Include libc-internal.h.
19082         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19084 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19086         [BZ #17887]
19087         * time/strptime_l.c (__strptime_internal): Make %z accept
19088         [+-]HH:MM time zones.
19090 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19092         [BZ #17886]
19093         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19094         valid time zone.
19096 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
19098         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19099         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19100         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19101         (__ASSUME_FDATASYNC): Delete.
19103 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19105         * conform/linknamespace.pl: Require weak undefined symbols to be
19106         in the standard namespace.
19107         (%strong_syms): Rename to %seen_syms.
19108         (%strong_seen): Rename to %seen_where.
19110 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
19112         [BZ #18970]
19113         * misc/error.c (error): Replace pthread_setcancelstate with
19114         __pthread_setcancelstate.
19115         (error_at_line): Likewise.
19116         * posix/wordexp.c (parse_comm): Likewise.
19117         * stdlib/fmtmsg.c (fmtmsg): Likewise.
19118         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19119         (__pthread_setcancelstate): This.
19120         (pthread_setcancelstate): Add an alias.
19121         * nptl/nptl-init.c (pthread_functions): Replace
19122         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19123         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19124         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19125         hidden_proto.
19126         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19127         it with hidden_def.
19128         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19129         (pthread_setcancelstate): Renamed to ...
19130         (__pthread_setcancelstate): This.
19131         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19132         __libc_ptf_call with __pthread_setcancelstate.
19134 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19135             Andreas Schwab  <schwab@suse.de>
19137         [BZ #17118]
19138         * math/s_ctan.c (__ctan): Determine sign of zero real part of
19139         result when imaginary part of argument is infinite using sine and
19140         cosine.
19141         * math/s_ctanf.c (__ctanf): Likewise.
19142         * math/s_ctanl.c (__ctanl): Likewise.
19143         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19144         of result when real part of argument is infinite using sine and
19145         cosine.
19146         * math/s_ctanhf.c (__ctanhf): Likewise.
19147         * math/s_ctanhl.c (__ctanhl): Likewise.
19148         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19149         (ctanh_test_data): Add more tests of ctanh.
19151 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19153         [BZ #15384]
19154         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19155         bit-mask as in subtraction.
19156         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19157         Likewise.
19158         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19159         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19160         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19162         [BZ #18951]
19163         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19164         underflow exception for small results.
19165         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19166         Likewise.
19167         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19168         Likewise.
19169         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19170         Likewise.
19171         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19172         Likewise.
19173         * math/auto-libm-test-in: Add more tests of tgamma.
19174         * math/auto-libm-test-out: Regenerated.
19176 2015-09-17  Andreas Schwab  <schwab@suse.de>
19178         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19180 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19182         [BZ #18977]
19183         * math/bits/mathcalls.h
19184         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19185         not declare.
19186         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19187         Likewise.
19188         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19189         Likewise.
19190         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19191         Likewise.
19192         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19193         Likewise.
19194         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19195         Likewise.
19196         * conform/data/math.h-data
19197         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19198         function.
19199         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19200         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19201         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19202         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19203         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19204         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19205         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19206         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19207         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19208         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19209         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19211         [BZ #6803]
19212         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19213         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19214         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19215         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19216         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19217         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19218         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19219         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19220         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19221         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19222         Likewise.
19223         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19224         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
19225         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
19226         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
19227         long_double_symbol calls.
19228         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
19229         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
19230         strong alias of __ldexpl.
19231         (scalbnl): Define using long_double_symbol.
19232         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
19233         Remove alias.
19234         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
19235         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
19236         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
19237         (scalbln_test_data): Add more errno expectations.
19239 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
19241         Cache the host port like we cache the task port.  This way we do not
19242         need to call the kernel just to get the port.  Furthermore, we no
19243         longer increase the reference count on every invocation of
19244         `mach_host_self'.
19246         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
19247         Protect declarations against the macro expansion.
19248         * mach/mach_init.c (__mach_host_self_): New variable.
19249         (mach_init): Initialize `__mach_host_self_'.
19250         * mach/mach_init.h (__mach_host_self_): New declaration.
19251         (__mach_host_self, mach_host_self): New macros.
19252         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
19253         Release reference.
19255 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19257         [BZ #4404]
19258         * po/de.po: Update from Translation Project.
19260         [BZ #16415]
19261         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
19262         (__expm1l): Remove code to handle positive infinity and overflow.
19263         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
19264         variable.
19265         (__expm1l): Remove code to handle positive infinity and overflow.
19267 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
19268             Paul Pluzhnikov  <ppluzhnikov@google.com>
19270         [BZ #18872]
19271         * stdio-common/Makefile (tst-printf-bz18872): New test.
19272         (tst-printf-bz18872-mem.out): Likewise.
19273         * stdio-common/tst-printf-bz18872.sh: Generate new test.
19274         * stdio-common/vfprintf.c: Fix memory leaks.
19276 2015-09-16  Andreas Schwab  <schwab@suse.de>
19278         [BZ #17244]
19279         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
19280         Remove extra va_start/va_end calls.
19282         [BZ #17243]
19283         * posix/execl.c (execl): Add missing va_end.
19284         * posix/execle.c (execle): Likewise.
19285         * posix/execlp.c (execlp): Likewise.
19287 2015-09-15  Roland McGrath  <roland@hack.frob.com>
19289         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
19290         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
19292 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
19294         [BZ #18967]
19295         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
19296         undefine around includes of <bits/mathcalls.h>.
19297         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
19298         not declare function.
19299         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
19300         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
19301         (scalb): Likewise.
19302         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
19303         not define macro.
19304         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
19305         variable.
19306         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19307         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19308         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19310         [BZ #18857]
19311         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
19312         return non-finite argument without doing ordered comparisons on
19313         it.
19315         [BZ #16296]
19316         * math/fenv.h (fegetround): Use __attribute_pure__.
19317         * include/fenv.h (__fegetround): Likewise.
19319         [BZ #18595]
19320         * math/s_ctan.c (__ctan): Force underflow exception for results
19321         whose real or imaginary part has small absolute value.
19322         * math/s_ctanf.c (__ctanf): Likewise.
19323         * math/s_ctanh.c (__ctanh): Likewise.
19324         * math/s_ctanhf.c (__ctanhf): Likewise.
19325         * math/s_ctanhl.c (__ctanhl): Likewise.
19326         * math/s_ctanl.c (__ctanl): Likewise.
19327         * math/auto-libm-test-in: Do not allow missing underflow for ctan
19328         and ctanh.  Add more tests of ctan and ctanh.
19330         [BZ #15918]
19331         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
19332         handling of cases where one argument is an infinity.
19334         [BZ #18875]
19335         [BZ #18966]
19336         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
19337         (MO): New macro.
19338         (__ieee754_exp10): For small results, force underflow exception
19339         and remove excess range and precision from return value.
19340         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
19341         (MO): New macro.
19342         (__ieee754_exp10f): For small results, force underflow exception
19343         and remove excess range and precision from return value.
19344         * math/auto-libm-test-in: Add more tests of exp10.
19345         * math/auto-libm-test-out: Regenerated.
19347 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
19349         [BZ #18875]
19350         [BZ #18961]
19351         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
19352         (MO): New macro.
19353         (__ieee754_exp): For small results, force underflow exception and
19354         remove excess range and precision from return value.
19355         (__exp_finite): Likewise.
19356         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
19357         (MO): New macro.
19358         (__ieee754_expf): For small results, force underflow exception and
19359         remove excess range and precision from return value.
19360         (__expf_finite): Likewise.
19361         * math/auto-libm-test-in: Add more tests of exp.
19362         * math/auto-libm-test-out: Regenerated.
19364         [BZ #16521]
19365         [BZ #18875]
19366         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
19367         small results.
19368         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
19369         (MO): New macro.
19370         (__ieee754_exp2): For small results, force underflow exception and
19371         remove excess range and precision from return value.
19372         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
19373         (MO): New macro.
19374         (__ieee754_exp2f): For small results, force underflow exception
19375         and remove excess range and precision from return value.
19376         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
19377         (MO): New macro.
19378         (__ieee754_exp2l): Force underflow exception for small results.
19379         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19380         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19381         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
19382         (MO): New macro.
19383         (__ieee754_exp2l): Force underflow exception for small results.
19384         * math/auto-libm-test-in: Add more tests or exp2.
19385         * math/auto-libm-test-out: Regenerated.
19387 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
19389         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
19391         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
19392         /dev/null.
19394 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19396         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19397         io fs process)): Drop spurious backslash.
19399 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
19402         Use sysinfo system call instead of parsing /proc/meminfo.
19403         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
19404         Likewise.
19406 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
19408         [BZ #16985]
19409         * programs/localedef.c (main): Display argv[remaining] when
19410         output_path is NULL.
19412 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
19414         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19415         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
19416         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
19417         tanh.
19418         * math/auto-libm-test-out: Regenerated.
19419         * sysdeps/i386/fpu/libm-test-ulps: Update.
19420         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19421         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19424 2015-09-11  Roland McGrath  <roland@hack.frob.com>
19426         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
19427         Use 'override' keyword to freeze the value here, preventing
19428         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
19430 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
19432         [BZ #14912]
19433         * sysdeps/aarch64/bits/atomic.h: Move to ...
19434         * sysdeps/aarch64/atomic-machine.h: ...here.
19435         (_AARCH64_BITS_ATOMIC_H): Rename macro to
19436         _AARCH64_ATOMIC_MACHINE_H.
19437         * sysdeps/alpha/bits/atomic.h: Move to ...
19438         * sysdeps/alpha/atomic-machine.h: ...here.
19439         * sysdeps/arm/bits/atomic.h: Move to ...
19440         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
19441         * bits/atomic.h: Move to ...
19442         * sysdeps/generic/atomic-machine.h: ...here.
19443         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19444         * sysdeps/i386/bits/atomic.h: Move to ...
19445         * sysdeps/i386/atomic-machine.h: ...here.
19446         * sysdeps/ia64/bits/atomic.h: Move to ...
19447         * sysdeps/ia64/atomic-machine.h: ...here.
19448         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
19449         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
19450         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19451         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
19452         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
19453         * sysdeps/microblaze/bits/atomic.h: Move to ...
19454         * sysdeps/microblaze/atomic-machine.h: ...here.
19455         * sysdeps/mips/bits/atomic.h: Move to ...
19456         * sysdeps/mips/atomic-machine.h: ...here.
19457         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
19458         * sysdeps/powerpc/bits/atomic.h: Move to ...
19459         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
19460         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
19461         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
19462         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
19463         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
19464         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
19465         <atomic-machine.h> instead of <bits/atomic.h>.
19466         * sysdeps/s390/bits/atomic.h: Move to ...
19467         * sysdeps/s390/atomic-machine.h: ...here.
19468         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
19469         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
19470         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19471         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
19472         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
19473         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
19474         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
19475         * sysdeps/tile/bits/atomic.h: Move to ...
19476         * sysdeps/tile/atomic-machine.h: ...here.
19477         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
19478         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
19479         <sysdeps/tile/atomic-machine.h> instead of
19480         <sysdeps/tile/bits/atomic.h>.
19481         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19482         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
19483         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
19484         <sysdeps/tile/atomic-machine.h> instead of
19485         <sysdeps/tile/bits/atomic.h>.
19486         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19487         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
19488         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
19489         <sysdeps/arm/atomic-machine.h> instead of
19490         <sysdeps/arm/bits/atomic.h>.
19491         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
19492         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
19493         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19494         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
19495         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
19496         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19497         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
19498         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
19499         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
19500         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
19501         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
19502         * sysdeps/x86_64/bits/atomic.h: Move to ...
19503         * sysdeps/x86_64/atomic-machine.h: ...here.
19504         * include/atomic.h: Include <atomic-machine.h> instead of
19505         <bits/atomic.h>.
19507         * sysdeps/mips/mips32/libm-test-ulps: Update.
19508         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19510         [BZ #18952]
19511         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
19512         not convert non-integer negative arguments to int to determine the
19513         value of signgam.
19514         * math/auto-libm-test-in: Add more tests of lgamma.
19515         * math/auto-libm-test-out: Regenerated.
19517         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
19518         cosh, csqrt, erfc, expm1 and lgamma.
19519         * math/auto-libm-test-out: Regenerated.
19520         * sysdeps/i386/fpu/libm-test-ulps: Update.
19521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19523 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
19525         [BZ #2542]
19526         [BZ #2543]
19527         [BZ #2558]
19528         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
19529         __lgamma_neg for arguments from -28.0 to -2.0.
19530         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
19531         __lgamma_negf for arguments from -15.0 to -2.0.
19532         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19533         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
19534         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
19535         Call __lgamma_negl for arguments from -33.0 to -2.0.
19536         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
19537         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
19538         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
19539         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
19540         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
19541         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
19542         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
19543         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
19544         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
19545         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
19546         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
19547         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
19548         (__lgamma_neg): Likewise.
19549         (__lgamma_negl): Likewise.
19550         (__lgamma_product): Likewise.
19551         (__lgamma_productl): Likewise.
19552         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
19553         * math/auto-libm-test-in: Add more tests of lgamma.
19554         * math/auto-libm-test-out: Regenerated.
19555         * sysdeps/i386/fpu/libm-test-ulps: Update.
19556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19558 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
19560         [BZ #18675]
19561         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
19563 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
19565         [BZ #14912]
19566         * bits/libc-lock.h: Move to ...
19567         * sysdeps/generic/libc-lock.h: ...here.
19568         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19569         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
19570         * sysdeps/mach/hurd/libc-lock.h: ...here.
19571         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19572         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
19573         * sysdeps/mach/bits/libc-lock.h: Move to ...
19574         * sysdeps/mach/libc-lock.h: ...here.
19575         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19576         * sysdeps/nptl/bits/libc-lock.h: Move to ...
19577         * sysdeps/nptl/libc-lock.h: ...here.
19578         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19579         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
19580         * sysdeps/nptl/libc-lockP.h: ...here.
19581         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
19582         * crypt/crypt_util.c: Include <libc-lock.h> instead of
19583         <bits/libc-lock.h>.
19584         * dirent/scandir-tail.c: Likewise.
19585         * dlfcn/dlerror.c: Likewise.
19586         * elf/dl-close.c: Likewise.
19587         * elf/dl-iteratephdr.c: Likewise.
19588         * elf/dl-lookup.c: Likewise.
19589         * elf/dl-open.c: Likewise.
19590         * elf/dl-support.c: Likewise.
19591         * elf/dl-writev.h: Likewise.
19592         * elf/rtld.c: Likewise.
19593         * grp/fgetgrent.c: Likewise.
19594         * gshadow/fgetsgent.c: Likewise.
19595         * gshadow/sgetsgent.c: Likewise.
19596         * iconv/gconv_conf.c: Likewise.
19597         * iconv/gconv_db.c: Likewise.
19598         * iconv/gconv_dl.c: Likewise.
19599         * iconv/gconv_int.h: Likewise.
19600         * iconv/gconv_trans.c: Likewise.
19601         * include/link.h: Likewise.
19602         * inet/getnameinfo.c: Likewise.
19603         * inet/getnetgrent.c: Likewise.
19604         * inet/getnetgrent_r.c: Likewise.
19605         * intl/bindtextdom.c: Likewise.
19606         * intl/dcigettext.c: Likewise.
19607         * intl/finddomain.c: Likewise.
19608         * intl/gettextP.h: Likewise.
19609         * intl/loadmsgcat.c: Likewise.
19610         * intl/localealias.c: Likewise.
19611         * intl/textdomain.c: Likewise.
19612         * libidn/idn-stub.c: Likewise.
19613         * libio/libioP.h: Likewise.
19614         * locale/duplocale.c: Likewise.
19615         * locale/freelocale.c: Likewise.
19616         * locale/newlocale.c: Likewise.
19617         * locale/setlocale.c: Likewise.
19618         * login/getutent_r.c: Likewise.
19619         * login/getutid_r.c: Likewise.
19620         * login/getutline_r.c: Likewise.
19621         * login/utmp-private.h: Likewise.
19622         * login/utmpname.c: Likewise.
19623         * malloc/mtrace.c: Likewise.
19624         * misc/efgcvt.c: Likewise.
19625         * misc/error.c: Likewise.
19626         * misc/fstab.c: Likewise.
19627         * misc/getpass.c: Likewise.
19628         * misc/mntent.c: Likewise.
19629         * misc/syslog.c: Likewise.
19630         * nis/nis_call.c: Likewise.
19631         * nis/nis_callback.c: Likewise.
19632         * nis/nss-default.c: Likewise.
19633         * nis/nss_compat/compat-grp.c: Likewise.
19634         * nis/nss_compat/compat-initgroups.c: Likewise.
19635         * nis/nss_compat/compat-pwd.c: Likewise.
19636         * nis/nss_compat/compat-spwd.c: Likewise.
19637         * nis/nss_nis/nis-alias.c: Likewise.
19638         * nis/nss_nis/nis-ethers.c: Likewise.
19639         * nis/nss_nis/nis-grp.c: Likewise.
19640         * nis/nss_nis/nis-hosts.c: Likewise.
19641         * nis/nss_nis/nis-network.c: Likewise.
19642         * nis/nss_nis/nis-proto.c: Likewise.
19643         * nis/nss_nis/nis-pwd.c: Likewise.
19644         * nis/nss_nis/nis-rpc.c: Likewise.
19645         * nis/nss_nis/nis-service.c: Likewise.
19646         * nis/nss_nis/nis-spwd.c: Likewise.
19647         * nis/nss_nisplus/nisplus-alias.c: Likewise.
19648         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
19649         * nis/nss_nisplus/nisplus-grp.c: Likewise.
19650         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
19651         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
19652         * nis/nss_nisplus/nisplus-network.c: Likewise.
19653         * nis/nss_nisplus/nisplus-proto.c: Likewise.
19654         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
19655         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
19656         * nis/nss_nisplus/nisplus-service.c: Likewise.
19657         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
19658         * nis/ypclnt.c: Likewise.
19659         * nptl/libc_pthread_init.c: Likewise.
19660         * nss/getXXbyYY.c: Likewise.
19661         * nss/getXXent.c: Likewise.
19662         * nss/getXXent_r.c: Likewise.
19663         * nss/nss_db/db-XXX.c: Likewise.
19664         * nss/nss_db/db-netgrp.c: Likewise.
19665         * nss/nss_db/nss_db.h: Likewise.
19666         * nss/nss_files/files-XXX.c: Likewise.
19667         * nss/nss_files/files-alias.c: Likewise.
19668         * nss/nsswitch.c: Likewise.
19669         * posix/regex_internal.h: Likewise.
19670         * posix/wordexp.c: Likewise.
19671         * pwd/fgetpwent.c: Likewise.
19672         * resolv/res_hconf.c: Likewise.
19673         * resolv/res_libc.c: Likewise.
19674         * shadow/fgetspent.c: Likewise.
19675         * shadow/lckpwdf.c: Likewise.
19676         * shadow/sgetspent.c: Likewise.
19677         * socket/opensock.c: Likewise.
19678         * stdio-common/reg-modifier.c: Likewise.
19679         * stdio-common/reg-printf.c: Likewise.
19680         * stdio-common/reg-type.c: Likewise.
19681         * stdio-common/vfprintf.c: Likewise.
19682         * stdio-common/vfscanf.c: Likewise.
19683         * stdlib/abort.c: Likewise.
19684         * stdlib/cxa_atexit.c: Likewise.
19685         * stdlib/fmtmsg.c: Likewise.
19686         * stdlib/random.c: Likewise.
19687         * stdlib/setenv.c: Likewise.
19688         * string/strsignal.c: Likewise.
19689         * sunrpc/auth_none.c: Likewise.
19690         * sunrpc/bindrsvprt.c: Likewise.
19691         * sunrpc/create_xid.c: Likewise.
19692         * sunrpc/key_call.c: Likewise.
19693         * sunrpc/rpc_thread.c: Likewise.
19694         * sysdeps/arm/backtrace.c: Likewise.
19695         * sysdeps/generic/ldsodefs.h: Likewise.
19696         * sysdeps/generic/stdio-lock.h: Likewise.
19697         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
19698         * sysdeps/i386/backtrace.c: Likewise.
19699         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19700         * sysdeps/m68k/backtrace.c: Likewise.
19701         * sysdeps/mach/hurd/cthreads.c: Likewise.
19702         * sysdeps/mach/hurd/dirstream.h: Likewise.
19703         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19704         * sysdeps/nptl/malloc-machine.h: Likewise.
19705         * sysdeps/nptl/stdio-lock.h: Likewise.
19706         * sysdeps/posix/dirstream.h: Likewise.
19707         * sysdeps/posix/getaddrinfo.c: Likewise.
19708         * sysdeps/posix/system.c: Likewise.
19709         * sysdeps/pthread/aio_suspend.c: Likewise.
19710         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19711         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19712         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19713         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19714         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
19715         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
19716         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
19717         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19718         * sysdeps/unix/sysv/linux/system.c: Likewise.
19719         * sysdeps/x86_64/backtrace.c: Likewise.
19720         * time/alt_digit.c: Likewise.
19721         * time/era.c: Likewise.
19722         * time/tzset.c: Likewise.
19723         * wcsmbs/wcsmbsload.c: Likewise.
19724         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
19725         instead of <bits/libc-lock.h> in comment.
19727 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
19729         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
19730         Only use .set mips2 if the current ISA is below mips2.
19731         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
19732         Likewise.
19733         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
19734         mips32r2 if the current ISA is below mips32r2.
19735         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
19736         (TLS_IE): Updated to use the TLD_RDHWR macro.
19737         (TLS_LE): Likewise.
19738         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
19739         __ASSEMBLER__ condition.
19741 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19743         Fix parallel build of before-compile targets.
19745         * sysdeps/mach/Makefile ($(patsubst
19746         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
19747         mach-before-compile target.
19748         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19749         io fs process)): Move rule to dedicated hurd-before-compile target.
19751 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19753         Fix rules generating headers in hurd/ and mach/ when initial make call
19754         has subdir= explicitly set.
19756         * sysdeps/mach/Makefile ($(patsubst
19757         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
19758         calling $(MAKE).
19759         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19760         io fs process)): Force subdir to hurd when calling $(MAKE).
19761         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
19762         subdir to mach when calling $(MAKE).
19764 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
19766         Check sysheaders when looking for Mach and Hurd headers
19768         * sysdeps/mach/configure.ac: Add sysheaders check.
19769         * sysdeps/mach/configure: Regenerate.
19770         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
19771         * sysdeps/mach/hurd/configure: Regenerate.
19773 2015-09-04  Roland McGrath  <roland@hack.frob.com>
19775         [BZ #18921]
19776         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
19777         Fix inverted sense of test of 'o_directory_works' value.
19778         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
19779         Bernhard Voelker <mail@bernhard-voelker.de>.
19781 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
19783         [BZ #14912]
19784         * bits/linkmap.h: Move to ...
19785         * sysdeps/generic/linkmap.h: ...here.
19786         * sysdeps/aarch64/bits/linkmap.h: Move to ...
19787         * sysdeps/aarch64/linkmap.h: ...here.
19788         * sysdeps/arm/bits/linkmap.h: Move to ...
19789         * sysdeps/arm/linkmap.h: ...here.
19790         * sysdeps/hppa/bits/linkmap.h: Move to ...
19791         * sysdeps/hppa/linkmap.h: ...here.
19792         * sysdeps/ia64/bits/linkmap.h: Move to ...
19793         * sysdeps/ia64/linkmap.h: ...here.
19794         * sysdeps/mips/bits/linkmap.h: Move to ...
19795         * sysdeps/mips/linkmap.h: ...here.
19796         * sysdeps/s390/bits/linkmap.h: Move to ...
19797         * sysdeps/s390/linkmap.h: ...here.
19798         * sysdeps/sh/bits/linkmap.h: Move to ...
19799         * sysdeps/sh/linkmap.h: ...here.
19800         * sysdeps/x86/bits/linkmap.h: Move to ...
19801         * sysdeps/x86/linkmap.h: ...here.
19802         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
19804 2015-09-04  Andreas Schwab  <schwab@suse.de>
19806         [BZ #18635]
19807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
19808         (__makecontext): Terminate FDE before return label.
19809         (__novec_makecontext): Likewise.
19811 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19813         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
19814         first member of struct sv in syscall macro.
19816 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
19818         [BZ #14912]
19819         * bits/stdio-lock.h: Move to ...
19820         * sysdeps/generic/stdio-lock.h: ...here.
19821         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19822         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
19823         * sysdeps/nptl/stdio-lock.h: ...here.
19824         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19825         * include/libio.h: Include <stdio-lock.h> instead of
19826         <bits/stdio-lock.h>.
19827         * sysdeps/nptl/fork.c: Likewise.
19828         * sysdeps/pthread/flockfile.c: Likewise.
19829         * sysdeps/pthread/ftrylockfile.c: Likewise.
19830         * sysdeps/pthread/funlockfile.c: Likewise.
19832         [BZ #14912]
19833         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
19834         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
19835         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
19836         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
19837         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
19838         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19839         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
19841 2015-09-03  Roland McGrath  <roland@hack.frob.com>
19843         * elf/Makefile (test-xfail-tst-protected1a): New variable.
19844         (test-xfail-tst-protected1b): New variable.
19846 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
19848         [BZ #14912]
19849         * bits/libc-tsd.h: Move to ...
19850         * sysdeps/generic/libc-tsd.h: ...here.
19851         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
19852         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
19853         * sysdeps/mach/hurd/libc-tsd.h: ...here.
19854         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
19855         * include/ctype.h: Include <libc-tsd.h> instead of
19856         <bits/libc-tsd.h>.
19857         * include/rpc/rpc.h: Likewise.
19858         * locale/localeinfo.h: Likewise.
19859         * sunrpc/rpc_thread.c: Likewise.
19860         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19861         * sysdeps/nptl/malloc-machine.h: Likewise.
19863         * Makefile (headers): Remove bits/libc-lock.h.
19864         * libio/Makefile (headers): Remove bits/stdio-lock.h.
19866         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
19867         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
19868         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
19869         <bits/stdio-lock.h>.
19870         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
19871         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
19873 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19875         [BZ #18757]
19876         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
19877         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
19878         BZ #18757.
19880 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19882         * malloc/mtrace.pl: Filter out NULL entries.
19884 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
19886         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
19887         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
19888         macro.
19890         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
19891         (TCP_CC_INFO): Likewise.
19892         (TCP_SAVE_SYN): Likewise.
19893         (TCP_SAVED_SYN): Likewise.
19895 2015-08-31  Brett Neumeier <brett@neumeier.us>
19897         [BZ #18870]
19898         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
19900 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
19902         [BZ #18873]
19903         Fix broken overflow check in posix_fallocate
19904         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
19905         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19906         Fix parenthesization typo.
19908 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
19910         [BZ #18887]
19911         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
19912         tst-mntent-blank-passno.
19913         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
19914         * misc/tst-mntent-blank-corrupt.c: New test.
19915         * misc/tst-mntent-blank-passno.c: New test ripped from ...
19916         * misc/tst-mntent.c (do_test): ... here.
19918 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
19920         [BZ #4404]
19921         * po/de.po: Fix SIGALRM typo.
19923 2015-08-28  James Perkins  <james@loowit.net>
19925         * time/tst-strptime2.c (tests): Replace short list of test
19926         strings for strptime %z specifier with code which exhaustively
19927         tests every combination of sign and 0 to 5 digits. Tests for
19928         rejection of invalid strings.
19930 2015-08-28  James Perkins  <james@loowit.net>
19932         [BZ #16141]
19933         * time/strptime_l.c (__strptime_internal): Fix %z minutes
19934         calculation, removing incorrect decimal time rounding, so that
19935         all minute values result in a valid seconds value.
19936         * time/strptime_l.c (__strptime_internal): Extend %z time zone
19937         offset range limits to UTC-99:59 through UTC+99:59 to parse
19938         current and historical use cases.
19939         * time/tst-strptime2.c (tests): Modify and add tests for the
19940         strptime %z input field descriptor, specifically conversion of
19941         minutes to seconds and validating an offset range of -9959 to
19942         +9959.
19944 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19945             Dmitry V. Levin  <ldv@altlinux.org>
19947         [BZ #18877]
19948         * posix/Makefile (tests): Add tst-mmap-offset.
19949         * posix/tst-mmap.c: New file.
19950         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19951         offset calculation for negative values.
19953 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19955         * sysdeps/i386/init-arch.h: New file.
19956         * sysdeps/i386/i586/init-arch.h: Likewise.
19957         * sysdeps/i386/i686/init-arch.h: Likewise.
19958         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19959         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19960         * sysdeps/x86/cpu-features.h (bit_I586): New.
19961         (bit_I686): Likewise.
19962         (bit_CX8): Likewise.
19963         (bit_CMOV): Likewise.
19964         (index_CX8): Likewise.
19965         (index_CMOV): Likewise.
19966         (index_I586): Likewise.
19967         (index_I686): Likewise.
19968         (reg_CX8): Likewise.
19969         (reg_CMOV): Likewise.
19970         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19971         available at compile-time.
19972         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19973         available at compile-time.
19974         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19975         (USE_I686): Likewise.
19977 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19979         * sysdeps/i386/bcopy.S: New file.
19980         * sysdeps/i386/bzero.S: Likewise.
19981         * sysdeps/i386/memcpy.S: Likewise.
19982         * sysdeps/i386/memmove.S: Likewise.
19983         * sysdeps/i386/mempcpy.S: Likewise.
19984         * sysdeps/i386/memset.S: Likewise.
19985         * sysdeps/i386/bzero.c: Removed.
19986         * sysdeps/i386/memset.c: Likewise.
19987         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19988         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19989         * sysdeps/i386/i586/memset_chk.S: Likewise.
19990         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19991         * sysdeps/i386/memcpy_chk.S: Here.
19992         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19993         * sysdeps/i386/memmove_chk.S: Here.
19994         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19995         * sysdeps/i386/mempcpy_chk.S: Likewise.
19996         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19997         * sysdeps/i386/memset_chk.S: Likewise.
19999 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
20001         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20002         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20003         file, move DIAG_POP_NEEDS_COMMENT to end of file.
20004         * soft-fp/fmadf4.c: Ditto.
20005         * soft-fp/fmatf4.c: Ditto.
20007 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20009         * sysdeps/i386/i586/Implies: Removed.
20010         * sysdeps/i386/i686/Implies: Likewise.
20012 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20014         * sysdeps/i386/i486/strlen.S: Moved to ...
20015         * sysdeps/i386/strlen.S: Here.
20017 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20019         * sysdeps/i386/i486/strcat.S: Moved to ...
20020         * sysdeps/i386/strcat.S: Here.
20022 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20024         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20025         * sysdeps/i386/pthread_spin_trylock.S: Here.
20026         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20027         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20029 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20031         * sysdeps/i386/i486/string-inlines.c: Moved to ...
20032         * sysdeps/i386/string-inlines.c: Here.
20034 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20036         * sysdeps/i386/i486/htonl.S: Moved ...
20037         * sysdeps/i386/htonl.S: here.
20039 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20041         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20042         * sysdeps/i386/bits/atomic.h: Here.
20044 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20046         * sysdeps/i386/i486/Versions: Removed.
20048 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20050         [BZ #2898]
20051         * misc/mktemp.c: Add mkdtemp to the link_warning message.
20052         Based on patch by Aurelien Jarno.
20054 2015-08-26  Stan Shebs  <stanshebs@google.com>
20056         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20057         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20059 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20061         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20062         * sysdeps/powerpc/dl-procinfo.c:
20063         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20064         feature so it shows when LD_SHOW_AUXV=1.
20066 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20068         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20069         (__arch_compare_and_exchange_val_32_acq): Remove and use common
20070         definition.  ISA 2.07B no longer requires full sync.
20072 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
20074         [BZ #18863]
20075         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20076         (si_call_addr): Define.
20077         (si_syscall): Define.
20078         (si_arch): Define.
20080 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20082         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20083         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20084         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20085         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20086         (__memset_zero_constant_len_parameter): New.
20087         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20088         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20089         (__memset_zero_constant_len_parameter): Don't define if
20090         __memset_chk or USE_AS_BZERO are defined.
20092         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20093         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20094         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20096         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20097         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20098         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20099         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
20100         comments.
20101         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20102         -mno-mmx for $(all-rtld-routines).
20103         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20104         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
20105         i386.
20107 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20109         * sysdeps/generic/unwind.h
20110         (_Unwind_Word): Use __mode__(__unwind_word__)
20111         instead of __mode__(__word__).
20112         (_Unwind_Sword): Likewise.
20114         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20115         (MAX_NEEDED_INPUT): New define.
20116         (MAX_NEEDED_OUTPUT): New define.
20118         * NEWS: New item for IBM z13 string optimizations.
20120         * sysdeps/s390/multiarch/memrchr-c.c: New File.
20121         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20122         * sysdeps/s390/multiarch/memrchr.c: Likewise.
20123         * sysdeps/s390/multiarch/Makefile
20124         (sysdep_routines): Add memrchr functions.
20125         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20126         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20128         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20129         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20130         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20131         * sysdeps/s390/multiarch/Makefile
20132         (sysdep_routines): Add wmemcmp functions.
20133         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20134         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20135         * benchtests/bench-wmemcmp.c: New File.
20136         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20138         * sysdeps/s390/multiarch/wmemset-c.c: New File.
20139         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20140         * sysdeps/s390/multiarch/wmemset.c: Likewise.
20141         * sysdeps/s390/multiarch/Makefile
20142         (sysdep_routines): Add wmemset functions.
20143         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20144         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20145         * wcsmbs/wmemset.c: Use WMEMSET if defined.
20146         * string/test-memset.c: Add wmemset support.
20147         * wcsmbs/test-wmemset.c: New File.
20148         * wcsmbs/Makefile (strop-tests): Add wmemset.
20149         * benchtests/bench-memset.c: Add wmemset support.
20150         * benchtests/bench-wmemset.c: New File.
20151         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20153         * sysdeps/s390/multiarch/memccpy-c.c: New File.
20154         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20155         * sysdeps/s390/multiarch/memccpy.c: Likewise.
20156         * sysdeps/s390/multiarch/Makefile
20157         (sysdep_routines): Add memccpy functions.
20158         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20159         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20160         * string/memccpy.c: Use MEMCCPY if defined.
20162         * sysdeps/s390/multiarch/memchr-vx.S: New File.
20163         * sysdeps/s390/multiarch/memchr.c: Likewise.
20164         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20165         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20166         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20167         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20168         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20169         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20170         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20171         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20172         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20173         and rawmemchr functions.
20174         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20175         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20176         and wmemchr.
20177         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20178         * string/test-memchr.c: Add wmemchr support.
20179         * wcsmbs/test-wmemchr.c: New File.
20180         * wcsmbs/Makefile (strop-tests): Add wmemchr.
20181         * benchtests/bench-memchr.c: Add wmemchr support.
20182         * benchtests/bench-wmemchr.c: New File.
20183         * benchtests/Makefile (wcsmbs-bench): wmemchr.
20185         * sysdeps/s390/multiarch/strcspn-c.c: New File.
20186         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20187         * sysdeps/s390/multiarch/strcspn.c: Likewise.
20188         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20189         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20190         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20191         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20192         wcscspn functions.
20193         * sysdeps/s390/multiarch/ifunc-impl-list.c
20194         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20195         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20196         * string/test-strcspn.c: Add wcscspn support.
20197         * wcsmbs/test-wcscspn.c: New File.
20198         * wcsmbs/Makefile (strop-tests): Add wcscspn.
20199         * benchtests/bench-strcspn.c: Add wcscspn support.
20200         * benchtests/bench-wcscspn.c: New File.
20201         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20203         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20204         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20205         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20206         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20207         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20208         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20209         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20210         wcspbrk functions.
20211         * sysdeps/s390/multiarch/ifunc-impl-list.c
20212         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20213         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20214         * string/test-strpbrk.c: Add wcspbrk support.
20215         * wcsmbs/test-wcspbrk.c: New File.
20216         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20217         * benchtests/bench-strpbrk.c: Add wcspbrk support.
20218         * benchtests/bench-wcspbrk.c: New File.
20219         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20221         * sysdeps/s390/multiarch/strspn-c.c: New File.
20222         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20223         * sysdeps/s390/multiarch/strspn.c: Likewise.
20224         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
20225         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
20226         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
20227         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
20228         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
20229         wcsspn functions.
20230         * sysdeps/s390/multiarch/ifunc-impl-list.c
20231         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
20232         * string/test-strspn.c: Add wcsspn support.
20233         * wcsmbs/test-wcsspn.c: New File.
20234         * wcsmbs/Makefile (strop-tests): Add wcsspn.
20235         * benchtests/bench-strspn.c: Add wcsspn support.
20236         * benchtests/bench-wcsspn.c: New File.
20237         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
20239         * sysdeps/s390/multiarch/strrchr-c.c: New File.
20240         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
20241         * sysdeps/s390/multiarch/strrchr.c: Likewise.
20242         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
20243         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
20244         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
20245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
20246         wcsrchr functions.
20247         * sysdeps/s390/multiarch/ifunc-impl-list.c
20248         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
20249         * benchtests/bench-wcsrchr.c: New File.
20250         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
20252         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
20253         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
20254         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
20255         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
20256         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
20257         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
20258         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
20259         wcschrnul functions.
20260         * sysdeps/s390/multiarch/ifunc-impl-list.c
20261         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
20262         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
20263         * string/test-strchr.c: Add wcschrnul support.
20264         * wcsmbs/test-wcschrnul.c: New File.
20265         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
20266         * benchtests/bench-strchr.c: Add wcschrnul support.
20267         * benchtests/bench-wcschrnul.c: New File.
20268         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
20270         * sysdeps/s390/multiarch/strchr-c.c: New File.
20271         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
20272         * sysdeps/s390/multiarch/strchr.c: Likewise.
20273         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
20274         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
20275         * sysdeps/s390/multiarch/wcschr.c: Likewise.
20276         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
20277         wcschr functions.
20278         * sysdeps/s390/multiarch/ifunc-impl-list.c
20279         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
20280         * string/strchr.c (STRCHR): Define and use macro.
20281         * benchtests/bench-wcschr.c: New File.
20282         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
20284         * sysdeps/s390/multiarch/strncmp-c.c: New File.
20285         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
20286         * sysdeps/s390/multiarch/strncmp.c: Likewise.
20287         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
20288         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
20289         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
20290         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
20291         wcsncmp functions.
20292         * sysdeps/s390/multiarch/ifunc-impl-list.c
20293         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
20294         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
20295         * benchtests/bench-strncmp.c: Add wcsncmp support.
20296         * benchtests/bench-wcsncmp.c: New File.
20297         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
20299         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
20300         * sysdeps/s390/multiarch/strcmp.c: Likewise.
20301         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
20302         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
20303         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
20304         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
20305         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
20306         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
20307         wcscmp functions.
20308         * sysdeps/s390/multiarch/ifunc-impl-list.c
20309         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
20310         * string/strcmp.c (STRCMP): Define and use macro.
20311         * benchtests/bench-wcscmp.c: New File.
20312         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
20313         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
20314         instead of _HAVE_STRING_ARCH_memchr.
20316         * sysdeps/s390/multiarch/strncat-c.c: New File.
20317         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
20318         * sysdeps/s390/multiarch/strncat.c: Likewise.
20319         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
20320         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
20321         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
20322         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
20323         wcsncat functions.
20324         * sysdeps/s390/multiarch/ifunc-impl-list.c
20325         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
20326         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
20327         * string/test-strncat.c: Add wcsncat support.
20328         * wcsmbs/test-wcsncat.c: New File.
20329         * wcsmbs/Makefile (strop-tests): Add wcsncat.
20330         * benchtests/bench-strncat.c: Add wcsncat support.
20331         * benchtests/bench-wcsncat.c: New File.
20332         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
20334         * sysdeps/s390/multiarch/strcat-c.c: New File.
20335         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
20336         * sysdeps/s390/multiarch/strcat.c: Likewise.
20337         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
20338         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
20339         * sysdeps/s390/multiarch/wcscat.c: Likewise.
20340         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
20341         wcscat functions.
20342         * sysdeps/s390/multiarch/ifunc-impl-list.c
20343         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
20344         * string/strcat.c (STRCAT): Define and use macro.
20345         * wcsmbs/wcscat.c: Use WCSCAT if defined.
20346         * string/test-strcat.c: Add wcscat support.
20347         * wcsmbs/test-wcscat.c: New File.
20348         * wcsmbs/Makefile (strop-tests): Add wcscat.
20349         * benchtests/bench-strcat.c: Add wcscat support.
20350         * benchtests/bench-wcscat.c: New File.
20351         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
20353         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
20354         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
20355         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
20356         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
20357         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
20358         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
20359         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
20360         wcpncpy functions.
20361         * sysdeps/s390/multiarch/ifunc-impl-list.c
20362         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
20363         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
20364         * string/test-stpncpy.c: Add wcpncpy support.
20365         * wcsmbs/test-wcpncpy.c: New File.
20366         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
20367         * benchtests/bench-stpncpy.c: Add wcpncpy support.
20368         * benchtests/bench-wcpncpy.c: New File.
20369         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
20371         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
20372         * sysdeps/s390/multiarch/strncpy.c: Likewise.
20373         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
20374         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
20375         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
20376         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
20377         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
20378         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
20379         wcsncpy functions.
20380         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
20381         * sysdeps/s390/multiarch/ifunc-impl-list.c
20382         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
20383         * string/test-strncpy.c: Add wcsncpy support.
20384         * wcsmbs/test-wcsncpy.c: New File.
20385         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
20386         * benchtests/bench-strncpy.c: Add wcsncpy support.
20387         * benchtests/bench-wcsncpy.c: New File.
20388         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
20390         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
20391         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
20392         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
20393         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
20394         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
20395         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
20396         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
20397         wcpcpy functions.
20398         * string/stpcpy.c: Use STPCPY if defined.
20399         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
20400         * sysdeps/s390/multiarch/ifunc-impl-list.c
20401         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
20402         * string/test-stpcpy.c: Add wcpcpy support.
20403         * wcsmbs/test-wcpcpy.c: New File.
20404         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
20405         * benchtests/bench-stpcpy.c: Add wcpcpy support.
20406         * benchtests/bench-wcpcpy.c: New File.
20407         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
20409         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
20410         * sysdeps/s390/multiarch/strcpy.c: Likewise.
20411         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
20412         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
20413         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
20414         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
20415         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
20416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
20417         wcscpy functions.
20418         * sysdeps/s390/multiarch/ifunc-impl-list.c
20419         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
20420         * benchtests/bench-wcscpy.c: New File.
20421         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
20423         * sysdeps/s390/multiarch/strnlen-c.c: New File.
20424         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
20425         * sysdeps/s390/multiarch/strnlen.c: Likewise.
20426         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
20427         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
20428         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
20429         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
20430         wcsnlen functions.
20431         * sysdeps/s390/multiarch/ifunc-impl-list.c
20432         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
20433         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
20434         * string/test-strnlen.c: Add wcsnlen support.
20435         * wcsmbs/test-wcsnlen.c: New File.
20436         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
20437         * benchtests/bench-strnlen.c: Add wcsnlen support.
20438         * benchtests/bench-wcsnlen.c: New File.
20439         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
20441         * sysdeps/s390/multiarch/Makefile: New File.
20442         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
20443         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
20444         * sysdeps/s390/multiarch/strlen.c: Likewise.
20445         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
20446         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
20447         * sysdeps/s390/multiarch/wcslen.c: Likewise.
20448         * string/strlen.c (STRLEN): Define and use macro.
20449         * sysdeps/s390/multiarch/ifunc-impl-list.c
20450         (IFUNC_VX_IMPL): New macro function.
20451         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
20452         * benchtests/Makefile (wcsmbs-bench): New variable.
20453         (string-bench-all): Added wcsmbs-bench.
20454         * benchtests/bench-wcslen.c: New File.
20456         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
20457         s390_vx_libc_ifunc2): New macro function.
20459         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
20460         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
20461         assembler support.
20462         * sysdeps/s390/configure: Regenerated.
20464         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
20465         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
20467         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
20468         * sysdeps/s390/dl-procinfo.h: Add vector capability.
20469         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
20471         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
20472         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
20473         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
20474         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
20475         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
20476         (memcmp, bcmp): Use __memcmp_default as alias source.
20477         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
20478         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
20479         Rename to __memcmp_default.
20480         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
20481         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
20482         (memcpy): Use __memcpy_default as alias source.
20483         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
20484         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
20485         Rename to __memcpy_default.
20486         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
20487         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
20488         (memset): Use __memset_default as alias source.
20489         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
20490         * sysdeps/s390/s390-32/memset.S (__memset_g5):
20491         Rename to __memset_default.
20492         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
20493         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
20494         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
20495         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
20496         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
20497         (memcmp, bcmp): Use __memcmp_default as alias source.
20498         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
20499         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
20500         Rename to __memcmp_default.
20501         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
20502         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
20503         (memcpy): Use __memcpy_default as alias source.
20504         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
20505         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
20506         Rename to __memcpy_default.
20507         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
20508         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
20509         (memset): Use __memset_default as alias source.
20510         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
20511         * sysdeps/s390/s390-64/memset.S (__memset_z900):
20512         Rename to __memset_default.
20513         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
20514         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
20516         [BZ #18610]
20517         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
20518         __ieee_instruction_pointer to __unused.
20519         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
20520         __ieee_instruction_pointer.
20521         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
20522         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
20523         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20524         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20525         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
20526         Mark dxc-field as reserved.
20528 2015-08-25  Roland McGrath  <roland@hack.frob.com>
20530         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
20531         if the weak reference is not null.
20533 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20535         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
20537         [BZ #11214]
20538         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
20540 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20542         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
20543         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
20544         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
20545         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
20546         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
20547         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
20548         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
20549         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
20550         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
20551         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
20552         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
20553         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
20554         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
20555         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
20556         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
20557         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
20558         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
20559         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
20561 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20563         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
20564         register other than r0 for tabort, it has special meaning.
20565         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
20566         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
20567         transaction before starting syscall.
20569 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20571         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
20573 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20575         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
20577         * sysdeps/x86_64/rtld-memcmp.c: Removed.
20578         * sysdeps/x86_64/rtld-memset.S: Likewise.
20579         * sysdeps/x86_64/rtld-strchr.S: Likewise.
20580         * sysdeps/x86_64/rtld-strlen.S: Likewise.
20581         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
20582         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20584         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
20586 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
20588         * debug/strcpy_chk.c: Improve performance.
20589         * debug/stpcpy_chk.c: Likewise.
20590         * sysdeps/x86_64/strcpy_chk.S: Remove.
20591         * sysdeps/x86_64/stpcpy_chk.S: Remove.
20593         [BZ #18240]
20594         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
20596 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20598         [BZ #15128]
20599         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
20600         ifuncmain8.
20601         (modules-names): Add ifuncmod8.
20602         ($(objpfx)ifuncmain8): New rule.
20603         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
20604         <cpuid.h>.
20605         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
20606         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
20607         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
20608         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
20609         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
20610         * sysdeps/x86_64/dl-trampoline.h: Likewise.
20611         * sysdeps/x86_64/ifuncmain8.c: New file.
20612         * sysdeps/x86_64/ifuncmod8.c: Likewise.
20613         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
20614         Removed.
20615         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
20616         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
20617         Change rtld_savespace_sse to __glibc_unused2.
20618         (RTLD_CHECK_FOREIGN_CALL): Removed.
20619         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
20620         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
20621         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
20623 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
20625         * sysdeps/aarch64/bzero.S (__bzero): Remove.
20627 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
20629         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
20630         Unconditionally set __fpcr to avoid uninialized warning.
20631         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
20633 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20635         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
20636         is corrupt.
20638         * malloc/arena.c (arena_get2): Drop unused argument.
20639         (arena_lock): Adjust.
20640         (arena_get_retry): Likewise.
20642 2015-08-24  Andreas Schwab  <schwab@suse.de>
20644         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
20645         Don't define.
20646         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20647         (__ASSUME_IPC64): Don't undef.
20648         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
20649         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20650         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20651         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
20652         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
20653         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
20654         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
20655         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
20656         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
20657         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
20658         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
20659         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
20660         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
20661         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
20662         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
20663         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
20664         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
20665         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
20666         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
20667         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
20668         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
20670 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
20672         * manual/Makefile (install): Only build manual when perl is available.
20674 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20676         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
20677         '#undef memcpy' by '#undef memchr'.
20679 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20681         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
20682         memchr not point to the internal __GI_memchr implementation.
20684 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
20686         * timezone/Makefile (CFLAGS-zdump.c): Remove
20687         -Wno-strict-prototypes.
20688         (CFLAGS-zic.c): Likewise.
20689         (CFLAGS-ialloc.c): Likewise.
20690         (CFLAGS-scheck.c): Likewise.
20692         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
20693         -Wno-error=undef.
20695 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20697         * i386/i686/multiarch/strcasestr-c.c: Removed.
20698         * x86_64/multiarch/strcasestr.c: Likewise.
20699         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20700         Remove strcasestr.
20702 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
20704         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
20706         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
20707         variables for high and low parts before possibly modifying them.
20709 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20711         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
20712         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
20713         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
20714         of "multiarch/init-arch.h".
20715         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
20716         * sysdeps/x86/init-arch.h: This.
20718 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20720         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
20721         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
20723 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
20725         [BZ #17787]
20726         * manual/macros.texi: Add twoexp macro.
20727         * manual/filesys.texi: Fix exponents.
20728         * manual/llio.texi: Likewise.
20729         * manual/stdio.texi: Likewise.
20731 2015-08-20  Florian Weimer  <fweimer@redhat.com>
20733         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
20734         incorrect use.
20736 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
20738         [BZ #18370]
20739         * math/s_csqrt.c (__csqrt): Force underflow exception for results
20740         whose real or imaginary part has small absolute value.
20741         * math/s_csqrtf.c (__csqrtf): Likewise.
20742         * math/s_csqrtl.c (__csqrtl): Likewise.
20743         * math/auto-libm-test-in: Add more tests of csqrt.
20744         * math/auto-libm-test-out: Regenerated.
20745         * sysdeps/i386/fpu/libm-test-ulps: Update.
20747 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20749         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
20750         __ppc_set_ppr_very_low): New functions.
20751         * manual/platform.texi: Add documentation about
20752         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
20754 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
20756         * string/stpncpy.c (stpncpy): Improve performance using
20757         __strnlen/memcpy/memset.
20759 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20761         [BZ #18796]
20762         * scripts/test-installation.pl: Don't add -lmvec to build options if
20763         libmvec wasn't built.
20765 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20767         [BZ #14341]
20768         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
20769         case when there is a gap between DT_REL and DT_JMPREL sections.
20770         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
20771         (LDFLAGS-tst-split-dynreloc): New.
20772         (tst-split-dynreloc-ENV): Likewise.
20773         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
20774         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
20776 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20778         [BZ #18822]
20779         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
20780         attribute_hidden.
20781         (__xstat64_conv): Likewise.
20782         (__xstat32_conv): Likewise.
20784 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20786         [BZ #18822]
20787         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20788         Don't load %ebx when calling __setcontext.  Call __setcontext
20789         with HIDDEN_JUMPTARGET.
20790         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
20791         libc_hidden_def.
20793 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20795         * sysdeps/i386/i686/Makefile
20796         [$(subdir) == string] (sysdep_routines): Moved to ...
20797         * sysdeps/i386/Makefile: Here.
20798         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
20799         * sysdeps/i386/cacheinfo.c: Here.
20800         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
20801         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
20802         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
20803         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
20805 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20807         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
20808         __i586__ is defined.
20809         (HAS_I686): Defined to 1 if __i686__ is defined.
20811 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
20813         * elf/Makefile [$(have-z-execstack) = yes]
20814         (CPPFLAGS-tst-execstack.c): New variable.
20816         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
20817         conditional to [defined UTMPX || _HAVE_UT_TYPE].
20818         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
20819         UTMPX || _HAVE_UT_TV].
20820         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
20821         UTMPX || _HAVE_UT_TV - 0].
20823 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
20825         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
20826         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
20827         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
20829 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20831         * sysdeps/powerpc/dl-procinfo.c:
20832         (_dl_powerpc_cap_flags): Added missing strings for some
20833         hwcap features.
20834         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
20836 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
20838         Port the 0x7efe...feff pattern to GCC 6.
20839         See Steve Ellcey's bug report in:
20840         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
20841         * string/memrchr.c (MEMRCHR):
20842         * string/rawmemchr.c (RAWMEMCHR):
20843         * string/strchr.c (strchr):
20844         * string/strchrnul.c (STRCHRNUL):
20845         Rewrite code to avoid issues with signed shift overflow.
20847 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
20849         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
20850         whether cpuid is available only if HAS_CPUID is 0.
20851         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
20852         (HAS_I586): Likewise.
20853         (HAS_I686): Likewise.
20855 2015-08-18  Zack Weinberg  <zackw@panix.com>
20857         * misc/Versions (libc): Add GLIBC_2.23.
20859 2015-08-18  Alan Modra  <amodra@gmail.com>
20861         [BZ #18421]
20862         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
20863         .Lp__global.
20864         (_start): Load %dp via .Lp__global.
20865         [!SHARED]: Use .section .rodata.
20867 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20869         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
20870         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
20872 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20874         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
20875         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
20877 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20879         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
20880         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
20882 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20884         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
20885         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
20887 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20889         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
20890         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
20892 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20894         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
20895         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
20897 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20899         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
20901 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20903         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
20904         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
20905         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20906         (__ASSUME_LWS_CAS): Delete.
20908 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20910         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
20911         * sysdeps/hppa/configure: Regenerated.
20912         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
20913         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
20914         * sysdeps/hppa/nptl/tls.h: Likewise.
20916 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
20918         [BZ #18823]
20919         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
20920         for scaling up small arguments.
20921         * math/s_csqrtf.c (__csqrtf): Likewise.
20922         * math/s_csqrtl.c (__csqrtl): Likewise.
20923         * math/auto-libm-test-in: Add more tests of csqrt.
20924         * math/auto-libm-test-out: Regenerated.
20926 2015-08-17  Andreas Schwab  <schwab@suse.de>
20928         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
20929         version set GLIBC_2.19.
20931 2015-08-16  Zack Weinberg  <zackw@panix.com>
20933         [BZ #18681]
20934         * misc/regexp.h: This interface is no longer supported.
20935         Remove all contents, leaving only an #error directive.
20936         * misc/regexp.c (loc1, loc2, locs, step, advance):
20937         Demote to compatibility symbols.
20939 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
20941         [BZ #18084]
20942         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20943         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20944         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20945         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20946         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20947         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20948         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20949         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20950         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20952 2015-08-15  Zack Weinberg  <zackw@panix.com>
20954         [BZ #18795]
20955         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20956         buffer length is known to be too large, not if it's known to be
20957         small enough.
20958         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20959         overflow at runtime, involving a length parameter, twice: once
20960         with a compile-time constant length parameter, once without.
20962 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20964         [BZ #18824]
20965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20966         scaling x * y up instead of down.
20967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20969         * math/auto-libm-test-in: Add more tests of fma.
20970         * math/auto-libm-test-out: Regenerated.
20972 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20974         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20976 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20978         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20979         unnecessary movq.
20980         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20981         Likewise.
20983 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20985         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20986         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20987         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20988         and tgamma.
20989         * math/auto-libm-test-out: Regenerated.
20990         * sysdeps/i386/fpu/libm-test-ulps: Update.
20991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20993         [BZ #16520]
20994         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20995         (__tanh): Force underflow exception for arguments with small
20996         absolute value.
20997         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20998         (__tanhf): Force underflow exception for arguments with small
20999         absolute value.
21000         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21001         (__tanhl): Force underflow exception for arguments with small
21002         absolute value.
21003         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21004         (__tanhl): Force underflow exception for arguments with small
21005         absolute value.
21006         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21007         (__tanhl): Force underflow exception for arguments with small
21008         absolute value.
21009         * math/auto-libm-test-in: Add more tests of tanh.
21010         * math/auto-libm-test-out: Regenerated.
21011         * sysdeps/i386/fpu/libm-test-ulps: Update.
21013 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21015         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21016         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21018 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21020         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21021         <cpuid.h>.
21023 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21025         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21026         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21028 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21030         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21031         Remove $(objpfx)init-arch.o.
21032         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21033         init-arch.
21034         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21035         (INIT_ARCH_EXT): Defined as empty.
21036         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21037         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21038         __init_cpu_features call.  Replace HAS_XXX with
21039         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21040         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21041         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21042         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21043         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21044         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21045         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21046         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21047         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21048         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21049         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21050         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21051         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21052         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21053         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21054         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21055         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21056         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21057         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21058         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21059         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21060         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21061         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21062         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21063         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21064         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21065         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21066         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21067         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21068         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21069         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21070         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21073         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21074         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21076 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21078         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21079         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21080         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21081         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21082         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21083         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21084         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21085         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21086         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21087         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21088         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21089         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
21090         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21091         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21092         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21093         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21094         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21095         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21096         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21097         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21098         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21099         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21100         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21101         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21102         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21103         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21104         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21105         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21106         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21107         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21108         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21109         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21110         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21111         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21112         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21113         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21114         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21115         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21116         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21117         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21118         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21119         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21120         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21122 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21124         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21125         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21126         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21127         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21128         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21129         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21130         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21131         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21132         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21133         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21134         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21135         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21136         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21137         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21138         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21139         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21140         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21141         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21142         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21143         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21145         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21146         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21147         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21148         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21149         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21150         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21151         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
21152         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21153         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21154         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21155         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21156         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21157         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21158         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21159         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21160         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21161         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21162         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21163         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21164         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21165         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21166         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21168 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21170         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21171         (dl_platform_init): Call init_cpu_features.
21172         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21173         * sysdeps/i386/i686/cacheinfo.c
21174         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21175         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21176         * sysdeps/i386/i686/multiarch/Versions: Removed.
21177         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21178         Removed.
21179         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21180         * sysdeps/unix/sysv/linux/x86/Makefile
21181         (libpthread-sysdep_routines): Remove init-arch.
21182         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21183         <sysdeps/x86_64/dl-procinfo.c> instead of
21184         sysdeps/generic/dl-procinfo.c>.
21185         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21186         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21187         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21188         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21189         [$(subdir) == elf] (tests-static): Add
21190         tst-get-cpu-features-static.
21191         * sysdeps/x86/Versions: New file.
21192         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21193         * sysdeps/x86/cpu-features.c: Likewise.
21194         * sysdeps/x86/cpu-features.h: Likewise.
21195         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21196         * sysdeps/x86/libc-start.c: Likewise.
21197         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21198         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21199         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21200         * sysdeps/x86_64/dl-procinfo.c: Likewise.
21201         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21202         Assume USE_MULTIARCH is defined and don't check it.
21203         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21204         (is_amd): Likewise.
21205         (max_cpuid): Likewise.
21206         (intel_check_word): Likewise.
21207         (__cache_sysconf): Don't call __init_cpu_features.
21208         (__x86_preferred_memory_instruction): Removed.
21209         (init_cacheinfo): Don't call __init_cpu_features. Replace
21210         __cpu_features with GLRO(dl_x86_cpu_features).
21211         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21212         (dl_platform_init): Call init_cpu_features.
21213         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21214         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21215         * sysdeps/x86_64/multiarch/Versions: Removed.
21216         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21217         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21218         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21219         Removed.
21220         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21222 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21224         [BZ #18820]
21225         * libio/Makefile (test-fmemopen-mem): New test.
21226         * libio/test-fmemopen.c (do_bz18820): New test.
21227         * libio/fmemopen.c (__fmemopen): Fix memory leak.
21228         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
21230 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21232         [BZ #16734]
21233         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
21234         (FREE_BUF): Delete.
21235         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
21236         * libio/genops.c (_IO_setb): Use malloc and free directly.
21237         (_IO_default_doallocate, _IO_default_finish): Likewise.
21238         ( _IO_unbuffer_all): Likewise.
21239         ( libc_freeres_fn): Likewise.
21240         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21241         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21242         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
21243         (_IO_wdefault_doallocate): Likewise.
21245 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21247         [BZ #18086]
21248         * sysdeps/posix/nice.c (nice): Restore old errno.
21249         * posix/tst-nice.c (do_test): Add test for BZ #18086.
21251 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
21253         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
21255 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21257         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
21258         __bcopy and add a weak_alias to bcopy.
21259         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
21260         for static build.
21262         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
21263         cleanup macro usage.
21264         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
21265         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
21266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21267         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
21268         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21269         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
21270         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
21271         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21272         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21273         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
21274         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21275         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
21276         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21277         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
21278         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21279         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
21280         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
21281         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
21282         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21284         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
21285         libc_hidden_def.
21286         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
21288         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
21289         (sysdep_routines): Add strstr-ppc64.
21290         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
21292 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
21294         [BZ #18778]
21295         * elf/Makefile (tests): Add Add tst-nodelete2.
21296         (modules-names): Add tst-nodelete2mod.
21297         (tst-nodelete2mod.so-no-z-defs): New.
21298         ($(objpfx)tst-nodelete2): Likewise.
21299         ($(objpfx)tst-nodelete2.out): Likewise.
21300         (LDFLAGS-tst-nodelete2): Likewise.
21301         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
21302         out of loop through all loaded libraries.
21303         * elf/tst-nodelete2.c: New file.
21304         * elf/tst-nodelete2mod.c: Likewise.
21305         * elf/tst-znodelete-zlib.cc: Delete.
21307 2015-08-11  Andreas Schwab  <schwab@suse.de>
21309         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
21310         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
21311         (__openat64_nocancel): Likewise.
21313 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
21315         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
21316         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
21317         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
21318         * math/auto-libm-test-out: Regenerated.
21319         * sysdeps/i386/fpu/libm-test-ulps: Update.
21320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21322 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
21324         [BZ #18790]
21325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
21326         threshold for returning +/- 1.
21327         * math/auto-libm-test-in: Add more tests of tanh.
21328         * math/auto-libm-test-out: Regenerated.
21329         * sysdeps/i386/fpu/libm-test-ulps: Update.
21331 2015-08-10  Andreas Schwab  <schwab@suse.de>
21333         [BZ #18781]
21334         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
21335         MORE_OFLAGS to oflag.
21336         * io/test-lfs.c (do_test): Test openat64.
21338 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
21340         [BZ #18789]
21341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
21342         smaller threshold for returning the argument.
21343         * math/auto-libm-test-in: Add more tests of sinh.
21344         * math/auto-libm-test-out: Regenerated.
21345         * sysdeps/i386/fpu/libm-test-ulps: Update.
21347 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21349         [BZ #18674]
21350         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
21351         break.
21353 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
21355         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
21356         (generated): Don't add $(addprefix z.,$(tzfiles)).
21358 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
21360         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
21361         * scripts/sysd-rules.awk: Likewise.
21363 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
21365         * iconvdata/tst-tables.sh: Change echo -n to printf.
21366         * nss/db-Makefile: Likewise.
21367         * posix/tst-getconf.sh: Likewise.
21368         * stdio-common/tst-unbputc.sh: Likewise.
21370 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
21372         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
21373         MADV_*_PAGES defines behind this feature check.
21375 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
21377         [BZ #18480]
21378         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
21379         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
21380         Define.
21381         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
21382         LOAD_REGS_5, LOAD_REGS_6): Update.
21383         (INTERNAL_SYSCALL): Update using new LOAD defines.
21384         (INTERNAL_SYSCALL_NCS): Likewise.
21385         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
21387 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21389         [BZ #16734]
21390         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
21392 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21394         [BZ #17905]
21395         * catgets/Makefile (tst-catgets-mem): New test.
21396         * catgets/catgets.c (catopen): Don't use unbounded alloca.
21397         * catgets/open_catalog.c (__open_catalog): Likewise.
21398         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
21400 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
21402         [BZ #18787]
21403         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
21404         clobber registers.
21405         (atomic_compare_and_exchange_val_acq): Use register asms to assign
21406         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
21407         Cast return to __typeof (oldval).
21409 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
21411         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
21412         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
21413         and delete sys/syscall.h include.
21415 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
21417         [BZ #16517]
21418         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
21419         (tan): Force underflow exception for arguments with small absolute
21420         value.
21421         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
21422         (__kernel_tanf): Force underflow exception for arguments with
21423         small absolute value.
21424         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
21425         (__kernel_tanl): Force underflow exception for arguments with
21426         small absolute value.
21427         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
21428         (__kernel_tanl): Force underflow exception for arguments with
21429         small absolute value.
21430         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
21431         (__kernel_tanl): Force underflow exception for arguments with
21432         small absolute value.
21433         * math/auto-libm-test-in: Add more tests of tan.
21434         * math/auto-libm-test-out: Regenerated.
21436 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21438         Fix sysdeps/i386/fpu/s_scalbn.S build
21440         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
21442 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
21444         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21446 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21448         Fix gcrt0.o compilation
21450         When static-start-installed-name is different from
21451         start-installed-name, we must not use the shared objects.
21453         * csu/Makefile
21454         (extra-objs): Add gmon-start.o when building shared library and
21455         $(static-start-installed-name) is different from
21456         $(start-installed-name).
21457         $(objpfx)g$(static-start-installed-name): When building shared
21458         library and $(static-start-installed-name) is different from
21459         $(static-start-installed-name), revert to non-shared rule,
21460         i.e. using $(objpfx)% and gmon-start.o.
21462 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
21464         [BZ #16519]
21465         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
21466         (__ieee754_sinh): Force underflow exception for arguments with
21467         small absolute value.
21468         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
21469         (__ieee754_sinhf): Force underflow exception for arguments with
21470         small absolute value.
21471         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
21472         (__ieee754_sinhl): Force underflow exception for arguments with
21473         small absolute value.
21474         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
21475         (__ieee754_sinhl): Force underflow exception for arguments with
21476         small absolute value.
21477         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
21478         (__ieee754_sinhl): Force underflow exception for arguments with
21479         small absolute value.
21480         * math/auto-libm-test-in: Add more tests of sinh.
21481         * math/auto-libm-test-out: Regenerated.
21482         * sysdeps/i386/fpu/libm-test-ulps: Update.
21484 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21486         * libio/oldfileops.c: Include unistd.h.
21488 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
21490         * stdlib/isomac.c: Include ctype.h.
21492 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
21494         * dirent/tst-seekdir.c (main): Converted to ...
21495         (do_test): ... this.
21496         (TEST_FUNCTION): New macro.
21497         Include test-skeleton.c.
21498         * elf/tst-dlmodcount.c (main): Converted to ...
21499         (do_test): ... this.
21500         (TEST_FUNCTION): New macro.
21501         Include test-skeleton.c.
21502         * elf/tst-order-main.c (main): Converted to ...
21503         (do_test): ... this.
21504         (TEST_FUNCTION): New macro.
21505         Include test-skeleton.c.
21506         * elf/tst-pie2.c (main): Converted to ...
21507         (do_test): ... this.
21508         (TEST_FUNCTION): New macro.
21509         Include test-skeleton.c.
21510         * inet/tst-ether_aton.c (main): Converted to ...
21511         (do_test): ... this.
21512         (TEST_FUNCTION): New macro.
21513         Include test-skeleton.c.
21514         * misc/tst-mntent.c (main): Converted to ...
21515         (do_test): ... this.
21516         (TEST_FUNCTION): New macro.
21517         Include test-skeleton.c.
21518         * misc/tst-tsearch.c (main): Converted to ...
21519         (do_test): ... this.
21520         (TEST_FUNCTION): New macro.
21521         Include test-skeleton.c.
21522         * posix/tst-regexloc.c (main): Converted to ...
21523         (do_test): ... this.
21524         (TEST_FUNCTION): New macro.
21525         Include test-skeleton.c.
21526         * resolv/tst-aton.c (main): Converted to ...
21527         (do_test): ... this.
21528         (TEST_FUNCTION): New macro.
21529         Include test-skeleton.c.
21530         * stdio-common/test-fwrite.c (main): Converted to ...
21531         (do_test): ... this.
21532         (TEST_FUNCTION): New macro.
21533         Include test-skeleton.c.
21534         * stdio-common/tst-ferror.c (main): Converted to ...
21535         (do_test): ... this.
21536         (TEST_FUNCTION): New macro.
21537         Include test-skeleton.c.
21538         * stdio-common/tst-printf.c (main): Converted to ...
21539         (do_test): ... this.
21540         (TEST_FUNCTION): New macro.
21541         Include test-skeleton.c.
21542         * stdio-common/tst-printfsz.c (main): Converted to ...
21543         (do_test): ... this.
21544         (TEST_FUNCTION): New macro.
21545         Include test-skeleton.c.
21546         * stdlib/tst-strtod.c (main): Converted to ...
21547         (do_test): ... this.
21548         (TEST_FUNCTION): New macro.
21549         Include test-skeleton.c.
21550         * string/tst-strlen.c (main): Converted to ...
21551         (do_test): ... this.
21552         (TEST_FUNCTION): New macro.
21553         Include test-skeleton.c.
21554         * string/tst-svc.c (main): Converted to ...
21555         (do_test): ... this.
21556         (TEST_FUNCTION): New macro.
21557         Include test-skeleton.c.
21558         * time/tst-strptime.c (main): Converted to ...
21559         (do_test): ... this.
21560         (TEST_FUNCTION): New macro.
21561         Include test-skeleton.c.
21562         * timezone/tst-timezone.c (main): Converted to ...
21563         (do_test): ... this.
21564         (TEST_FUNCTION): New macro.
21565         Include test-skeleton.c.
21567 2015-08-05  Zack Weinberg  <zackw@panix.com>
21569         * misc/regexp.h: Update comments.
21571 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
21573         [BZ #18635]
21574         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
21575         before return label.
21577 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21579         [BZ #18661]
21580         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
21581         when calling __errno_location.
21582         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
21583         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
21585 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21587         [BZ #18661]
21588         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
21589         (__lll_timedwait_tid): Align stack to 16 bytes when calling
21590         __gettimeofday.
21592 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21594         [BZ #18661]
21595         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21596         (__start_context): Don't use pop to restore %rdi so that stack
21597         is aligned to 16 bytes when calling __setcontext.
21599 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21601         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
21602         only for libc.
21603         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21605 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21607         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
21608         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
21609         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
21611 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21613         * string/memccpy.c (memccpy):
21614         Improve performance by using memchr/memcpy/__mempcpy.
21616 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21618         * string/strncpy.c (strncpy):
21619         Improve performance by using __strnlen/memcpy.
21621 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21623         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21624         Optimize to avoid an unnecessary FPCR read.
21626 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21628         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21629         Optimize to reduce FPCR/FPSR accesses.
21631 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21633         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
21634         dead->data[category] != NULL.
21636 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
21638         [BZ #18647]
21639         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
21640         and |x| close to 1, use absolute value of x when computing log.
21641         * math/auto-libm-test-in: Add more tests of pow.
21642         * math/auto-libm-test-out: Regenerated.
21644 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21646         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
21647         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
21648         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
21650 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
21652         [BZ #18525]
21653         * locales/km_KH: Remove timezone definition.
21654         * locales/lo_LA: Likewise.
21655         * locales/my_MM: Likewise.
21656         * locales/nan_TW@latin: Likewise.
21657         * locales/th_TH: Likewise.
21658         * locales/uk_UA: Likewise.
21660 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21662         [BZ #18265]
21663         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
21664         (wcsncat): Likewise.
21665         (wcscmp): Likewise.
21666         (wcsncmp): Likewise.
21668 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21670         * test-skeleton.c (usage): New function.
21671         (main): Call usage when opt is '?'.
21673 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21675         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
21676         before first use.
21678 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21680         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
21681         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
21682         in there too.
21684 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
21686         * version.h (RELEASE): Set to "development".
21687         (VERSION): Set to "2.22.90"
21689         * version.h (RELEASE): Set to "stable".
21690         (VERSION): Set to "2.22"
21691         * include/features.h (__GLIBC_MINOR__): Set to 22.
21693 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
21695         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
21696         Restructure macro to avoid "value computed is not used" warning.
21697         (atomic_compare_and_exchange_val_acq): Likewise.
21699 2015-08-04  Andreas Schwab  <schwab@suse.de>
21701         [BZ #18635]
21702         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
21703         ret.
21704         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
21706 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
21708         * po/pl.po: Updated translation.
21709         * po/uk.po: Likewise.
21710         * po/fi.po: Likewise.
21711         * po/ko.po: Likewise.
21712         * po/ru.po: Likewise.
21713         * po/vi.po: Likewise.
21715 2015-07-31  Zack Weinberg  <zackw@panix.com>
21717         [BZ #18681]
21718         * regexp.h: Add unconditional #warning stating that this header
21719         will be removed soon.  Revise banner comment to match.
21720         (compile): Consistently use ERROR instead of RETURN to report
21721         errors (partial fix for bz#18681).
21722         * regexp.c: Don't include regexp.h. Remove some unnecessary
21723         declarations.
21725 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
21727         * po/libc.pot: Regenerated.
21729 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21731         [BZ #18740]
21732         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
21733         float-vlen4-arch-ext-cflags): Removed.
21734         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
21735         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
21737 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21739         [BZ #14113]
21740         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
21741         aligned to __aligned__.
21742         (pthread_cond_t, pthread_rwlock_t): Likewise.
21744 2015-07-30  Torvald Riegel  <triegel@redhat.com>
21746         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
21748 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21750         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
21751         (struct sigaction): Change sa_flags from a long to an int, and add
21752         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
21754 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21756         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
21757         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
21758         sysdeps/generic/sysdep.h include.
21759         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
21760         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
21761         sysdeps/hppa/sysdep.h.
21762         (ENTRY, PSEUDO): Undefine before defining.
21764 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21766         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
21767         from scratch to use INTERNAL_SYSCALL.
21769 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
21771         [BZ #18078]
21772         * scripts/check-localplt.awk: Support alternate relocations.
21773         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
21774         sections.
21775         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
21776         malloc entries with + REL R_386_GLOB_DAT.
21777         * sysdeps/x86_64/localplt.data: New file.
21779 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
21781         [BZ #18731]
21782         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
21783         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21784         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21786 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21788         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
21790 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21792         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
21793         directly in terms of __sync_fetch_and_add and delete (int) cast.
21795 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21797         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
21798         the -D_ASM_IA64_CURRENT_H flag.
21800 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21802         [BZ #18641]
21803         * pwd/pwd.h (putpwent): Delete __nonnull markings.
21805 2015-07-27  Andreas Schwab  <schwab@suse.de>
21807         * conform/conformtest.pl (checknamespace): Filter out string
21808         literals while tokenizing.
21810 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
21812         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21813         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
21814         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21816 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
21818         * nptl/tst-join7mod.c: Add #include <string.h>.
21820 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
21822         * sysdeps/nios2/libm-test-ulps: Update.
21824 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
21826         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
21827         Fix order of arguments to the rt_sigprocmask syscall.
21828         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
21829         Likewise.
21831 2015-07-24  Roland McGrath  <roland@hack.frob.com>
21833         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
21835 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21837         [BZ #18457]
21838         * nptl/Makefile (tests): New test case tst-join7.
21839         (modules-names): New test case module tst-join7mod.
21840         * nptl/tst-join7.c: New file.
21841         * nptl/tst-join7mod.c: New file.
21842         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
21843         all translation units in libc.so, libpthread.so and rtld.
21845 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21849 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21851         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
21852         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21853         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21854         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21855         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21856         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21857         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21858         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21859         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21860         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21861         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21863         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
21864         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
21865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
21866         implementation.
21868 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21870         [BZ #17711]
21871         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21872         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
21873         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21874         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21875         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
21876         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21878 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21880         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
21881         instead of just saying load lock in the comments.
21883 2015-07-23  Roland McGrath  <roland@hack.frob.com>
21885         * sysdeps/unix/Subdirs: Moved ...
21886         * sysdeps/posix/Subdirs: ... here.
21887         * login/pty.h (struct termios, struct winsize): Add forward decls.
21888         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
21889         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
21890         * sysdeps/arm/nacl/libc.abilist: Updated.
21891         * sysdeps/nacl/libutil.abilist: New file.
21893         * bits/signum.h: Update comments to mention 1003.1-2013 too.
21894         (SIGWINCH): New macro.
21896         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
21897         * sysdeps/arm/nacl/libc.abilist: Add it.
21899 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21901         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
21903 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21905         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21906         Swap __glibc_reserved0 and sa_flags order.
21908 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21910         [BZ #18657]
21911         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
21912         are pending TLS destructor calls.
21913         * include/link.h (struct link_map): Add concurrency note for
21914         L_TLS_DTOR_COUNT.
21915         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21916         Don't touch the link map flag.  Atomically increment
21917         l_tls_dtor_count.
21918         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
21919         Avoid taking the load lock and don't touch the link map flag.
21920         * stdlib/tst-tls-atexit-nodelete.c: New test case.
21921         * stdlib/Makefile (tests): Use it.
21922         * stdlib/tst-tls-atexit.c (do_test): dlopen
21923         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
21924         to allow tst-tls-atexit-nodelete test case to use it.
21926 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21928         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
21929         to bits/types.h.
21930         (msgqnum_t): New typedef.
21931         (msglen_t): Likewise.
21932         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
21933         and msg_qbytes type to msglen_t.
21935 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21937         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
21938         pad0 to __glibc_reserved0.
21939         (struct stat64): Likewise.
21941 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21943         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21944         Change sa_flags from a long to an int and add __glibc_reserved0 before
21945         it for padding.
21947 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21949         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21950         anonymous by deleting "siginfo" name.
21952 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21954         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21955         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21956         rather than __nacl_irt_filename.
21957         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21959         * NEWS: New item for arm-nacl port.
21960         * sysdeps/arm/nacl/libc.abilist: New file.
21961         * sysdeps/nacl/ld.abilist: New file.
21962         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21963         * sysdeps/nacl/libanl.abilist: New file.
21964         * sysdeps/nacl/libcrypt.abilist: New file.
21965         * sysdeps/nacl/libdl.abilist: New file.
21966         * sysdeps/nacl/libm.abilist: New file.
21967         * sysdeps/nacl/libpthread.abilist: New file.
21968         * sysdeps/nacl/libresolv.abilist: New file.
21969         * sysdeps/nacl/librt.abilist: New file.
21971 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21973         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21974         __startcontext to initialize the new context.
21975         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21976         up CFI directive to forbid further backtracing.
21978 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21980         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21981         reference.
21982         * charmaps/ANSI_X3.4-1968: Likewise.
21983         * charmaps/BS_4730: Likewise.
21984         * charmaps/BS_VIEWDATA: Likewise.
21985         * charmaps/CP1250: Likewise.
21986         * charmaps/CP1251: Likewise.
21987         * charmaps/CP1252: Likewise.
21988         * charmaps/CP1253: Likewise.
21989         * charmaps/CP1254: Likewise.
21990         * charmaps/CP1255: Likewise.
21991         * charmaps/CP1256: Likewise.
21992         * charmaps/CSN_369103: Likewise.
21993         * charmaps/EBCDIC-DK-NO: Likewise.
21994         * charmaps/GB_1988-80: Likewise.
21995         * charmaps/GREEK-CCITT: Likewise.
21996         * charmaps/GREEK7: Likewise.
21997         * charmaps/INIS-8: Likewise.
21998         * charmaps/ISIRI-3342: Likewise.
21999         * charmaps/ISO_2033-1983: Likewise.
22000         * charmaps/ISO_5427-EXT: Likewise.
22001         * locales/POSIX: Likewise.
22002         * locales/ar_SA: Likewise.
22003         * locales/be_BY: Likewise.
22004         * locales/be_BY@latin: Likewise.
22005         * locales/ca_ES: Likewise.
22006         * locales/cs_CZ: Likewise.
22007         * locales/da_DK: Likewise.
22008         * locales/de_BE: Likewise.
22009         * locales/de_CH: Likewise.
22010         * locales/de_LU: Likewise.
22011         * locales/en_AU: Likewise.
22012         * locales/en_BW: Likewise.
22013         * locales/en_CA: Likewise.
22014         * locales/en_DK: Likewise.
22015         * locales/en_GB: Likewise.
22016         * locales/en_IE: Likewise.
22017         * locales/en_NZ: Likewise.
22018         * locales/en_ZA: Likewise.
22019         * locales/en_ZW: Likewise.
22020         * locales/es_AR: Likewise.
22021         * locales/es_BO: Likewise.
22022         * locales/es_CL: Likewise.
22023         * locales/es_CO: Likewise.
22024         * locales/es_DO: Likewise.
22025         * locales/es_EC: Likewise.
22026         * locales/es_ES: Likewise.
22027         * locales/es_HN: Likewise.
22028         * locales/es_MX: Likewise.
22029         * locales/es_PA: Likewise.
22030         * locales/es_PE: Likewise.
22031         * locales/es_PY: Likewise.
22032         * locales/es_SV: Likewise.
22033         * locales/es_US: Likewise.
22034         * locales/es_UY: Likewise.
22035         * locales/es_VE: Likewise.
22036         * locales/et_EE: Likewise.
22037         * locales/fa_IR: Likewise.
22038         * locales/fo_FO: Likewise.
22039         * locales/fr_CA: Likewise.
22040         * locales/fr_CH: Likewise.
22041         * locales/gv_GB: Likewise.
22042         * locales/he_IL: Likewise.
22043         * locales/hr_HR: Likewise.
22044         * locales/id_ID: Likewise.
22045         * locales/is_IS: Likewise.
22046         * locales/it_CH: Likewise.
22047         * locales/iw_IL: Likewise.
22048         * locales/kl_GL: Likewise.
22049         * locales/ko_KR: Likewise.
22050         * locales/kw_GB: Likewise.
22051         * locales/lg_UG: Likewise.
22052         * locales/lt_LT: Likewise.
22053         * locales/lv_LV: Likewise.
22054         * locales/mi_NZ: Likewise.
22055         * locales/nhn_MX: Likewise.
22056         * locales/nl_BE: Likewise.
22057         * locales/pl_PL: Likewise.
22058         * locales/sk_SK: Likewise.
22059         * locales/sl_SI: Likewise.
22060         * locales/sv_FI: Likewise.
22061         * locales/tl_PH: Likewise.
22062         * locales/tr_TR: Likewise.
22063         * locales/vi_VN: Likewise.
22065 2015-07-21  Khem Raj  <raj.khem@gmail.com>
22067         [BZ #17475]
22068         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22069         of tu_IN and bh_IN.
22071 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
22073         [BZ #18694]
22074         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22075         bits/wordsize.h.
22076         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22078 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22080         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22081         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22082         (spawn_thread): New function.
22083         (load): Rename to reg_dtor_and_close.  Move dlopen to...
22084         (do_test): ... here.  Use IS_LOADED to test for its
22085         availability.
22087 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
22089         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22091 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
22093         [BZ #18696]
22094         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22095         si_addr_bnd.
22096         (si_lower): New.
22097         (si_upper): Likewise.
22099 2015-07-16  David S. Miller  <davem@davemloft.net>
22101         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22103 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22105         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22106         buffer.
22107         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22108         fail output information.
22110 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22113         and strstr-ppc64..
22114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22115         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22116         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22117         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22118         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22120 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22122         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22123         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22124         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22125         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22127 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22129         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22130         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22131         rtld_hidden_proto.
22132         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22134 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22136         * tst-nodelete-opened.c (do_test): Add comment to clarify how
22137         the test can fail.
22139         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22141         [BZ #18676]
22142         * elf/tst-nodelete-opened.c: New test case.
22143         * elf/tst-nodelete-opened-lib.c: New test case module.
22144         * elf/Makefile (tests, modules-names): Use them.
22145         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22146         early.
22148 2015-07-15  David S. Miller  <davem@davemloft.net>
22150         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22151         futex-intenal.h
22152         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22153         * sysdeps/sparc/sparc64/Makefile: Likewise.
22154         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22155         Remove space from macro define.
22156         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22158 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
22160         [BZ #17475]
22161         * locale/iso-639.def: Update Bhili and Tulu language codes as
22162         per iso639-3.
22164 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
22166         * elf/tst-leaks1.c (main): Converted to ...
22167         (do_test): ... this.
22168         (TEST_FUNCTION): New macro.
22169         Include test-skeleton.c.
22170         * localedata/tst-langinfo.c (main): Converted to ...
22171         (do_test): ... this.
22172         (TEST_FUNCTION): New macro.
22173         Include test-skeleton.c.
22174         * math/test-fpucw.c (main): Converted to ...
22175         (do_test): ... this.
22176         (TEST_FUNCTION): New macro.
22177         Include test-skeleton.c.
22178         * math/test-tgmath.c (main): Converted to ...
22179         (do_test): ... this.
22180         (TEST_FUNCTION): New macro.
22181         Include test-skeleton.c.
22182         * math/test-tgmath2.c (main): Converted to ...
22183         (do_test): ... this.
22184         (TEST_FUNCTION): New macro.
22185         Include test-skeleton.c.
22186         * setjmp/tst-setjmp.c (main): Converted to ...
22187         (do_test): ... this.
22188         (TEST_FUNCTION): New macro.
22189         Include test-skeleton.c.
22190         * stdio-common/tst-sscanf.c (main): Converted to ...
22191         (do_test): ... this.
22192         (TEST_FUNCTION): New macro.
22193         Include test-skeleton.c.
22194         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22195         (do_test): ... this.
22196         (TEST_FUNCTION): New macro.
22197         Include test-skeleton.c.
22199         * elf/tst-audit9.c (main): Converted to ...
22200         (do_test): ... this.
22201         (TEST_FUNCTION): New macro.
22202         Include test-skeleton.c.
22204 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
22206         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22208 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22210         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22211         New variable.
22213 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22215         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22217 2015-07-14  Roland McGrath  <roland@hack.frob.com>
22219         * sysdeps/generic/dl-fileid.h: New file.
22220         * sysdeps/posix/dl-fileid.h: New file.
22221         * sysdeps/nacl/dl-fileid.h: New file.
22222         * include/link.h: Include <dl-fileid.h>.
22223         (struct link_map): Replace l_dev and l_ino with l_file_id.
22224         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
22225         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
22226         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
22228 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22230         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
22232 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22234         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
22235         Add iff $CXX is set.
22236         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
22237         Likewise.
22238         (tst-nodelete-zmodiff): Likewise.
22239         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
22241 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22243         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
22245 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
22247         * sysdeps/aarch64/fpu/math_private.h
22248         (define math_opt_barrier): Add AArch64 version.
22249         (math_force_eval): Likewise.
22251 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
22253         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
22255 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
22257         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
22258         %ld with %jd and cast to intmax_t.
22259         (do_test_length_zero): Likewise.
22261 2015-07-10  Roland McGrath  <roland@hack.frob.com>
22263         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
22265 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
22267         * sysdeps/tile/libm-test-ulps: Regenerated.
22269         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
22270         Comment out the whole function, not just its body.
22272 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22274         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
22275         locks.
22277         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
22279 2015-07-10  Torvald Riegel  <triegel@redhat.com>
22281         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
22282         (sem_assume_only_signals_cause_futex_EINTR): Remove.
22284 2015-07-10  Torvald Riegel  <triegel@redhat.com>
22286         * sysdeps/nptl/futex-internal.h: New file.
22287         * sysdeps/nacl/futex-internal.h: New file.
22288         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
22289         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
22290         error checking.
22291         (setxid_unmark_thread): Likewise.
22292         (__nptl_setxid): Likewise.
22293         (__wait_lookup_done): Likewise.
22294         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
22295         * nptl/nptl-init.c (sighandler_setxid): Likewise.
22296         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22297         * nptl/pthread_once.c (clear_once_control): Likewise.
22298         (__pthread_once_slow): Likewise.
22299         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22300         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
22301         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
22302         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22303         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
22304         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
22305         Likewise.
22306         (__pthread_rwlock_rdlock): Likewise.
22307         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22308         Likewise.
22309         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22310         Likewise.
22311         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22312         Likewise.
22313         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
22314         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
22315         Likewise.
22316         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
22317         __ASSUME_PRIVATE_FUTEX check.
22318         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
22319         Check that shared futexes are supported.
22320         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
22321         wrappers with error checking.
22322         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
22323         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
22324         * nptl/pthread_barrierattr_setpshared.c
22325         (pthread_barrierattr_setpshared): Check that shared futexes are
22326         supported.
22327         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
22328         Likewise.
22329         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
22330         Likewise.
22331         * nptl/sem_init.c (futex_private_if_supported): Remove.
22332         (__new_sem_init): Adapt and check that shared futexes are supported.
22333         * nptl/sem_open.c (sem_open): Likewise.
22334         * nptl/sem_post.c (futex_wake): Remove.
22335         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
22336         (do_futex_wait): Use futex wrappers with error checking.
22337         * nptl/sem_wait.c: Include lowlevellock.h.
22338         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
22339         Use futex_supports_pshared.
22340         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
22341         Use futex wrappers with error checking.
22342         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
22343         Likewise.
22344         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
22345         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
22346         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
22347         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
22348         (futex_wake): Likewise.
22349         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
22350         (do_futex_wait): Use futex wrappers with error checking.
22351         (__new_sem_wait_slow): Update EINTR handling.
22352         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
22354 2015-07-09  Martin Sebor  <msebor@redhat.com>
22356         [BZ #18435]
22357         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
22358         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
22359         * nptl/Makefile (test-xfail-tst-once5): Define.
22361 2015-07-09  Roland McGrath  <roland@hack.frob.com>
22363         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
22364         * elf/dl-minimal.c: For readability, reorder some definitions and
22365         introduce more page breaks.  Include <stdio.h>.
22366         (__libc_fatal): New function.
22368         * include/unistd.h: Add rtld_hidden_proto for _exit.
22369         * posix/_exit.c: Add rtld_hidden_def.
22370         * sysdeps/mach/hurd/_exit.c: Likewise.
22371         * sysdeps/nacl/_exit.c: Likewise.
22372         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
22373         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
22375 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
22377         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
22378         bndmov encoding with zero displacement.
22380 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
22381             H.J. Lu  <hongjiu.lu@intel.com>
22383         [BZ #18134]
22384         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
22385         * sysdeps/i386/configure: Regenerated.
22386         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22387         (_dl_runtime_profile): Save and restore Intel MPX return bound
22388         registers when calling _dl_call_pltexit.  Add
22389         PRESERVE_BND_REGS_PREFIX before return.
22390         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
22391         (LRV_BND1_OFFSET): Likewise.
22392         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
22393         lrv_bnd1.
22394         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
22395         typo in bndmov encoding.
22396         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
22397         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
22398         branch instructions to preserve bounds.
22400 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
22403         [GLIBC_2.22]: Add fmemopen.
22405 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22407         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
22408         returns an error, also try to use host port from __mach_host_self for
22409         the __vm_wire call.
22410         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
22412 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22414         [BZ #18400]
22415         [BZ #18648]
22416         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
22417         Fix pr_uid and pr_gid members.
22418         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
22419         definition to elf_greg_t.
22421 2015-07-08  Roland McGrath  <roland@hack.frob.com>
22423         [BZ #18383]
22424         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
22425         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
22426         * sysdeps/arm/configure: Regenerated.
22427         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
22428         (test-xfail-tst-tlsalign-static): Variable removed.
22430         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
22431         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
22432         rather than explicit 'ln -s'.
22434         * resolv/rpc/netdb.h: New file.
22435         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
22437 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22439         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
22440         length buffers.
22441         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22442         test-skeleton.c.
22444         [BZ #6544]
22445         [BZ #11216]
22446         [BZ #12836]
22447         [BZ #13151]
22448         [BZ #13152]
22449         [BZ #14292]
22450         * include/stdio.h (fmemopen): Remove hidden prototype.
22451         (__fmemopen): Add new hidden prototype.
22452         * libio/Makefile: Add oldfmemopen object.
22453         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
22454         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
22455         compliance.
22456         * libio/oldfmemopen.c: New file: old fmemopen implementation for
22457         symbol compatibility.
22458         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
22459         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
22460         fmemopen.
22461         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
22462         on append and read mode.
22463         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
22464         fmemopen.
22465         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
22466         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
22467         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
22468         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
22469         Likewise.
22470         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
22471         [GLIBC_2.22]: Likewise.
22472         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
22473         Likewise.
22474         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
22475         Likewise.
22476         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
22477         [GLIBC_2.22]: Likewise.
22478         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
22479         [GLIBC_2.22]: Likewise.
22480         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
22481         [GLIBC_2.22]: Likewise.
22482         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
22483         [GLIBC_2.22]: Likewise.
22484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
22485         [GLIBC_2.22]: Likewise.
22486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
22487         [GLIBC_2.22]: Likewise.
22488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
22489         [GLIBC_2.22]: Likewise.
22490         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
22491         Likewise.
22492         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
22493         Likewise.
22494         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
22495         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
22496         [GLIBC_2.22]: Likewise.
22497         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
22498         [GLIBC_2.22]: Likewise.
22499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
22500         [GLIBC_2.22]: Likewise.
22501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
22502         [GLIBC_2.22]: Likewise.
22503         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
22504         Likewise.
22505         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
22506         Likewise.
22507         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
22508         Likewise.
22509         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
22510         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
22512 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
22514         [BZ #18643]
22515         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
22516         IPV6_PATHMTU, and IPV6_DONTFRAG.
22518 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
22520         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
22521         and _IO_UNBUFFERED.
22522         * libio/oldfileops.c: Likewise.
22523         * libio/wfileops.c: Likewise.
22525 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
22527         * nscd/selinux.c: Delete selinux/flask.h include.
22529 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
22531         [BZ #18641]
22532         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
22533         (putpwent): Likewise.
22534         (getpwnam): Likewise.
22535         (getpwent_r): Likewise.
22536         (getpwuid_r): Likewise.
22537         (getpwnam_r): Likewise.
22538         (fgetpwent_r): Likewise.
22540 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
22542         [BZ #18557]
22543         * inet/rcmd.c (__validuser2_sa): Check user first to
22544         short-circuit host check.
22546 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
22547             Mikhail Ilin  <m.ilin@samsung.com>
22549         [BZ #17833]
22550         * elf/Makefile (tests): Add tst-nodelete.
22551         (modules-names): Add tst-nodelete-uniquemod.
22552         (tst-nodelete-uniquemod.so-no-z-defs): New.
22553         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
22554         (tst-nodelete-zmod.so-no-z-defs): Likewise.
22555         ($(objpfx)tst-nodelete): Likewise.
22556         ($(objpfx)tst-nodelete.out): Likewise.
22557         (LDFLAGS-tst-nodelete): Likewise.
22558         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
22559         * elf/dl-close.c (_dl_close_worker): Add a parameter to
22560         implement forced object deletion.
22561         (_dl_close): Pass false to _dl_close_worker.
22562         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
22563         * elf/tst-nodelete.cc: New file.
22564         * elf/tst-nodeletelib.cc: Likewise.
22565         * elf/tst-znodeletelib.cc: Likewise.
22566         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
22568 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22570         [BZ #18508]
22571         * stdlib/Makefile ($(objpfx)tst-makecontext3):
22572         Depend on $(libdl).
22573         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
22574         is not called infinitely times.
22575         (backtrace_helper): New function.
22576         (trace_arg): New struct.
22577         (st1): Enlarge stack size.
22578         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22579         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
22580         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22581         Likewise.
22583 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22585         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22587 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22589         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
22590         Include sys/types.h instead of bits/types.h.
22591         Remove inclusion of bits/wordsize.h.
22593 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22595         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
22596         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
22597         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
22598         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
22599         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
22600         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
22602 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22604         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
22605         link-defines.sym.
22606         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
22607         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
22608         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
22609         and LR_SIZE.
22610         * sysdeps/i386/link-defines.sym: New file.
22612 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22614         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
22615         (modules-names): Add tst-auditmod3a tst-auditmod3b.
22616         ($(objpfx)tst-audit3): New rule.
22617         ($(objpfx)tst-audit3.out): Likewise.
22618         * sysdeps/i386/tst-audit3.c: New file.
22619         * sysdeps/i386/tst-audit3.h: Likewise.
22620         * sysdeps/i386/tst-auditmod3a.c: Likewise.
22621         * sysdeps/i386/tst-auditmod3b.c: Likewise.
22623 2015-07-07  Torvald Riegel  <triegel@redhat.com>
22625         [BZ #18633]
22626         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
22627         pointer in C code.
22628         (__strcat_c): Likewise.
22629         (__strcat_g): Likewise.
22631 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
22633         [BZ #18592]
22634         * misc/sbrk.c: Set errno to ENOMEM on overflow.
22636 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
22638         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
22639         New function.  (__ieee754_sqrtf): New function.
22640         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
22641         New function.
22642         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
22643         New function.
22645 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
22647         * sysdeps/ieee754/support.c: Remove unused file.
22649 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22651         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
22652         registers instead of d ones so the layout is kernel abi compatible.
22653         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
22654         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
22655         Likewise.
22657 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22659         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22661 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
22663         [BZ #18619]
22664         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
22665         and return argument in case of subnormal argument.
22667 2015-07-01  Martin Sebor  <msebor@redhat.com>
22669         [BZ #18435]
22670         * nptl/Makefile: Add tst-once5.cc.
22671         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
22672         Remove macro redefinitions.
22673         * nptl/tst-once5.cc: New test.
22675 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
22677         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22679         * sysdeps/arm/libm-test-ulps: Regenerated.
22681         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22682         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22684 2015-06-30  Torvald Riegel  <triegel@redhat.com>
22686         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
22687         lll_lock_wait_private and lll_futex_wake probes.
22689         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22690         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
22691         Likewise.
22692         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
22693         atomic_spin_nop.
22694         * sysdeps/x86_64/bits/atomic.h: Likewise.
22695         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
22696         to atomic_spin_nop and move ...
22697         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22698         ... here and ...
22699         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
22700         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
22701         atomic_spin_nop instead of BUSY_WAIT_NOP.
22702         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
22703         Likewise.
22704         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
22705         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22706         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
22707         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
22708         instead of atomic_delay.
22710 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
22712         [BZ #18613]
22713         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
22714         X_ADJ not X when adjusting exponent.
22715         (__ieee754_gamma_r): Do intermediate computations in
22716         round-to-nearest then adjust overflowing and underflowing results
22717         as needed.
22718         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
22719         of X_ADJ not X when adjusting exponent.
22720         (__ieee754_gammaf_r): Do intermediate computations in
22721         round-to-nearest then adjust overflowing and underflowing results
22722         as needed.
22723         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
22724         log of X_ADJ not X when adjusting exponent.
22725         (__ieee754_gammal_r): Do intermediate computations in
22726         round-to-nearest then adjust overflowing and underflowing results
22727         as needed.  Use 1.0L not 1.0f as numerator of division.
22728         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
22729         log of X_ADJ not X when adjusting exponent.
22730         (__ieee754_gammal_r): Do intermediate computations in
22731         round-to-nearest then adjust overflowing and underflowing results
22732         as needed.  Use 1.0L not 1.0f as numerator of division.
22733         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
22734         of X_ADJ not X when adjusting exponent.
22735         (__ieee754_gammal_r): Do intermediate computations in
22736         round-to-nearest then adjust overflowing and underflowing results
22737         as needed.  Use 1.0L not 1.0f as numerator of division.
22738         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
22739         to auto-libm-test-in.
22740         (tgamma_test): Use ALL_RM_TEST.
22741         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
22742         tests of tgamma with spurious-overflow.
22743         * math/auto-libm-test-out: Regenerated.
22744         * math/gen-libm-have-vector-test.sh: Do not check for START.
22745         * sysdeps/i386/fpu/libm-test-ulps: Update.
22746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22748         [BZ #18612]
22749         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
22750         arguments, just return 0.5 times the argument, with underflow
22751         forced as needed.
22752         * math/auto-libm-test-in: Add more tests of j1.
22753         * math/auto-libm-test-out: Regenerated.
22755         [BZ #16559]
22756         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
22757         (__ieee754_j1): Force underflow exception for small results.
22758         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22759         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
22760         (__ieee754_j1f): Force underflow exception for small results.
22761         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22762         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22764         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
22765         (__ieee754_j1l): Force underflow exception for small results.
22766         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22767         * math/auto-libm-test-in: Add more tests of j1 and jn.
22768         * math/auto-libm-test-out: Regenerated.
22770         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
22771         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
22772         (PF_MPLS): Likewise.
22773         (AF_IB): Likewise.
22774         (AF_MPLS): Likewise.
22775         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
22776         value and macro.
22777         (MS_RMT_MASK): Include MS_LAZYTIME.
22779 2015-06-26  Mel Gorman  <mgorman@suse.de>
22781         [BZ #18502]
22782         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
22783         already minimal.
22785 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
22787         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
22788         (DT_MIPS_NUM): Update.
22789         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
22790         DT_MIPS_RLD_MAP_REL.
22792 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
22794         [BZ #16559]
22795         [BZ #18602]
22796         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
22797         round-to-nearest internally then recompute results that
22798         underflowed to zero in the original rounding mode.
22799         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22800         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22802         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22803         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
22804         * sysdeps/i386/fpu/libm-test-ulps: Update.
22805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22807 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22809         * NEWS: Fixed description of link with vector math library.
22811 2015-06-25  Andreas Schwab  <schwab@suse.de>
22813         [BZ #18549]
22814         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
22815         * libio/test-fmemopen.c (do_test): Add test for it.
22817 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
22819         [BZ #17841]
22820         * Makeconfig (no-pie-ldflag): New.
22821         (+link): Set to $(+link-pie) if default to PIE.
22822         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
22823         * config.make.in (build-pie-default): New.
22824         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
22825         is default.  AC_SUBST.
22826         * configure: Regenerated.
22827         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
22829 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22831         * nptl/descr.h (struct pthread): Change type of field setxid_futex
22832         to 'unsigned int'.
22834         * resolv/gai_misc.h (struct waitlist): Change type of field
22835         counterp to 'volatile unsigned int *'.
22836         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
22837         FUTEXADDR and OLDVAL.
22838         * resolv/getaddrinfo_a.c (getaddrinfo_a):
22839         Give local variable TOTAL type 'volatile unsigned int'.
22840         (struct async_waitlist): Change type of field counter to 'unsigned int'.
22841         * resolv/gai_suspend.c (gai_suspend):
22842         Give local variable CNTR type 'unsigned int'.
22844         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
22845         counterp to 'volatile unsigned int *'.
22846         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
22847         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
22848         (aio_suspend): Give local variable CNTR type 'unsigned int'.
22849         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
22850         Give local variable TOTAL type 'volatile unsigned int'.
22851         (struct async_waitlist): Change type of field counter to 'unsigned int'.
22853 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22855         [BZ #18383]
22856         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
22857         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
22858         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
22859         comment for i386/x86-64.
22860         (test-xfail-tst-tlsalign-extern-static): Removed.
22862 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22864         * math/test-double.h: New file.
22865         * math/test-float.h: Likewise.
22866         * math/test-ldouble.h: Likewise.
22867         * math/test-math-inline.h: Likewise.
22868         * math/test-math-no-inline.h: Likewise.
22869         * math/test-math-scalar.h: Likewise.
22870         * math/test-math-vector.h: Likewise.
22871         * math/test-vec-loop.h: Remove file.  Contents moved into
22872         test-math-vector.h.
22873         * math/libm-test.inc (MATHCONST): Do not document macro.
22874         * math/test-double.c: Include test-double.h, test-math-no-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_DOUBLE): Likewise.
22884         (TEST_MATHVEC): Likewise.
22885         (__NO_MATH_INLINES): Likewise.
22886         * math/test-float.c: Include test-float.h, test-math-no-inline.h
22887         and test-math-scalar.h.
22888         (FUNC): Remove macro.
22889         (FUNC_TEST): Likewise.
22890         (FLOAT): Likewise.
22891         (MATHCONST): Likewise.
22892         (PRINTF_EXPR): Likewise.
22893         (PRINTF_XEXPR): Likewise.
22894         (PRINTF_NEXPR): Likewise.
22895         (TEST_FLOAT): Likewise.
22896         (TEST_MATHVEC): Likewise.
22897         (__NO_MATH_INLINES): Likewise.
22898         * math/test-idouble.c: Include test-double.h, test-math-inline.h
22899         and test-math-scalar.h.
22900         (FUNC): Remove macro.
22901         (FUNC_TEST): Likewise.
22902         (FLOAT): 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         (TEST_INLINE): Likewise.
22910         (__NO_MATH_INLINES): Likewise.
22911         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
22912         test-math-scalar.h.
22913         (FUNC): Remove macro.
22914         (FUNC_TEST): Likewise.
22915         (FLOAT): Likewise.
22916         (MATHCONST): Likewise.
22917         (PRINTF_EXPR): Likewise.
22918         (PRINTF_XEXPR): Likewise.
22919         (PRINTF_NEXPR): Likewise.
22920         (TEST_FLOAT): Likewise.
22921         (TEST_MATHVEC): Likewise.
22922         (TEST_INLINE): Likewise.
22923         (__NO_MATH_INLINES): Likewise.
22924         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
22925         and test-math-scalar.h.
22926         (FUNC): Remove macro.
22927         (FUNC_TEST): Likewise.
22928         (FLOAT): Likewise.
22929         (MATHCONST): Likewise.
22930         (PRINTF_EXPR): Likewise.
22931         (PRINTF_XEXPR): Likewise.
22932         (PRINTF_NEXPR): Likewise.
22933         (TEST_LDOUBLE): Likewise.
22934         (TEST_MATHVEC): Likewise.
22935         (TEST_INLINE): Likewise.
22936         (__NO_MATH_INLINES): Likewise.
22937         * math/test-ldouble.c: Include test-ldouble.h,
22938         test-math-no-inline.h and test-math-scalar.h.
22939         (FUNC): Remove macro.
22940         (FUNC_TEST): Likewise.
22941         (FLOAT): Likewise.
22942         (MATHCONST): Likewise.
22943         (PRINTF_EXPR): Likewise.
22944         (PRINTF_XEXPR): Likewise.
22945         (PRINTF_NEXPR): Likewise.
22946         (TEST_LDOUBLE): Likewise.
22947         (TEST_MATHVEC): Likewise.
22948         (__NO_MATH_INLINES): Likewise.
22949         * math/test-double-vlen2.h: Include test-double.h,
22950         test-math-no-inline.h and test-math-vector.h.
22951         (FLOAT): Remove macro.
22952         (FUNC): Likewise.
22953         (MATHCONST): Likewise.
22954         (PRINTF_EXPR): Likewise.
22955         (PRINTF_XEXPR): Likewise.
22956         (PRINTF_NEXPR): Likewise.
22957         (TEST_DOUBLE): Likewise.
22958         (TEST_MATHVEC): Likewise.
22959         (__NO_MATH_INLINES): Likewise.
22960         (CNCT): Likewise.
22961         (CONCAT): Likewise.
22962         (WRAPPER_NAME): Likewise.
22963         (WRAPPER_DECL): Likewise.
22964         (WRAPPER_DECL_ff): Likewise.
22965         (WRAPPER_DECL_fFF): Likewise.
22966         (VECTOR_WRAPPER): Likewise.
22967         (VECTOR_WRAPPER_ff): Likewise.
22968         (VECTOR_WRAPPER_fFF): Likewise.
22969         (VEC_LEN): New macro.
22970         * math/test-double-vlen4.h: Include test-double.h,
22971         test-math-no-inline.h and test-math-vector.h.
22972         (FLOAT): Remove macro.
22973         (FUNC): Likewise.
22974         (MATHCONST): Likewise.
22975         (PRINTF_EXPR): Likewise.
22976         (PRINTF_XEXPR): Likewise.
22977         (PRINTF_NEXPR): Likewise.
22978         (TEST_DOUBLE): Likewise.
22979         (TEST_MATHVEC): Likewise.
22980         (__NO_MATH_INLINES): Likewise.
22981         (CNCT): Likewise.
22982         (CONCAT): Likewise.
22983         (WRAPPER_NAME): Likewise.
22984         (WRAPPER_DECL): Likewise.
22985         (WRAPPER_DECL_ff): Likewise.
22986         (WRAPPER_DECL_fFF): Likewise.
22987         (VECTOR_WRAPPER): Likewise.
22988         (VECTOR_WRAPPER_ff): Likewise.
22989         (VECTOR_WRAPPER_fFF): Likewise.
22990         (VEC_LEN): New macro.
22991         * math/test-double-vlen8.h: Include test-double.h,
22992         test-math-no-inline.h and test-math-vector.h.
22993         (FLOAT): Remove macro.
22994         (FUNC): Likewise.
22995         (MATHCONST): Likewise.
22996         (PRINTF_EXPR): Likewise.
22997         (PRINTF_XEXPR): Likewise.
22998         (PRINTF_NEXPR): Likewise.
22999         (TEST_DOUBLE): Likewise.
23000         (TEST_MATHVEC): Likewise.
23001         (__NO_MATH_INLINES): Likewise.
23002         (CNCT): Likewise.
23003         (CONCAT): Likewise.
23004         (WRAPPER_NAME): Likewise.
23005         (WRAPPER_DECL): Likewise.
23006         (WRAPPER_DECL_ff): Likewise.
23007         (WRAPPER_DECL_fFF): Likewise.
23008         (VECTOR_WRAPPER): Likewise.
23009         (VECTOR_WRAPPER_ff): Likewise.
23010         (VECTOR_WRAPPER_fFF): Likewise.
23011         (VEC_LEN): New macro.
23012         * math/test-float-vlen4.h: Include test-float.h,
23013         test-math-no-inline.h and test-math-vector.h.
23014         (FLOAT): Remove macro.
23015         (FUNC): Likewise.
23016         (MATHCONST): Likewise.
23017         (PRINTF_EXPR): Likewise.
23018         (PRINTF_XEXPR): Likewise.
23019         (PRINTF_NEXPR): Likewise.
23020         (TEST_FLOAT): Likewise.
23021         (TEST_MATHVEC): Likewise.
23022         (__NO_MATH_INLINES): Likewise.
23023         (CNCT): Likewise.
23024         (CONCAT): Likewise.
23025         (WRAPPER_NAME): Likewise.
23026         (WRAPPER_DECL): Likewise.
23027         (WRAPPER_DECL_ff): Likewise.
23028         (WRAPPER_DECL_fFF): Likewise.
23029         (VECTOR_WRAPPER): Likewise.
23030         (VECTOR_WRAPPER_ff): Likewise.
23031         (VECTOR_WRAPPER_fFF): Likewise.
23032         (VEC_LEN): New macro.
23033         * math/test-float-vlen8.h: Include test-float.h,
23034         test-math-no-inline.h and test-math-vector.h.
23035         (FLOAT): Remove macro.
23036         (FUNC): Likewise.
23037         (MATHCONST): Likewise.
23038         (PRINTF_EXPR): Likewise.
23039         (PRINTF_XEXPR): Likewise.
23040         (PRINTF_NEXPR): Likewise.
23041         (TEST_FLOAT): Likewise.
23042         (TEST_MATHVEC): Likewise.
23043         (__NO_MATH_INLINES): Likewise.
23044         (CNCT): Likewise.
23045         (CONCAT): Likewise.
23046         (WRAPPER_NAME): Likewise.
23047         (WRAPPER_DECL): Likewise.
23048         (WRAPPER_DECL_ff): Likewise.
23049         (WRAPPER_DECL_fFF): Likewise.
23050         (VECTOR_WRAPPER): Likewise.
23051         (VECTOR_WRAPPER_ff): Likewise.
23052         (VECTOR_WRAPPER_fFF): Likewise.
23053         (VEC_LEN): New macro.
23054         * math/test-float-vlen16.h: Include test-float.h,
23055         test-math-no-inline.h and test-math-vector.h.
23056         (FLOAT): Remove macro.
23057         (FUNC): Likewise.
23058         (MATHCONST): Likewise.
23059         (PRINTF_EXPR): Likewise.
23060         (PRINTF_XEXPR): Likewise.
23061         (PRINTF_NEXPR): Likewise.
23062         (TEST_FLOAT): Likewise.
23063         (TEST_MATHVEC): Likewise.
23064         (__NO_MATH_INLINES): Likewise.
23065         (CNCT): Likewise.
23066         (CONCAT): Likewise.
23067         (WRAPPER_NAME): Likewise.
23068         (WRAPPER_DECL): Likewise.
23069         (WRAPPER_DECL_ff): Likewise.
23070         (WRAPPER_DECL_fFF): Likewise.
23071         (VECTOR_WRAPPER): Likewise.
23072         (VECTOR_WRAPPER_ff): Likewise.
23073         (VECTOR_WRAPPER_fFF): Likewise.
23074         (VEC_LEN): New macro.
23075         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23076         test-vec-loop.h.
23077         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23079         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23080         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23081         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23082         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23083         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23085 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23087         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23088         (__getlogin_r): ... this.
23090 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23092         [BZ #18594]
23093         * math/s_ccosh.c (__ccosh): Compare with least normal value
23094         instead of comparing class with FP_SUBNORMAL.
23095         * math/s_ccoshf.c (__ccoshf): Likewise.
23096         * math/s_ccoshl.c (__ccoshl): Likewise.
23097         * math/s_cexp.c (__cexp): Likewise.
23098         * math/s_cexpf.c (__cexpf): Likewise.
23099         * math/s_cexpl.c (__cexpl): Likewise.
23100         * math/s_csin.c (__csin): Likewise.
23101         * math/s_csinf.c (__csinf): Likewise.
23102         * math/s_csinh.c (__csinh): Likewise.
23103         * math/s_csinhf.c (__csinhf): Likewise.
23104         * math/s_csinhl.c (__csinhl): Likewise.
23105         * math/s_csinl.c (__csinl): Likewise.
23106         * math/s_ctan.c (__ctan): Likewise.
23107         * math/s_ctanf.c (__ctanf): Likewise.
23108         * math/s_ctanh.c (__ctanh): Likewise.
23109         * math/s_ctanhf.c (__ctanhf): Likewise.
23110         * math/s_ctanhl.c (__ctanhl): Likewise.
23111         * math/s_ctanl.c (__ctanl): Likewise.
23112         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23113         csin, csinh, ctan and ctanh.
23114         * math/auto-libm-test-out: Regenerated.
23115         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23116         * sysdeps/i386/fpu/libm-test-ulps: Update.
23117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23119 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23121         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23122         return value is wrong, print the expected value too.
23124 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23126         [BZ #18585]
23127         * elf/readlib.c (is_gdb_python_file): New.
23128         (process_file): Don't issue errors on filenames with -gdb.py
23129         suffix.
23131 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23133         * math/auto-libm-test-in: Add more tests of csin and csinh.
23134         * math/auto-libm-test-out: Regenerated.
23135         * math/libm-test.inc (csin_test_data): Remove tests moved to
23136         auto-libm-test-in.
23137         (csinh_test_data): Likewise.
23139         [BZ #18593]
23140         * math/s_csin.c (__csin): Negate before rather than after possibly
23141         overflowing multiplication.
23142         * math/s_csinf.c (__csinf): Likewise.
23143         * math/s_csinh.c (__csinh): Likewise.
23144         * math/s_csinhf.c (__csinhf): Likewise.
23145         * math/s_csinhl.c (__csinhl): Likewise.
23146         * math/s_csinl.c (__csinl): Likewise.
23147         * math/auto-libm-test-in: Add some tests of csin and csinh.
23148         * math/auto-libm-test-out: Regenerated.
23149         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23150         (csinh_test_data): Likewise.
23151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23153         [BZ #18586]
23154         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23155         underflow exception for small results.
23157 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23159         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23160         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23161         variable and included header.
23162         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23163         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23164         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23165         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23166         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23167         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23168         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23169         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23170         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23171         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23172         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23173         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23174         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23175         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23176         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23177         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23179 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23181         [BZ #16526]
23182         [BZ #16538]
23183         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23184         (__sin): Force underflow exception for arguments with small
23185         absolute value.
23186         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23187         (__kernel_sinf): Force underflow exception for arguments with
23188         small absolute value.
23189         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23190         (__kernel_sincosl): Force underflow exception for arguments with
23191         small absolute value.
23192         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23193         (__kernel_sinl): Force underflow exception for arguments with
23194         small absolute value.
23195         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23196         (__kernel_sincosl): Force underflow exception for arguments with
23197         small absolute value.
23198         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23199         (__kernel_sinl): Force underflow exception for arguments with
23200         small absolute value.
23201         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23202         (__kernel_sinl): Force underflow exception for arguments with
23203         small absolute value.
23204         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23205         (__kernel_sinf): Force underflow exception for arguments with
23206         small absolute value.
23207         * math/auto-libm-test-in: Add more tests of sin and sincos.
23208         * math/auto-libm-test-out: Regenerated.
23210         [BZ #18245]
23211         [BZ #18583]
23212         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23213         (__kernel_standard_l): Use feholdexcept and fesetenv around
23214         conversion to double instead of special-casing overflow and
23215         underflow.
23216         * math/libm-test.inc (fmod_test_data): Add more tests.
23217         (remainder_test_data): Likewise.
23218         (sqrt_test_data): Likewise.
23220 2015-06-23  Torvald Riegel  <triegel@redhat.com>
23222         [BZ #17403]
23223         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
23224         atomic_read_barrier, atomic_write_barrier): Define.
23225         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
23226         atomic_read_barrier, atomic_write_barrier): Define.
23228 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23230         * math/Makefile [$(PERL) != no]
23231         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
23232         dependency on libm-test.stmp below the inclusion of Rules.
23234 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
23236         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23237         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
23238         and included header.
23239         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
23240         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
23241         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
23242         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
23243         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
23244         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
23245         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
23246         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
23247         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
23248         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
23249         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
23250         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
23251         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
23252         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
23253         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
23254         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
23255         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
23256         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
23257         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
23259 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23261         [BZ #18371]
23262         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
23263         intermediate but not final result might underflow.
23264         * math/s_csqrtf.c (__csqrtf): Likewise.
23265         * math/s_csqrtl.c (__csqrtl): Likewise.
23266         * math/auto-libm-test-in: Add more tests of csqrt.
23267         * math/auto-libm-test-out: Regenerated.
23268         * sysdeps/i386/fpu/libm-test-ulps: Update.
23270         [BZ #18219]
23271         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
23272         threshold on absolute value of exponent for which scaling is used.
23273         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23274         * math/auto-libm-test-in: Add more tests of exp2.
23275         * math/auto-libm-test-out: Regenerated.
23277 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
23279         [BZ #17977]
23280         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
23281         when initializing interface list, based on the bug analysis
23282         and the patch proposed by Eric Newton.
23283         * resolv/tst-res_hconf_reorder.c: New test.
23284         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
23285         tst-res_hconf_reorder.
23286         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
23287         and $(shared-thread-library).
23288         (tst-res_hconf_reorder-ENV): New variable.
23290         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
23291         in comment.
23293 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
23295         [BZ #16353]
23296         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
23297         (__expm1): Force underflow exception for arguments with small
23298         absolute value.
23299         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
23300         (__expm1f): Force underflow exception for arguments with small
23301         absolute value.
23302         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
23303         (__expm1): Force underflow exception for arguments with small
23304         absolute value.
23305         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
23306         (__expm1f): Force underflow exception for arguments with small
23307         absolute value.
23308         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23309         Check for small arguments before calling __expm1.
23310         * math/auto-libm-test-in: Do not mark underflow exceptions as
23311         possibly missing for bug 16353.
23312         * math/auto-libm-test-out: Regenerated.
23314 2015-06-22  Andreas Schwab  <schwab@suse.de>
23316         [BZ #18513]
23317         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
23318         PTR queries.
23320 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
23322         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
23324         * string/strcoll_l.c: Remove unused struct element idxnow.
23326 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
23328         [BZ #18569]
23329         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
23330         underflow and return argument in case of subnormal argument.
23331         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23332         Likewise.
23333         * math/auto-libm-test-in: Add more tests of expm1.
23334         * math/auto-libm-test-out: Regenerated.
23336         [BZ #16361]
23337         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
23338         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
23339         tiny results.
23340         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
23341         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
23342         tiny results.
23343         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
23344         mark underflow exceptions as possibly missing for bug 16361.
23345         * math/auto-libm-test-out: Regenerated.
23347 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
23349         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
23350         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
23351         Remove variable.
23352         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23353         (test-xfail-XOPEN2K8/utmpx.h/conform).
23355         * conform/conformtest.pl ($xerrors): New variable.
23356         (note_error): New function.
23357         (compiletest): New argument $xfail.  Use not_error.
23358         (runtest): Likewise.
23359         (top level): Handle xfail- lines.  Update calls to compiletest and
23360         runtest.  Handle xfail- and optional- in headers listed with
23361         allow-header.
23362         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
23363         (O_EXEC): Likewise.
23364         (O_SEARCH): Likewise.
23365         * conform/data/stropts.h-data (ioctl): Likewise.
23366         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
23367         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
23368         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
23369         (msghdr.msg_controllen): Likewise.
23370         (cmsghdr.cmsg_len): Likewise.
23371         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
23372         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
23373         variable.
23374         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23375         (test-xfail-XPG4/stropts.h/conform): Likewise.
23376         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23377         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23378         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23379         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23380         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23381         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23382         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23383         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23384         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23385         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23386         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23387         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23388         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23389         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23390         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23391         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23392         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23393         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23394         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23396 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23398         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
23399         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
23400         definitions for proper unfolding of __MATHDECL_VEC.
23402 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23404         * benchtests/bench-strcoll.c:
23405         Include string.h.
23406         (main): Remove unused variable res.
23408 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23410         * timezone/Makefile (%/UTC %/Universal):
23411         Generate test-result files for UTC and Universal.
23413 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23415         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23417 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
23419         [BZ #16350]
23420         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
23421         for arguments with small absolute value.
23422         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
23423         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
23424         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
23425         (__asinh): Force underflow exception for arguments with small
23426         absolute value.
23427         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
23428         (__asinhf): Force underflow exception for arguments with small
23429         absolute value.
23430         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
23431         (__asinhl): Force underflow exception for arguments with small
23432         absolute value.
23433         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
23434         (__asinhl): Force underflow exception for arguments with small
23435         absolute value.
23436         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
23437         (__asinhl): Force underflow exception for arguments with small
23438         absolute value.
23439         * math/auto-libm-test-in: Do not mark underflow exceptions as
23440         possibly missing for bug 16350.
23441         * math/auto-libm-test-out: Regenerated.
23443         * include/bits/ipc.h: Remove file.
23444         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
23445         variable.
23446         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23447         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23448         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23449         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23450         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23451         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23452         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23453         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23454         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23456         * math/auto-libm-test-in: Remove spurious underflow allowance for
23457         tests of cexp.
23458         * math/auto-libm-test-out: Regenerated.
23460         [BZ #18558]
23461         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
23462         unconditional definition.
23463         (MCAST_BLOCK_SOURCE): Likewise.
23464         (MCAST_UNBLOCK_SOURCE): Likewise.
23465         (MCAST_LEAVE_GROUP): Likewise.
23466         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23467         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23468         (MCAST_MSFILTER): Likewise.
23469         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
23470         Remove variable.
23471         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23472         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23473         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23474         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23475         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23477 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
23479         * NEWS: Mention addition of x86_64 vector sincosf.
23480         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
23481         * math/test-float-vlen4.h: Likewise.
23482         * math/test-float-vlen8.h: Likewise.
23483         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23484         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
23485         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23486         * sysdeps/x86_64/fpu/Versions: New versions added.
23487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23488         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23489         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23490         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
23491         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23492         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
23493         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23494         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
23495         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23496         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
23497         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
23498         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
23499         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
23500         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
23501         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
23502         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
23503         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
23504         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23505         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23506         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23507         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23508         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23509         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23510         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23512         * NEWS: Mention addition of x86_64 vector sincos.
23513         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
23514         * math/math.h (__MATHDECL_VEC): New macro.
23515         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
23516         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
23517         declaration under condition.
23518         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
23519         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
23520         TEST_VEC_LOOP change.
23521         * math/test-double-vlen4.h: Likewise.
23522         * math/test-double-vlen8.h: Likewise.
23523         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
23524         * math/test-float-vlen4.h: Likewise.
23525         * math/test-float-vlen8.h: Likewise.
23526         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23527         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
23528         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23529         * sysdeps/x86_64/fpu/Versions: New versions added.
23530         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23531         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23532         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23533         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
23534         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
23535         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
23536         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
23537         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
23538         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
23539         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
23540         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
23541         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
23542         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
23543         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
23544         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
23545         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
23546         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
23547         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23548         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23549         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23550         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23551         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23552         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23553         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23555         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23556         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23557         redirections for powf.
23558         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23559         * sysdeps/x86_64/fpu/Versions: New versions added.
23560         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23561         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23562         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23563         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
23564         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
23565         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
23566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
23567         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
23568         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
23569         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
23570         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
23571         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
23572         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
23573         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
23574         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
23575         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
23576         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
23577         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23578         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23579         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23580         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23582         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23583         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23584         * math/test-float-vlen16.h: Fixed 2 argument macro.
23585         * math/test-float-vlen4.h: Likewise.
23586         * math/test-float-vlen8.h: Likewise.
23587         * NEWS: Mention addition of x86_64 vector powf.
23589 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
23591         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23592         and redefine.
23593         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23594         and redefine.
23595         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
23596         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23597         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23599         [BZ #18553]
23600         * resource/getpriority.c (getpriority): Rename to __getpriority
23601         and define as weak alias of __getpriority.
23602         * resource/setpriority.c (setpriority): Rename to __setpriority
23603         and define as weak alias of __setpriority.
23604         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
23605         __getpriority and define as weak alias of __getpriority.
23606         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
23607         __setpriority and define as weak alias of __setpriority.
23608         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
23609         strong name.
23610         (setpriority): Use __setpriority as strong name.
23611         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
23612         __getpriority and define as weak alias of __getpriority.
23613         * include/sys/resource.h (__getpriority): Declare.  Use
23614         libc_hidden_proto.
23615         (__setpriority): Likewise.
23616         (getpriority): Don't use libc_hidden_proto.
23617         (setpriority): Likewise.
23618         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
23619         getpriority.  Call __setpriority instead of setpriority.
23620         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
23621         Remove variable.
23623         [BZ #18547]
23624         * misc/getttyent.c (getttynam): Rename to __getttynam and define
23625         as weak alias of __getttynam.  Use prototype function definition.
23626         Call __setttyent, __getttyent and __endttyent instead of
23627         setttyent, getttyent and endttyent.
23628         (getttyent): Rename to __getttyent and define as weak alias of
23629         __getttyent.  Call __setttyent instead of setttyent.  Call
23630         __fgets_unlocked instead of fgets_unlocked.
23631         (setttyent): Rename to __setttyent and define as weak alias of
23632         __setttyent.
23633         (endttyent): Rename to __endttyent and define as weak alias of
23634         __endttyent.
23635         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
23636         (__setttyent): Likewise.
23637         (__endttyent): Likewise.
23638         (getttyent): Don't use libc_hidden_proto.
23639         (setttyent): Likewise.
23640         (endttyent): Likewise.
23641         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
23642         __endttyent instead of setttyent, getttyent and endttyent.
23643         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
23644         Remove variable.
23646         [BZ #18546]
23647         * socket/recv.c (__recv): Use libc_hidden_def.
23648         * socket/socket.c (__socket): Likewise.
23649         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23650         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23651         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
23652         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
23653         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
23654         libc_hidden_def.
23655         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
23656         libc_hidden_weak.
23657         * include/sys/socket.h (__socket): Do not use attribute_hidden.
23658         Use libc_hidden_proto.
23659         (__recv): Likewise.
23660         * socket/Versions (libc): Export __recv and __socket at version
23661         GLIBC_PRIVATE.
23662         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
23663         instead of recv.
23664         (init_mq_netlink): Call __socket instead of socket.
23665         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
23666         Remove variable.
23668         [BZ #18545]
23669         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
23670         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
23671         hidden_weak.
23672         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
23673         define as alias of __mq_timedsend.  Use hidden_weak.
23674         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
23675         __mq_timedsend as strong name.
23676         (mq_timedreceive): Use __mq_timedreceive as strong name.
23677         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
23678         (__mq_timedreceive): Likewise.
23679         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
23680         __mq_timedreceive instead of mq_timedreceive.
23681         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
23682         instead of mq_timedsend.
23683         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
23684         Remove variable.
23686         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
23687         hidden_def and hidden_weak instead of libc_hidden_def and
23688         libc_hidden_weak.
23689         (top level): Refer to hidden_def in comment.
23690         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
23691         macro.  Use it instead of libc_hidden_def.
23692         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
23693         specify __GI_* name explicitly.
23694         (mq_timedreceive): Likewise.
23695         (mq_setattr): Likewise.
23697         [BZ #18544]
23698         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
23699         __pthread_barrier_init and define as weak alias of
23700         __pthread_barrier_init.
23701         * sysdeps/sparc/nptl/pthread_barrier_init.c
23702         (pthread_barrier_init): Likewise.
23703         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
23704         __pthread_barrier_wait and define as weak alias of
23705         __pthread_barrier_wait.
23706         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23707         (pthread_barrier_wait): Likewise.
23708         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23709         (pthread_barrier_wait): Likewise.
23710         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
23711         (pthread_barrier_wait): Likewise.
23712         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
23713         (pthread_barrier_wait): Likewise.
23714         * nptl/Versions (libpthread): Export __pthread_barrier_init and
23715         __pthread_barrier_wait at version GLIBC_PRIVATE.
23716         * include/pthread.h (__pthread_barrier_init): Declare.
23717         (__pthread_barrier_wait): Likewise.
23718         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
23719         Call __pthread_barrier_wait instead of pthread_barrier_wait.
23720         (helper_thread): Likewise.
23721         (init_mq_netlink): Call __pthread_barrier_init instead of
23722         pthread_barrier_init.
23724         [BZ #18542]
23725         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
23726         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
23727         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
23728         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
23729         vswscanf.
23730         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
23731         Remove variable.
23733         [BZ #18540]
23734         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
23735         strong alias of _IO_fflush.  Use libc_hidden_def.
23736         * libio/iofflush_u.c (fflush_unlocked): Rename to
23737         __fflush_unlocked and define as weak alias of __fflush_unlocked.
23738         Use libc_hidden_weak.
23739         * include/stdio.h (__fflush_unlocked): Declare.  Use
23740         libc_hidden_proto.
23741         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
23742         fflush_unlocked.
23743         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
23744         Remove variable.
23746         [BZ #18539]
23747         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
23748         define as weak alias of __addseverity.
23749         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
23750         Remove variable.
23751         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23752         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23753         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23755         [BZ #18536]
23756         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
23757         (__tfind): Likewise.
23758         (__tdelete): Likewise.
23759         (__twalk): Likewise.
23760         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
23761         __twalk to GLIBC_PRIVATE.
23762         * include/search.h (__tsearch): Use libc_hidden_proto.
23763         (__tfind): Likewise.
23764         (__tdelete): Likewise.
23765         (__twalk): Likewise.
23766         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
23767         Call __tdelete instead of tdelete.
23768         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
23769         tfind.  Call __tsearch instead of tsearch.
23770         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
23771         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
23772         Remove variable.
23773         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23775         [BZ #18534]
23776         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
23777         (dprintf): Define as a weak alias of __dprintf, not a strong
23778         alias.
23779         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
23780         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
23781         dprintf.
23782         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
23783         Remove variable.
23784         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23785         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23787         [BZ #18533]
23788         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
23789         not a strong alias.
23790         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
23791         Remove variable.
23793         [BZ #18532]
23794         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
23795         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
23796         (in6addr_loopback): Rename to __in6addr_loopback and define as
23797         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
23798         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
23799         libc_hidden_proto.
23800         (__in6addr_any): Likewise.
23801         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
23802         in6addr_any.
23803         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
23804         variable.
23805         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23807 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23809         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
23810         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
23811         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23812         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23813         redirections for pow.
23814         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23815         * sysdeps/x86_64/fpu/Versions: New versions added.
23816         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23817         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23818         build of SSE, AVX2 and AVX512 IFUNC versions.
23819         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
23820         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
23821         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
23822         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
23823         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
23824         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
23825         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
23826         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
23827         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
23828         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
23829         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
23830         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
23831         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
23832         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
23833         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23834         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23835         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23836         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23837         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23838         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23839         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23840         * NEWS: Mention addition of x86_64 vector pow.
23842         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23843         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23844         redirections for expf.
23845         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23846         * sysdeps/x86_64/fpu/Versions: New versions added.
23847         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23848         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23849         build of SSE, AVX2 and AVX512 IFUNC versions.
23850         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
23851         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
23852         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
23853         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
23854         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
23855         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
23856         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
23857         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
23858         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
23859         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
23860         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
23861         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
23862         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
23863         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23864         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23865         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23866         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23867         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23868         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23869         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23870         * NEWS: Mention addition of x86_64 vector expf.
23872         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
23873         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
23874         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23875         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23876         redirections for exp.
23877         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23878         * sysdeps/x86_64/fpu/Versions: New versions added.
23879         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23880         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23881         build of SSE, AVX2 and AVX512 IFUNC versions.
23882         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
23883         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
23884         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
23885         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
23886         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
23887         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
23888         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
23889         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
23890         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
23891         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
23892         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
23893         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
23894         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
23895         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23896         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23897         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23898         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23899         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23900         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23901         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23902         * NEWS: Mention addition of x86_64 vector exp.
23904         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23905         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23906         redirections for logf.
23907         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23908         * sysdeps/x86_64/fpu/Versions: New versions added.
23909         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23910         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23911         build of SSE, AVX2 and AVX512 IFUNC versions.
23912         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
23913         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
23914         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
23915         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
23916         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
23917         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
23918         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
23919         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
23920         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
23921         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
23922         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
23923         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
23924         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
23925         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23926         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23927         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23928         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23930         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23931         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23932         * NEWS: Mention addition of x86_64 vector logf.
23934         * bits/libm-simd-decl-stubs.h: Added stubs for log.
23935         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
23936         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23937         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23938         redirections for log.
23939         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23940         * sysdeps/x86_64/fpu/Versions: New versions added.
23941         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23942         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23943         build of SSE, AVX2 and AVX512 IFUNC versions.
23944         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23945         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23946         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23947         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23948         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23949         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23950         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23951         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23952         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23953         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23954         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23955         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23956         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23957         test.
23958         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23959         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23960         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23961         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23962         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23963         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23964         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23965         * NEWS: Mention addition of x86_64 vector log.
23967 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23969         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23970         cfi_adjust_cfa_offset argument.
23971         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23972         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23974         [BZ #18034]
23975         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23976         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23977         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23978         ordering using ldar.
23979         (_dl_tlsdesc_dynamic): Likewise.
23980         (_dl_tlsdesc_return_lazy): Likewise.
23981         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23982         relaxed atomics instead of volatile and synchronize with release store.
23983         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23984         volatile.
23985         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23987 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23989         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23990         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23991         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23992         * sysdeps/x86_64/fpu/Versions: New versions added.
23993         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23994         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23995         build of SSE, AVX2 and AVX512 IFUNC versions.
23996         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23997         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23998         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23999         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24000         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24001         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24002         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24003         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24004         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24005         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24006         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24007         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24008         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24009         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24010         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24011         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24012         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24013         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24014         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24015         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24016         * NEWS: Mention addition of x86_64 vector sinf.
24018 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
24020         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24021         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24022         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24023         Remove variable.
24024         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24025         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24027 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24029         [BZ #18530]
24030         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24031         strong alias of _IO_fputs.  Use libc_hidden_def.
24032         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24033         and define as weak alias of __fputs_unlocked.  Use
24034         libc_hidden_weak.
24035         * include/stdio.h (__fputs_unlocked): Declare.  Use
24036         libc_hidden_proto.
24037         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24038         fputs_unlocked.
24040         [BZ #18529]
24041         * resolv/netdb.h [__USE_POSIX]: Change condition to
24042         [__USE_XOPEN2K].
24043         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24044         not expect.
24045         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24046         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24047         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24048         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24049         [XPG4 || UNIX98] (AI_ALL): Likewise.
24050         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24051         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24052         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24053         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24054         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24055         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24056         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24057         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24058         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24059         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24060         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24061         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24062         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24063         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24064         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24065         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24066         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24067         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24068         [XPG4 || UNIX98] (gai_strerror): Likewise.
24069         [XPG4 || UNIX98] (getaddrinfo): Likewise.
24070         [XPG4 || UNIX98] (getnameinfo): Likewise.
24072         [BZ #18528]
24073         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24074         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24075         __USE_XOPEN2K8].
24076         (getgrent): Likewise.
24077         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24078         expect.
24079         [XPG3 || POSIX2008] (endgrent): Likewise.
24080         [XPG3] (setgrent): Likewise.
24081         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24082         variable.
24083         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24085         [BZ #18527]
24086         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24087         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
24088         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24089         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24090         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24091         * include/unistd.h (__getlogin_r): Declare.  Use
24092         libc_hidden_proto.
24093         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24094         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24095         variable.
24096         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24097         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24098         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24100 2015-06-12  Martin Sebor  <msebor@redhat.com>
24102         [BZ #18512]
24103         * Makerules (check-install-supported): New target.
24104         (install): Add check-install-supported as a dependency.
24105         * manual/install.texi (Installing the C Library): Document
24106         that overriding prefix and exec_prefix is not supported.
24107         Mention DESTDIR.
24108         * INSTALL: Regenerate from the above.
24110 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24112         [BZ #18519]
24113         * posix/Versions (libc): Export __libc_pread at version
24114         GLIBC_PRIVATE.
24115         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24116         instead of pread.
24117         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24118         variable.
24120         [BZ #18522]
24121         * misc/efgcvt_r.c
24122         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24123         (cvt_symbol): Use weak_alias instead of strong_alias.
24124         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24125         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24126         Remove variable.
24127         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24128         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24130         [BZ #18520]
24131         * inet/herrno.c (h_errno): Rename to __h_errno.
24132         (__libc_h_errno): Define as alias of __h_errno not h_errno.
24133         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24134         to __h_errno instead of h_errno.
24135         * nptl/herrno.c (h_errno): Rename to __h_errno.
24136         (__h_errno_location): Refer to __h_errno not h_errno.
24137         * resolv/Versions (h_errno): Rename to __h_errno.
24138         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24139         Remove variable.
24140         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24142 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
24144         * configure.ac: More strict check for AVX512 assembler support.
24145         * configure: Regenerated.
24147         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24148         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24149         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24150         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24151         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24152         * sysdeps/x86_64/fpu/Versions: New versions added.
24153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24154         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24155         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24156         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24157         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24158         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24159         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24160         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24161         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24162         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24163         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24164         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24165         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24166         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24167         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24168         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24169         test.
24170         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24171         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24172         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24173         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24174         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24175         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24176         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24177         * NEWS: Mention addition of x86_64 vector sin.
24179 2015-06-11  Florian Weimer  <fweimer@redhat.com>
24181         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24182         comment.
24184 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24186         [BZ #18479]
24187         * nptl/pt-interp.c: New file.
24188         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24189         Add pt-interp.
24190         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24191         $(common-objpfx)runtime-linker.h.
24193 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
24195         * Makeconfig (+interp): Remove unused variable.
24196         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24197         only.  Depend on $(common-objpfx)runtime-linker.h instead of
24198         $(elf-objpfx)runtime-linker.h.
24199         ($(elf-objpfx)runtime-linker.h): Rename to
24200         $(common-objpfx)runtime-linker.h and move ...
24201         * Makerules [$(build-shared) = yes]: ... here.
24202         * elf/interp.c: Include <runtime-linker.h> instead of
24203         <elf/runtime-linker.h>.
24205 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24207         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24208         (__gettimeofday_syscall): Remove vsyscall fallback.
24209         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24210         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24211         Add syscall fallback function.
24212         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24213         if vDSO is not present.
24214         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24215         fallback function.
24216         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24217         present.
24218         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24219         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24221 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
24223         [BZ #18497]
24224         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
24225         of wcscmp.
24226         (wcscmp): Define as weak alias of WCSCMP.
24227         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
24228         wcscoll.
24229         (USE_HIDDEN_DEF): Define.
24230         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
24231         __wcscoll.  Don't use libc_hidden_weak.
24232         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
24233         wcscmp.
24234         * sysdeps/i386/i686/multiarch/wcscmp-c.c
24235         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
24236         __GI_wcscmp.
24237         (weak_alias): Undefine and redefine.
24238         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
24239         __wcscmp and define as weak alias of __wcscmp.
24240         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
24241         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
24242         (__wcscoll): Likewise.
24243         (wcscmp): Don't use libc_hidden_proto.
24244         (wcscoll): Likewise.
24245         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
24246         wcscoll.
24247         * posix/regexec.c (check_node_accept_bytes): Likewise.
24248         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
24249         variable.
24250         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24251         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24253         [BZ #18507]
24254         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
24255         __fstatvfs and define as weak alias of __fstatvfs.  Use
24256         libc_hidden_weak.
24257         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
24258         and define as weak alias of __statvfs.  Use libc_hidden_weak.
24259         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
24260         Define as alias of __fstatvfs, not fstatvfs.
24261         (fstatvfs64): Likewise.
24262         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
24263         Define as alias of __statvfs, not statvfs.
24264         (statvfs64): Likewise.
24265         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
24266         Remove variable.
24268 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24271         (HAVE_GETCPU_VSYSCALL): Define.
24272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24273         (HAVE_GETCPU_VSYSCALL): Likewise.
24274         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
24275         * sysdeps/unix/sysv/linux/sched_getcpu.c
24276         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
24277         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
24278         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
24279         prototype.
24280         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24281         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
24282         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
24283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
24284         Define.
24285         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
24286         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24287         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
24288         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24290 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
24292         * sysdeps/x86_64/fpu/Makefile: New file.
24293         * sysdeps/x86_64/fpu/Versions: New file.
24294         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
24295         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
24296         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
24297         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
24298         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
24299         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
24300         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
24301         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
24302         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
24303         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
24304         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
24305         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
24306         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
24307         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24308         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24309         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
24310         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
24311         * sysdeps/x86_64/configure.ac: Options for libmvec build.
24312         * sysdeps/x86_64/configure: Regenerated.
24313         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
24314         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
24315         * manual/install.texi (Configuring and compiling): Document
24316         --disable-mathvec.
24317         * INSTALL: Regenerated.
24318         * NEWS: Mention addition of libmvec and x86_64 vector cos.
24320         * math/Makefile: Added rules for vector tests.
24321         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
24322         declaration under condition.
24323         * math/test-double-vlen2.h: New file.
24324         * math/test-double-vlen4.h: New file.
24325         * math/test-double-vlen8.h: New file.
24326         * math/test-vec-loop.h: Added initialization macro.
24327         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
24328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
24329         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
24330         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
24331         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
24332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
24333         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
24334         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
24335         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
24336         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
24337         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
24339         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24340         * sysdeps/x86_64/fpu/Versions: New versions added.
24341         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
24342         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
24343         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
24344         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
24345         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
24346         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
24347         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
24348         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
24349         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
24350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
24351         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
24352         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
24353         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
24354         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24355         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24356         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24357         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
24358         * NEWS: Mention addition of x86_64 vector cosf.
24360         * math/Makefile: Added CFLAGS for new tests.
24361         * math/test-float-vlen16.h: New file.
24362         * math/test-float-vlen4.h: New file.
24363         * math/test-float-vlen8.h: New file.
24364         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
24365         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
24366         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24367         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
24368         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
24369         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
24370         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
24371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
24372         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
24373         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
24374         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
24376 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
24378         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
24379         * locale/programs/ld-ctype.c: Likewise.
24381 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
24383         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
24384         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
24385         bit_ZMM16_31_state): New macro.
24386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24387         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
24389 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
24391         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
24393 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
24395         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
24397 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
24399         [BZ #18498]
24400         * libio/memstream.c (open_memstream): Rename to __open_memstream
24401         and define as weak alias of __open_memstream.
24402         * include/stdio.h (__open_memstream): Declare.  Use
24403         libc_hidden_proto.
24404         (open_memstream): Don't use libc_hidden_proto.
24405         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
24406         open_memstream.
24407         * posix/getopt.c (_getopt_internal_r): Likewise.
24408         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
24409         variable.
24410         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24411         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24412         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24414         [BZ #18496]
24415         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
24416         instead of wcrtomb.
24418         [BZ #18483]
24419         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
24420         [__USE_XOPEN2K8].  Remove redundant #endif.
24421         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
24422         Remove redundant #if.
24423         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
24424         Remove variable.
24425         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24426         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24428         [BZ #18495]
24429         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
24430         (__iswlower): Likewise.
24431         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
24432         (__iswlower): Likewise.
24433         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
24434         instead of towlower.
24435         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
24436         instead of iswlower.  Call __towupper instead of towupper.
24437         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
24438         instead of iswalnum.
24440 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24442         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
24443         errors to stderr.
24445 2015-06-05  Florian Weimer  <fweimer@redhat.com>
24447         [BZ #15661]
24448         [BZ #17322]
24449         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24450         Check for overflow properly.  Check for O_APPEND.  Ignore large
24451         file system block sizes.  Add comments about problems.
24452         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
24453         * manual/filesys.texi (Storage Allocation): New node.
24455 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24457         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
24458         cancellable syscalls.
24459         (SYS_ify): Add guard to no redefine it.
24460         (INLINE_SYSCALL): Likewise.
24461         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
24462         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
24463         SYSCALL_CANCEL instead.
24464         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
24465         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24466         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24467         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24468         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24469         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
24470         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
24471         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
24472         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24473         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24474         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
24475         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
24476         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
24477         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
24478         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
24479         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24480         Likewise.
24481         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24482         (__libc_pread64): Likewise.
24483         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
24484         (__libc_preadv): Likewise.
24485         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
24486         (__libc_readv64): Likewise.
24487         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24488         (__libc_pwrite): Likewise.
24489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24490         (__libc_pwrite64): Likewise.
24491         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
24492         (__libc_pwritev): Likewise.
24493         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
24494         (__libc_pwritev64): Likewise.
24495         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
24496         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24497         (sync_file_range): Likewise.
24498         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
24499         Likewise.
24500         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
24501         Likewise.
24502         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24503         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24504         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24505         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24506         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24507         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24508         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24509         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
24510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24511         Likewise.
24512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24513         (__libc_read64): Likewise.
24514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
24515         Likewise.
24516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
24517         Likewise.
24518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
24519         Likewise.
24520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
24521         Likewise.
24522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24523         (__libc_pread64): Likewise.
24524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
24525         Likewise.
24526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24527         (__libc_pwrite64): Likewise.
24528         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
24529         (sync_file_range): Likewise.
24530         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
24531         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24532         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24533         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
24534         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
24535         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24536         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24537         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
24538         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
24539         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24540         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24541         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24542         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24543         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24544         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
24545         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24546         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24547         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24548         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24549         Likewise.
24550         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
24551         Likewise.
24552         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
24553         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
24554         Likewise.
24555         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
24556         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
24557         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
24558         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
24559         Likewise.
24560         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
24561         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
24562         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
24563         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
24564         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
24566 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
24568         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
24569         Include dl-vdso.
24570         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
24571         Use VDSO routines for gettimeofday, clock_gettime if
24572         available.
24573         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
24574         Declare VDSO symbols.
24575         * sysdeps/unix/sysv/linux/arm/sysdep.h:
24576         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
24577         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24578         * sysdeps/unix/sysv/linux/arm/Versions: Add
24579         __vdso_clock_gettime.
24581 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24583         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
24584         be an inline implementation regardless of library is built within.
24585         (open_not_cancel_2): Likewise.
24586         (__read_nocancel): Likewise.
24587         (__write_nocancel): Likewise.
24588         (openat_not_cancel): Likewise.
24589         (openat_not_cancel_3): Likewise.
24590         (openat64_not_cancel): Likewise.
24591         (openat64_not_cancel_3): Likewise.
24592         (__close_nocancel): Likewise.
24593         (pause_not_cancel): Likewise.
24594         (nanosleep_not_cancel): Likewise.
24595         (sigsuspend_not_cancel): Likewise.
24597 2015-06-04  Torvald Riegel  <triegel@redhat.com>
24599         [BZ #14958]
24600         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
24601         wake-up.
24602         (__pthread_rwlock_rdlock_slow): Likewise.
24603         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24604         Likewise.
24605         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
24606         Likewise.
24607         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
24608         * nptl/tst-rwlock16.c: New file.
24609         * nptl/Makefile (tests): Add new test.
24611 2015-06-04  Torvald Riegel  <triegel@redhat.com>
24613         [BZ #18324]
24614         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
24615         missing wake-up of readers.
24616         * nptl/tst-rwlock15.c: New file.
24617         * nptl/Makefile (tests): Add new test.
24619 2015-06-03  Roland McGrath  <roland@hack.frob.com>
24621         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
24622         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
24623         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
24624         and __nacl_supply_interface_rtld.
24625         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
24626         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
24627         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
24628         Add __nacl_supply_interface_rtld.
24629         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
24631 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
24633         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
24634         isfinite.
24635         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24636         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
24638 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
24640         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
24641         __signbit* with standard C99 macros.
24642         * math/e_exp10l.c: Likewise.
24643         * math/e_exp2l.c: Likewise.
24644         * math/e_scalb.c: Likewise.
24645         * math/e_scalbf.c: Likewise.
24646         * math/e_scalbl.c: Likewise.
24647         * math/s_ldexp.c: Likewise.
24648         * math/s_ldexpf.c: Likewise.
24649         * math/s_ldexpl.c: Likewise.
24650         * math/w_atan2.c: Likewise.
24651         * math/w_atan2f.c: Likewise.
24652         * math/w_atan2l.c: Likewise.
24653         * math/w_cosh.c: Likewise.
24654         * math/w_coshf.c: Likewise.
24655         * math/w_coshl.c: Likewise.
24656         * math/w_exp10.c: Likewise.
24657         * math/w_exp10f.c: Likewise.
24658         * math/w_exp10l.c: Likewise.
24659         * math/w_exp2.c: Likewise.
24660         * math/w_exp2f.c: Likewise.
24661         * math/w_exp2l.c: Likewise.
24662         * math/w_fmod.c: Likewise.
24663         * math/w_fmodf.c: Likewise.
24664         * math/w_fmodl.c: Likewise.
24665         * math/w_hypot.c: Likewise.
24666         * math/w_hypotf.c: Likewise.
24667         * math/w_hypotl.c: Likewise.
24668         * math/w_jnl.c: Likewise.
24669         * math/w_lgamma.c: Likewise.
24670         * math/w_lgamma_r.c: Likewise.
24671         * math/w_lgammaf.c: Likewise.
24672         * math/w_lgammaf_r.c: Likewise.
24673         * math/w_lgammal.c: Likewise.
24674         * math/w_lgammal_r.c: Likewise.
24675         * math/w_pow.c: Likewise.
24676         * math/w_powf.c: Likewise.
24677         * math/w_powl.c: Likewise.
24678         * math/w_remainder.c: Likewise.
24679         * math/w_remainderf.c: Likewise.
24680         * math/w_remainderl.c: Likewise.
24681         * math/w_scalb.c: Likewise.
24682         * math/w_scalbf.c: Likewise.
24683         * math/w_scalbl.c: Likewise.
24684         * math/w_scalbln.c: Likewise.
24685         * math/w_scalblnf.c: Likewise.
24686         * math/w_scalblnl.c: Likewise.
24687         * math/w_sinh.c: Likewise.
24688         * math/w_sinhf.c: Likewise.
24689         * math/w_sinhl.c: Likewise.
24690         * math/w_tgamma.c: Likewise.
24691         * math/w_tgammaf.c: Likewise.
24692         * math/w_tgammal.c: Likewise.
24693         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24694         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
24695         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24696         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24697         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24698         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24699         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24700         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24701         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24702         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24703         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24704         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24705         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24706         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24707         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24708         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24709         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24710         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24711         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24712         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24713         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24714         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24715         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24717         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24718         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24719         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
24720         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24721         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24722         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24723         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
24724         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
24725         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
24726         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
24727         * stdio-common/printf_fp.c: Likewise.
24728         * stdio-common/printf_fphex.c: Likewise.
24729         * stdio-common/printf_size.c: Likewise.
24731 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
24733         [BZ #18470]
24734         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
24735         strnlen.
24736         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
24737         Remove variable.
24738         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24739         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24740         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24741         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24742         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24743         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24744         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24745         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24746         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24747         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24749         [BZ #18468]
24750         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
24751         weak alias of __wmemchr.  Use libc_hidden_weak.
24752         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
24753         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
24754         instead of wmemchr.
24756 2015-06-02  Roland McGrath  <roland@hack.frob.com>
24758         [BZ #18383]
24759         * elf/tst-tlsalign-extern.c: New file.
24760         * elf/tst-tlsalign-extern-static.c: New file.
24761         * elf/tst-tlsalign-vars.c: New file.
24762         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
24763         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
24764         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
24765         ($(objpfx)tst-tlsalign-extern-static): Likewise.
24766         (test-xfail-tst-tlsalign-extern-static): New variable.
24768 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
24770         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
24771         Use variable name _sc_err instead of err.
24772         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
24773         instead of ret.
24774         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
24775         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
24776         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
24777         (INLINE_SYSCALL): Likewise.
24779         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
24780         * include/string.h (__strnlen): Use libc_hidden_proto.
24781         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
24782         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
24783         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
24784         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
24785         (libc_hidden_def): Undefine and redefine.
24786         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
24787         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
24788         __GI_strnlen.
24789         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
24790         libc_hidden_def.
24791         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
24793         [BZ #18469]
24794         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
24795         weak alias of __towlower.  Use libc_hidden_weak.
24796         (towupper): Rename to __towupper and define as weak alias of
24797         __towupper.  Use libc_hidden_weak.
24798         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
24799         (__towupper): Likewise.
24800         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
24801         __towlower instead of towlower.
24803 2015-06-02  Roland McGrath  <roland@hack.frob.com>
24805         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
24806         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
24808 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24810         * sysdeps/aarch64/libm-test-ulps: Update.
24812 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24814         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
24815         Define.
24816         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24817         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24818         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24819         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24820         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
24821         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
24822         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
24824 2015-06-01  Martin Sebor  <msebor@redhat.com>
24826         [BZ #18116]
24827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24828         (__setcontext): Use extended four-operand version of mtsf whenever
24829         possible.
24830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24831         (__novec_swapcontext): Likewise.
24833 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24835         * benchtests/scripts/compare_bench.py: New file.
24836         * benchtests/scripts/import_bench.py (mean): New function.
24837         (split_list): Likewise.
24838         (do_for_all_timings): Likewise.
24839         (compress_timings): Likewise.
24841         * benchtests/scripts/import_bench.py: New file.
24842         * benchtests/scripts/validate_benchout.py: Import import_bench
24843         instead of jsonschema.
24844         (validate_bench): Remove function.
24845         (main): Use import_bench.
24847 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
24849         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
24850         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
24852 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24856 2015-05-28  Roland McGrath  <roland@hack.frob.com>
24858         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
24859         set THREAD_SELF->tid to a magic value and futex-wake it.
24860         Pass its address to the thread_exit system call.
24861         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
24862         bit is clear.
24863         * sysdeps/nacl/lowlevellock.h: New file.
24864         * sysdeps/nacl/lll_timedwait_tid.c: New file.
24866         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
24867         Add TIMEOUT to current time, don't subtract it.
24869 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
24871         [BZ #2981]
24872         [BZ #18422]
24873         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
24874         ($(objpfx)tst-audit2.out): Also depend on
24875         $(objpfx)tst-auditmod9b.so.
24876         * elf/tst-audit2.c: Include <dlfcn.h>.
24877         (calloc_called): New.
24878         (calloc): Allow to be called more than once.
24879         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
24881 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
24883         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
24884         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
24886 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
24888         * stdlib/monetary.h: Fix comment.
24890 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
24892         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
24893         Avoid using variables in #defines that might cause shadowing.
24894         (INTERNAL_VSYSCALL_CALL): Likewise.
24896 2015-05-26  Roland McGrath  <roland@hack.frob.com>
24898         * sysdeps/nacl/lll_timedlock_wait.c: New file.
24900         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
24901         * nptl/lll_timedlock_wait.c: ... to this new file.
24902         * nptl/Makefile (libpthread-routines): Add it.
24903         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
24904         * nptl/lll_timedwait_tid.c: ... to this new file.
24905         * nptl/Makefile (libpthread-routines): Add it.
24906         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
24907         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
24908         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
24909         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
24910         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
24911         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
24912         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
24913         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
24914         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
24915         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
24917 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24919         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
24920         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24921         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24922         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
24923         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
24924         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24925         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24926         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24927         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24928         * sysdeps/unix/sysv/linux/tile/sysdep.h
24929         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24930         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
24931         using vDSO syscall macro.
24933 2015-05-26  Andriy Rysin  <arysin@gmail.com>
24935         [BZ #17293]
24936         * uk_UA: Fix sorting order for Ukrainian locale
24938 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
24940         * stdlib/monetary.h: Fix comment.
24942 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24944         [BZ #18234]
24945         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24946         st_mtim and st_ctim members.
24947         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24948         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24949         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24950         (struct stat64): Likewise.
24951         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24952         (struct stat64): Likewise.
24953         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24954         (struct stat64): Likewise.
24956 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24958         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24959         Define and include sysdep-vdso.h.
24960         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24961         Likewise.
24962         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24963         Likewise.
24964         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24965         Define with VDSO_SYMBOL and use PTR_MANGLE.
24966         (__vdso_clock_gettime): Likewise.
24967         (__vdso_clock_getres): Likewise.
24968         (_libc_vdso_platform_setup): Likewise.
24969         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24970         Likewise.
24971         (_libc_vdso_platform_setup): Likewise.
24972         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24973         Likewise.
24974         (__vdso_clock_gettime): Likewise.
24975         (__vdso_clock_getres): Likewise.
24976         (__vdso_get_tbfreq): Likewise.
24977         (__vdso_getcpu): Likewise.
24978         (__vdso_time): Likewise.
24979         (__vdso_sigtramp_rt64): Likewise.
24980         (__vdso_signtramp32): Likewise.
24981         (__vdso_sigtramp_rt32): Likewise.
24982         (_libc_vdso_platform_setup): Likewise.
24983         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24984         Likewise.
24985         (__vdso_clock_gettime): Likewise.
24986         (__vdso_clock_getres): Likewise.
24987         (_libc_vdso_platform_setup): Likewise.
24988         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24989         Likewise.
24990         (__vdso_clock_gettime): Likewise.
24991         (_libc_vdso_platform_setup): Likewise.
24992         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24993         Likewise.
24994         (__vdso_getcpu): Likewise.
24995         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24996         Use VDSO_SYMBOL macro to define.
24997         (__vdso_clock_gettime): Likewise.
24998         (__vdso_clock_getres): Likewise.
24999         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25000         Likewise.
25001         (__vdso_clock_gettime): Likewise.
25002         (__vdso_clock_getres): Likewise.
25003         (__vdso_get_tbfreq): Likewise.
25004         (__vdso_getcpu): Likewise.
25005         (__vdso_time): Likewise.
25006         (__vdso_sigtramp_rt64): Likewise.
25007         (__vdso_signtramp32): Likewise.
25008         (__vdso_sigtramp_rt32): Likewise.
25009         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25010         Likewise.
25011         (__vdso_clock_gettime): Likewise.
25012         (__vdso_clock_getres): Likewise.
25013         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25014         Likewise.
25015         (__vdso_clock_gettime): Likewise.
25016         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25017         Likewise.
25018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
25019         macro.
25020         (INTERNAL_VSYSCALL): Likewise.
25021         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25022         Remove macro.
25023         (INTERNAL_VSYSCALL): Likewise.
25024         (INTERNAL_VSYSCALL_NCS): Likewise.
25025         (INTERNAL_VSYSCALL_CALL): New macro.
25026         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25027         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25028         Likewise.
25029         (INTERNAL_VSYSCALL): Likewise.
25030         (INTERNAL_VSYSCALL_NCS): Likewise.
25031         (INTERNAL_VSYSCALL_CALL): New macro.
25032         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25034         (INLINE_VSYSCALL): Remove macro.
25035         (INTERNAL_VSYSCALL): Remove macro.
25036         (INTERNAL_VSYSCALL_NCS): Remove macro.
25037         (INTERNAL_VSYSCALL_CALL): New macro.
25038         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25039         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25040         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25041         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25042         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25044         (INLINE_VSYSCALL): Remove macro.
25045         (INTERNAL_VSYSCALL): Likewise.
25046         (INTERNAL_VSYSCALL_NCS): Likewise.
25047         (INTERNAL_VSYSCALL_CALL): New macro.
25048         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25049         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25050         PTR_DEMANGLE on vDSO pointer.
25051         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25052         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25053         macro.
25054         (INTERNAL_SYSCALL): Likewise.
25055         (INTERNAL_VSYSCALL_NCS): Remove macro.
25056         (INTERNAL_VSYSCALL_CALL): New macro.
25057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25058         Remove macro.
25059         (INTERNAL_VSYSCALL): Likewise.
25060         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25061         sysdep-vdso.h instead of libc-vdso.h.
25062         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25063         definition.
25064         (INLINE_VSYSCALL): Likewise.
25065         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25066         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25067         definition.
25068         (INLINE_VSYSCALL): Likewise.
25069         (INTERNAL_VSYSCALL): Likewise.
25070         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25071         * sysdeps/unix/sysv/linux/timespec_get.c
25072         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25073         (timespec_get): Use ANSI prototype.
25074         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25075         and definition for Linux.
25077 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25079         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25080         * include/libc-symbols.h: libmvec_hidden_* macro series added.
25082 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25084         [BZ #2981]
25085         [BZ #18410]
25086         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25087         for missing DT_PLTRELSZ.
25089 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25091         Remove obsolete aliases that broke 'locale -a'
25092         [BZ #18412]
25093         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25094         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25095         breaking some applications that use 'locale -a' output.
25096         Change the encoding of this file from Latin-1 to ASCII to avoid
25097         other potential problems with people grepping this file.
25099 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25101         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25102         -fasynchronous-unwind-tables.
25103         (CFLAGS-sendto.c): Likewise.
25104         (CFLAGS-sendmsg.c): Likewise.
25105         (CFLAGS-connect.c): Likewise.
25106         (CFLAGS-recvmsg.c): Likewise.
25107         (CFLAGS-recvfrom.c): Likewise.
25108         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25109         (SOCKETCALL): New macro: non-cancellable socketcall.
25110         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25111         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25112         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25113         * sysdeps/unix/sysv/linux/accept.c: New file.
25114         * sysdeps/unix/sysv/linux/bind.c: Likewise.
25115         * sysdeps/unix/sysv/linux/connect.c: Likewise.
25116         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25117         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25118         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25119         * sysdeps/unix/sysv/linux/listen.c: Likewise.
25120         * sysdeps/unix/sysv/linux/recv.c: Likewise.
25121         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25122         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25123         * sysdeps/unix/sysv/linux/send.c: Likewise.
25124         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25125         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25126         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25127         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25128         * sysdeps/unix/sysv/linux/socket.c: Likewise.
25129         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25130         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25131         prototype.
25132         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25133         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25134         instead of __internal_xxx function.
25135         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25136         prototype.
25137         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25138         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25139         instead of __internal_xxx function.
25140         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25141         prototype.
25142         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25143         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25144         instead of __internal_xxx function.
25145         * sysdeps/unix/sysv/linux/accept.S: Remove file.
25146         * sysdeps/unix/sysv/linux/bind.S: Likewise.
25147         * sysdeps/unix/sysv/linux/connect.S: Likewise.
25148         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25149         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25150         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25151         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25152         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25153         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25154         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25155         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25156         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25157         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25158         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25159         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25160         * sysdeps/unix/sysv/linux/listen.S: Likewise.
25161         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25162         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25163         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25164         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25167         * sysdeps/unix/sysv/linux/recv.S: Likewise.
25168         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25169         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25170         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25171         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25172         * sysdeps/unix/sysv/linux/send.S: Likewise.
25173         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25174         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25175         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25176         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25177         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25178         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25179         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25180         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25181         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25182         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25183         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25184         socketcall is implemented in GLIBC.
25186 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25188         * soft-fp/fmadf4.c: Include <libc-internal.h>.
25189         (__fma): Ignore uninitialized warnings around packing.
25190         * soft-fp/fmasf4.c: Include <libc-internal.h>.
25191         (__fmaf): Ignore uninitialized warnings around packing.
25192         * soft-fp/fmatf4.c: Include <libc-internal.h>.
25193         (__fmal): Ignore uninitialized warnings around packing.
25195         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25196         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25197         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25198         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25200         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25201         switch statement into default case.
25202         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25204         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25205         a conditional in forcing "inexact".
25206         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25207         Likewise.
25209 2015-05-22  Roland McGrath  <roland@hack.frob.com>
25211         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25212         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25213         for each INTERNAL_SYSCALL use.
25215 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25217         [BZ #438]
25218         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25219         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25220         variable.
25222         [BZ #18444]
25223         * string/basename.c (basename): Rename to __basename and define as
25224         weak alias of __basename.  Use libc_hidden_weak.
25225         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
25226         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
25227         __basename instead of basename.
25228         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
25229         Remove variable.
25230         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25232 2015-05-18  Florian Weimer  <fweimer@redhat.com>
25234         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
25235         (_IO_JUMPS_FILE_plus): New.
25236         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
25237         _IO_CAST_FIELD_ACCESS.
25238         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
25239         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
25240         * libio/freopen.c (freopen): Likewise.
25241         * libio/freopen64.c (freopen64): Likewise.
25242         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
25243         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
25244         * libio/iofwide.c (_IO_fwide): Likewise.
25245         * libio/memstream.c (open_memstream): Likewise.
25246         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25247         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25248         * libio/oldiopopen.c (_IO_old_popen): Likewise.
25250 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
25252         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
25253         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
25254         NADJ.
25255         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
25256         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
25257         NADJ.
25258         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
25259         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
25260         NADJ.
25262         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
25263         (p == 4) case.
25265         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
25266         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
25267         Remove variable.
25268         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25269         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25270         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25272 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25274         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
25275         Adjust jump table label generation macros.
25277 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25279         * stdio-common/vfprintf.c (vfprintf): Move local variables
25280         args_malloced, specs, specs_malloced, and the code after
25281         do_positional to the printf_positional function.
25282         (printf_positional): New function.
25284 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25286         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
25287         function.
25288         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
25289         STEP4_TABLE, process_arg): Move macro definitions
25290         out of the vfprintf function.  (Cosmetic change only.)
25292 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
25294         * benchtests/Makefile (stdio-common-bench): Define.
25295         (benchset): Add stdio-common-bench.
25296         * sprintf-inputs: New file.
25297         * sprintf-source.c: New file.
25299 2015-05-21  Andreas Schwab  <schwab@suse.de>
25301         [BZ #13028]
25302         [BZ #17053]
25303         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
25304         of struct __res_state.
25305         * resolv/res_send.c (__libc_res_nsend): Likewise.
25306         (get_nsaddr): New function.
25307         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
25308         statp directly.
25310 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
25312         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
25313         -D_POSIX_C_SOURCE=199506L.
25315         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
25317         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
25318         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
25319         Do not mention otherwise.
25320         [POSIX] (_XOPEN_VERSION): Do not expect.
25321         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
25322         [POSIX] (_POSIX2_C_BIND): Likewise.
25323         [POSIX] (_POSIX2_VERSION): Likewise.
25324         [POSIX] (_XOPEN_XPG2): Likewise.
25325         [POSIX] (_XOPEN_XPG3): Likewise.
25326         [POSIX] (_XOPEN_XPG4): Likewise.
25327         [POSIX] (_XOPEN_UNIX): Likewise.
25328         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
25329         [POSIX] (_POSIX_BARRIERS): Likewise.
25330         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
25331         [POSIX] (_POSIX_CPUTIME): Likewise.
25332         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
25333         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
25334         [POSIX] (_POSIX_SHELL): Likewise.
25335         [POSIX] (_POSIX_SPAWN): Likewise.
25336         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
25337         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
25338         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
25339         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
25340         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
25341         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
25342         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
25343         [POSIX] (_XBS5_LP64_OFF64): Likewise.
25344         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
25345         [POSIX] (_POSIX_TIMEOUTS): Likewise.
25346         [POSIX] (_POSIX2_PBS): Likewise.
25347         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
25348         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
25349         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
25350         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
25351         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
25352         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
25353         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
25354         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
25355         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
25356         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
25357         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
25358         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
25359         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
25360         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
25361         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
25362         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
25363         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
25364         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
25365         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
25366         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
25367         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
25368         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
25369         [POSIX] (_SC_2_C_BIND): Likewise.
25370         [POSIX] (_SC_2_C_VERSION): Likewise.
25371         [POSIX] (_SC_2_PBS): Likewise.
25372         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
25373         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
25374         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
25375         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
25376         [POSIX] (_SC_2_PBS_TRACK): Likewise.
25377         [POSIX] (_SC_ATEXIT_MAX): Likewise.
25378         [POSIX] (_SC_BARRIERS): Likewise.
25379         [POSIX] (_SC_BASE): Likewise.
25380         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
25381         [POSIX] (_SC_DEVICE_IO): Likewise.
25382         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
25383         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
25384         [POSIX] (_SC_FD_MGMT): Likewise.
25385         [POSIX] (_SC_FIFO): Likewise.
25386         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
25387         [POSIX] (_SC_FILE_LOCKING): Likewise.
25388         [POSIX] (_SC_FILE_SYSTEM): Likewise.
25389         [POSIX] (_SC_IOV_MAX): Likewise.
25390         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
25391         [POSIX] (_SC_NETWORKING): Likewise.
25392         [POSIX] (_SC_PAGE_SIZE): Likewise.
25393         [POSIX] (_SC_PASS_MAX): Likewise.
25394         [POSIX] (_SC_PIPE): Likewise.
25395         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
25396         [POSIX] (_SC_REGEXP): Likewise.
25397         [POSIX] (_SC_SHELL): Likewise.
25398         [POSIX] (_SC_SIGNALS): Likewise.
25399         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
25400         [POSIX] (_SC_SPIN_LOCKS): Likewise.
25401         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
25402         [POSIX] (_SC_USER_GROUPS): Likewise.
25403         [POSIX] (_SC_USER_GROUPS_R): Likewise.
25404         [POSIX] (_SC_STREAMS): Likewise.
25405         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
25406         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
25407         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
25408         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
25409         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
25410         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
25411         [POSIX] (_PC_FILESIZEBITS): Likewise.
25412         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
25413         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
25414         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
25415         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
25416         [POSIX] (uid_t): Likewise.
25417         [POSIX] (gid_t): Likewise.
25418         [POSIX] (off_t): Likewise.
25419         [POSIX] (pid_t): Likewise.
25420         [POSIX] (cuserid): Allow.
25421         (_SC_2_CHAR_TERM): Require constant.
25422         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
25423         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
25424         variable.
25426 2015-05-20  Roland McGrath  <roland@hack.frob.com>
25428         * sysdeps/nacl/pthread-pids.h: New file.
25429         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
25430         (create_thread): Use __nacl_get_tid to initialize PD->tid.
25432         * nptl/pthread-pids.h: New file.
25433         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
25434         * nptl/nptl-init.c: Include <pthread-pids.h>.
25435         (__pthread_initialize_minimal_internal):
25436         Call __pthread_initialize_pids instead of set_tid_address syscall.
25438         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
25439         * sysdeps/posix/usleep.c: ... here.
25441 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25443         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
25444         call_pselect6 object.
25445         [$(subdir) = io]: Remove call_sync_file_range object.
25446         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
25447         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
25448         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
25449         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
25451 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
25453         * math/s_cproj.c: Add include "math_private.h".
25454         * math/s_cprojf.c: Likewise.
25455         * math/s_cprojl.c: Likewise.
25457 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
25459         [BZ #18244]
25460         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
25461         high mantissa bit when testing whether P is a NaN.
25462         * math/libm-test.inc (remainder_test_data): Add more tests.
25463         (remquo_test_data): Likewise.
25465         [BZ #18049]
25466         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
25467         below -32, return the argument, with underflow if subnormal.
25468         * math/auto-libm-test-in: Add more tests of atanh.
25469         * math/auto-libm-test-out: Regenerated.
25471 2015-05-19  Roland McGrath  <roland@hack.frob.com>
25473         [BZ #18434]
25474         * nptl/tst-sem15.c: New file.
25475         * nptl/Makefile (tests): Add it.
25476         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
25477         s/<</>>/ to fix typo in EOVERFLOW check.
25478         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
25480 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25482         * manual/strings.texi (envz_remove): Fix typo in safety
25483         annotations.
25485 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
25486             Steve Ellcey  <sellcey@imgtec.com>
25488         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
25489         in order to avoid strict alias warnings.
25490         (iruserok_af): Ditto for ra.
25492 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
25494         [BZ #17581]
25495         * malloc/hooks.c
25496         (magicbyte): Convert to a function and avoid returning 0x01.
25497         (mem2mem_check): Avoid using a length byte equal to the magic byte.
25498         (mem2chunk_check): Fix unsigned comparisons to zero.
25499         Hoist defs of sz and magic.
25501 2015-05-19  Richard Henderson  <rth@redhat.com>
25503         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
25505         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25507 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25509         [BZ #16159]
25510         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
25511         * malloc/arena.c (arena_lock): Check if arena is corrupt.
25512         (reused_arena): Find a non-corrupt arena.
25513         (heap_trim): Pass arena to unlink.
25514         * malloc/hooks.c (malloc_check_get_size): Pass arena to
25515         malloc_printerr.
25516         (top_check): Likewise.
25517         (free_check): Likewise.
25518         (realloc_check): Likewise.
25519         * malloc/malloc.c (malloc_printerr): Add arena argument.
25520         (unlink): Likewise.
25521         (munmap_chunk): Adjust.
25522         (ARENA_CORRUPTION_BIT): New macro.
25523         (arena_is_corrupt): Likewise.
25524         (set_arena_corrupt): Likewise.
25525         (sysmalloc): Use mmap if there are no usable arenas.
25526         (_int_malloc): Likewise.
25527         (__libc_malloc): Don't fail if arena_get returns NULL.
25528         (_mid_memalign): Likewise.
25529         (__libc_calloc): Likewise.
25530         (__libc_realloc): Adjust for additional argument to
25531         malloc_printerr.
25532         (_int_free): Likewise.
25533         (malloc_consolidate): Likewise.
25534         (_int_realloc): Likewise.
25535         (_int_memalign): Don't touch corrupt arenas.
25536         * malloc/tst-malloc-backtrace.c: New test case.
25538         * Makefile (summarize-tests): Fix return value on success.
25540         * manual/string.texi (Envz Functions): Add envz_remove.
25542 2015-05-18  Roland McGrath  <roland@hack.frob.com>
25544         * sysdeps/posix/opendir.c: Include <stdbool.h>.
25545         (invalid_name): New function, broken out of ...
25546         (__opendirat): ... here.  Call it.
25547         (need_isdir_precheck): New function, broken out of ...
25548         (__opendirat): ... here.  Call it.
25549         Use __fxstatat64, not __xstatat64.
25550         (opendir_oflags): New function, broken out of ...
25551         (__opendirat): ... here.  Call it.
25552         (opendir_tail): New function, broken out of ...
25553         (__opendirat): ... here.  Call it.
25554         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
25555         opendir_tail, rather than punting to __opendirat.
25556         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
25558 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25560         * .gitignore: Ignore generated *.pyc.
25562 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
25564         * include/stdio.h: Define __need_wint_t.
25565         * test-skeleton.c: Avoid `for' loop initial declaration.
25566         * nptl/tst-initializers1.c: Use test-skeleton.c.
25568 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25570         [BZ #18418]
25571         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
25573 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
25575         [BZ #16352]
25576         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
25577         (__ieee754_atanh): Force underflow exception for results with
25578         small absolute value.
25579         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
25580         (__ieee754_atanhf): Force underflow exception for results with
25581         small absolute value.
25582         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
25583         (__ieee754_atanh): Force underflow exception for results with
25584         small absolute value.
25585         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
25586         (__ieee754_atanhf): Force underflow exception for results with
25587         small absolute value.
25588         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
25589         (__ieee754_atanhl): Force underflow exception for results with
25590         small absolute value.
25591         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
25592         (__ieee754_atanhl): Force underflow exception for results with
25593         small absolute value.
25594         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
25595         (__ieee754_atanhl): Force underflow exception for results with
25596         small absolute value.
25597         * math/auto-libm-test-in: Do not allow missing underflow
25598         exceptions from atanh.
25599         * math/auto-libm-test-out: Regenerated.
25601         [BZ #18221]
25602         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
25603         2**-28 as threshold for returning x or +/- 1/x.
25604         * math/auto-libm-test-in: Add more tests of tan.
25605         * math/auto-libm-test-out: Regenerated.
25607         [BZ #18220]
25608         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25609         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
25610         * math/auto-libm-test-in: Add another test of lgamma.
25611         * math/auto-libm-test-out: Regenerated.
25613 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
25615         * stdio-common/printf_fp.c (___printf_fp): Use abs.
25616         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
25617         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
25618         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
25619         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
25620         (ADD2A): Use fabs.  (SUB2A): Use fabs.
25621         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
25622         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
25623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
25624         (log1): Use fabs.  (my_log2): Use fabs.
25625         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
25626         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
25627         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
25628         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
25629         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
25630         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
25631         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
25632         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
25633         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
25634         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
25635         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
25637 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
25639         [BZ #18217]
25640         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
25641         as threshold for returning 1 - x.
25642         * math/auto-libm-test-in: Add more tests of erfc.
25643         * math/auto-libm-test-out: Regenerated.
25645 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
25647         [BZ #18196]
25648         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
25649         threshold for large arguments.
25650         * math/auto-libm-test-in: Add another test of atan.
25651         * math/auto-libm-test-out: Regenerated.
25653         [BZ #16339]
25654         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
25655         (__log1p): Force underflow exception for results with small
25656         absolute value.
25657         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
25658         (__log1pf): Force underflow exception for results with small
25659         absolute value.
25660         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
25661         (__log1p): Force underflow exception for results with small
25662         absolute value.
25663         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
25664         (__log1pf): Force underflow exception for results with small
25665         absolute value.
25666         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
25667         (__log1pl): Force underflow exception for results with small
25668         absolute value.
25669         * math/auto-libm-test-in: Do not allow missing underflow
25670         exceptions from log1p.
25671         * math/auto-libm-test-out: Regenerated.
25673 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
25674             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25676         [BZ #16704]
25677         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
25679 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
25681         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
25682         (libmvec): New variable.
25683         * configure.ac: Added option for mathvec build.
25684         * configure: Regenerated.
25685         * mathvec/Depend: New file.
25686         * mathvec/Makefile: New file.
25687         * shlib-versions: Added libmvec.
25688         * math/Makefile: Added rule for libm.so installation.
25690         * bits/math-vector.h: New file.
25691         * bits/libm-simd-decl-stubs.h: New header.
25692         * math/Makefile (headers): Added new header
25693         libm-simd-decl-stubs.h.
25694         * math/math.h (__MATHCALL_VEC): New macro.
25696         * math/gen-libm-have-vector-test.sh: Script generates series of macros
25697         for conditions in testing functions.
25698         * math/Makefile: Added call of libm-have-vector-test.sh.
25699         * math/libm-test.inc (HAVE_VECTOR): New macros.
25701         * math/libm-test.inc: START refactored.
25702         * math/test-double.c (TEST_MATHVEC): Add define.
25703         * math/test-float.c: Likewise.
25704         * math/test-idouble.c: Likewise.
25705         * math/test-ifloat.c: Likewise.
25706         * math/test-ildoubl.c: Likewise.
25707         * math/test-ldouble.c: Likewise.
25708         * sysdeps/generic/math-tests-arch.h
25709         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
25710         architecture check.
25712         * math/test-double.c (FUNC_TEST): New macro.
25713         * math/test-float.c: Likewise.
25714         * math/test-idouble.c: Likewise.
25715         * math/test-ifloat.c: Likewise.
25716         * math/test-ildoubl.c: Likewise.
25717         * math/test-ldouble.c: Likewise.
25718         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
25720 2015-05-13  Roland McGrath  <roland@hack.frob.com>
25722         * sysdeps/nacl/fdopendir.c: New file.
25724         * dirent/scandir-tail.c: New file.
25725         * dirent/scandir64-tail.c: New file.
25726         * dirent/Makefile (routines): Add them.
25727         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
25728         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
25729         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
25730         [!SCANDIR] (SCANDIR_TAIL): New macro.
25731         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
25732         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
25733         (SCANDIRAT): Macro removed.
25734         (SCANDIR_TAIL): New macro.
25735         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
25736         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
25737         (SCANDIRAT): Just call __opendirat and __scandir_tail.
25738         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
25739         (READDIR): Macro removed.
25740         (SCANDIR_TAIL): New macro.
25741         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
25742         (SCANDIR_TAIL): New macro.
25744         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
25745         * dirent/scandir-cancel.c: ... to this new file.
25746         * dirent/Makefile (routines): Add it.
25747         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
25748         * sysdeps/unix/sysv/linux/i386/scandir64.c
25749         (SKIP_SCANDIR_CANCEL): Macro removed.
25750         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
25752         * dirent/tst-scandir.c: New file.
25753         * dirent/tst-scandir64.c: New file.
25754         * dirent/Makefile (tests): Add them.
25756 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
25758         [BZ #18409]
25759         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
25761 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25763         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
25764         list.
25766 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
25768         * benchtests/bench-strcoll.c: New benchmark.
25769         * benchtests/Makefile: Generate locales and run benchmark.
25770         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
25771         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
25772         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
25773         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
25774         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
25775         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
25776         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
25777         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
25778         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
25779         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
25780         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
25781         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
25782         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
25783         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
25784         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
25785         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
25786         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
25787         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
25788         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
25789         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
25790         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
25791         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
25792         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
25793         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
25795 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
25797         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
25798         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25800 2015-05-12  Roland McGrath  <roland@hack.frob.com>
25802         * posix/uname-values.h: New file.
25803         * posix/uname.c: Include that instead of <config-name.h>.
25804         * sysdeps/nacl/uname-values.h: New file.
25805         * sysdeps/arm/nacl/uname-values.h: New file.
25807 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
25809         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
25810         splitting into fields.
25812 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
25814         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
25815         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
25816         * locale/localeinfo.h: Add enum collation_encoding_type.
25817         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
25818         * programs/ld-collate.c (collate_output): Add encoding type info.
25819         * string/strcoll_l.c (STRDIFF): New function.
25820         * (STRCOLL): Use STRDIFF to skip over equal prefix.
25821         * wcsmbs/wcscoll_l.c: Define STRDIFF.
25823 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
25825         [BZ #18397]
25826         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
25827         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
25828         <fpu_control.h> instead of <math/fpu_control.c>.
25829         * sysdeps/mips/mips32/fpu/Makefile: New file.
25831 2015-05-11  Andreas Schwab  <schwab@suse.de>
25833         [BZ #18007]
25834         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
25835         nss_endgrent.
25836         (_nss_compat_endgrent): Call nss_endgrent.
25837         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
25838         nss_endpwent.
25839         (_nss_compat_endpwent): Call nss_endpwent.
25840         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
25841         needent, call nss_setspent only if non-zero.
25842         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
25843         (internal_endspent): Don't call nss_endspent.
25844         (_nss_compat_endspent): Call nss_endspent.
25845         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
25846         Remove.  All uses removed.
25847         (internal_setent): Remove parameter stayopen, add parameter
25848         stream.  Use it instead of global variable.
25849         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
25850         (internal_endent, internal_getent): Add parameter stream.  Use it
25851         instead of global variable.
25852         (CONCAT(_nss_files_end,ENTNAME))
25853         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
25854         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
25855         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
25856         uses removed.
25857         (internal_setent, internal_endent): Add parameter stream.  Use it
25858         instead of global variable.
25859         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
25860         stream.
25861         (get_next_alias): Add parameter stream.
25862         (_nss_files_getaliasent_r): Pass global stream.
25863         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
25864         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
25865         (_nss_files_gethostbyname4_r): Pass local stream to
25866         internal_setent, internal_getent and internal_endent.  Remove
25867         locking.
25869 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25871         * tst-strfmon1.c (tests): Update expected currency symbol.
25873 2015-05-08  Roland McGrath  <roland@hack.frob.com>
25875         * sysdeps/nacl/gethostname.c: New file.
25877 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
25879         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
25880         and sinh.
25881         * math/auto-libm-test-out: Regenerated.
25882         * sysdeps/i386/fpu/libm-test-ulps: Update.
25883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25885 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
25887         [BZ #18125]
25888         * stdlib/tst-setcontext3.c: New file.
25889         * stdlib/tst-setcontext3.sh: New file.
25890         * stdlib/Makefile (tests): Add tst-setcontext3.
25891         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
25892         to verify test program created output file.
25893         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
25894         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
25895         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
25896         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
25898 2015-05-06  Roland McGrath  <roland@hack.frob.com>
25900         [BZ #18383]
25901         * elf/tst-tlsalign.c: New file.
25902         * elf/tst-tlsalign-static.c: New file.
25903         * elf/tst-tlsalign-lib.c: New file.
25904         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
25905         (tests-static): Add tst-tlsalign-static.
25906         (modules-names): Add tst-tlsalign-lib.
25907         (test-xfail-tst-tlsalign): New variable.
25908         (test-xfail-tst-tlsalign-static): New variable.
25910         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
25911         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
25913 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
25915         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
25916         csqrt, erfc, sin and sincos.
25917         * math/auto-libm-test-out: Regenerated.
25918         * sysdeps/i386/fpu/libm-test-ulps: Update.
25919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25921 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25923         * sysdeps/aarch64/libm-test-ulps: Update.
25925 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
25927         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
25928         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
25929         * math/auto-libm-test-out: Regenerated.
25930         * sysdeps/i386/fpu/libm-test-ulps: Update.
25931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25933 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25935         [BZ #18265]
25936         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
25937         (wcsncpy): Likewise.
25939 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25941         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25942         Assume __ASSUME_FALLOCATE is always true.
25943         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25944         (__posix_fallocate64_l64): Likewise.
25945         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25946         (posix_fallocate): Likewise.
25947         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25948         (__posix_fallocate64_l64): Likewise.
25949         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25950         [!__ASSUME_FALLOCATE]: Add comment.
25952 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25954         * sysdeps/unix/sysv/linux/i386/Makefile
25955         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25956         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25957         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25958         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25959         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25960         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25961         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25963 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25965         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25966         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25967         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25974         * math/auto-libm-test-in: Add more tests of tgamma.
25975         * math/auto-libm-test-out: Regenerated.
25976         * sysdeps/i386/fpu/libm-test-ulps: Update.
25977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25979         * math/auto-libm-test-in: Add more tests of tanh.
25980         * math/auto-libm-test-out: Regenerated.
25981         * sysdeps/i386/fpu/libm-test-ulps: Update.
25982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25984         * math/auto-libm-test-in: Add more tests of tan.
25985         * math/auto-libm-test-out: Regenerated.
25986         * sysdeps/i386/fpu/libm-test-ulps: Update.
25987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25989         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25990         * math/auto-libm-test-out: Regenerated.
25991         * sysdeps/i386/fpu/libm-test-ulps: Update.
25992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25994         * math/auto-libm-test-in: Add another test of pow.
25995         * math/auto-libm-test-out: Regenerated.
25996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25998         * math/auto-libm-test-in: Add more tests of lgamma.
25999         * math/auto-libm-test-out: Regenerated.
26000         * sysdeps/i386/fpu/libm-test-ulps: Update.
26001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26003         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26004         log1p.
26005         * math/auto-libm-test-out: Regenerated.
26006         * sysdeps/i386/fpu/libm-test-ulps: Update.
26007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26009 2015-05-01  Mark Wielaard  <mjw@redhat.com>
26011         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26012         Elf64_Chdr structs and ELFCOMPRESS constants.
26014 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26016         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26017         expm1.
26018         * math/auto-libm-test-out: Regenerated.
26019         * sysdeps/i386/fpu/libm-test-ulps: Update.
26020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26022         * math/auto-libm-test-in: Add more tests of erf and erfc.
26023         * math/auto-libm-test-out: Regenerated.
26024         * sysdeps/i386/fpu/libm-test-ulps: Update.
26025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26027 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26029         * config.h.in (HAVE_AARCH64_BE): Add.
26031 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
26033         * math/auto-libm-test-in: Add more tests of csqrt.
26034         * math/auto-libm-test-out: Regenerated.
26035         * sysdeps/i386/fpu/libm-test-ulps: Update.
26036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26038         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26039         * math/auto-libm-test-out: Regenerated.
26040         * sysdeps/i386/fpu/libm-test-ulps: Update.
26041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26043         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26045 2015-04-29  Roland McGrath  <roland@hack.frob.com>
26047         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26048         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26050         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26051         (euidaccess, eaccess): Define as weak aliases.
26053         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26054         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
26055         but __suseconds_t is often 'long int' so some sources assume that
26056         type is being used (e.g. they use %ld to print tv_usec).
26058 2015-04-29  Florian Weimer  <fweimer@redhat.com>
26060         [BZ #18007]
26061         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26062         (CVE-2014-8121)
26063         * nss/tst-nss-getpwent.c: New file.
26064         * nss/Makefile (tests): Add new test.
26066 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
26068         [BZ #18346]
26069         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26070         exponents less than 48 as cases where high part of mantissa needs
26071         examining to determine whether argument is integral.
26072         * math/libm-test.inc (round_test_data): Add more tests.
26074 2015-04-28  Mark Wielaard  <mjw@redhat.com>
26076         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26078 2015-04-27  David S. Miller  <davem@davemloft.net>
26080         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26081         __tls_get_addr.
26082         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26084 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
26086         [BZ#18333]
26087         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26089 2015-04-27  Florian Weimer  <fweimer@redhat.com>
26091         [BZ#18333]
26092         * time/tzset.c (parse_tzname): Return error on memory allocation
26093         failure.
26094         * test-skeleton.c (struct temp_name_list): Change type of name
26095         member to non-const.
26096         (add_temp_file): Create a copy of the file name.
26097         (delete_temp_files): Deallocate memory.
26098         (create_temp_file): Add comment.
26100 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26102         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26103         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26105 2015-04-24  Roland McGrath  <roland@hack.frob.com>
26107         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26108         * sysdeps/arm/configure: Regenerated.
26110 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26112         [BZ #17715]
26113         * time/tzfile.c (__tzfile_read): Check for large values of
26114         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
26115         * time/tzset.c (__tzstring_len): New function, based on the old
26116         __tzstring function.
26117         (__tzstring): Call __tzstring_len.
26118         (parse_tzname): New helper function extracted from
26119         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
26120         the input string.
26121         (parse_offset): New helper function extracted from
26122         __tzset_parse_tz.  Replace switch with fallthrough with
26123         initialization before sscanf.
26124         (parse_rule): Likewise.
26125         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
26126         new-style function definition.
26127         * timezone/Makefile (tests): Add tst-tzset.
26128         (tst-tzset.out): Dependencies on time zone files.
26129         (tst-tzset-ENV): Set TZDIR.
26130         (testdata/XT%): Copy crafted time zone files.
26131         * timezone/README: Mention crafted time zone files.
26132         * timezone/testdata/XT1, timezone/testdata/XT2,
26133         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26134         files.
26135         * timezone/tst-tzset.c: New test.
26137 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26139         * Makeconfig (+gccwarn): Remove -Winline.
26141 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26143         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26145 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26147         * NEWS: Mention sysconf() cache information support for s390.
26148         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26150 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
26152         * math/k_casinh.c (__kernel_casinh): Use __copysign.
26153         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26154         (__nearbyint): Likewise.
26155         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26156         (copysignl): Likewise.
26158 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
26160         [BZ #18287]
26161         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26162         based on padding.  (CVE-2015-1781)
26164 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26166         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26167         libc-vdso.h.
26168         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26169         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26170         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26171         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26172         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26173         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26175         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26176         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26177         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26178         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26179         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26180         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26181         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26182         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26183         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26184         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26185         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26186         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26187         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26188         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26189         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26190         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26192 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
26194         * stdlib/setenv.c (__add_to_environ):
26195         Dump core quickly if setenv (..., NULL, ...) is called.
26196         This time, do it the right way, and pacify GCC with a pragma.
26198 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26200         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26201         IMAP->l_prev cannot be null, and #if out the code for the contrary
26202         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26203         believe that NS (&_dl_ns[NSID]) could point outside the array.
26205         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26206         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26207         before using NSID as an index.
26209 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
26211         [BZ #17825]
26212         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26213         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26214         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26216 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26218         Add preliminary port to Google Native Client on ARM.
26219         * abi-tags (.*-.*-nacl.*): New entry.
26220         * sysdeps/arm/nacl: New directory.
26221         * sysdeps/nacl: New directory.
26223 2015-04-16  David S. Miller  <davem@davemloft.net>
26225         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
26226         lowlevellock-futex.h
26228 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
26230         * sysdeps/tile/configure.ac: New file.
26231         * sysdeps/tile/configure: Regenerated.
26233 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26235         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
26236         conditionals for weak_alias and libc_hidden_weak.
26237         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
26238         libc_hidden_weak and weak_alias.
26239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
26240         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
26241         and weak_alias for static one.
26243 2015-04-15  David S. Miller  <davem@davemloft.net>
26245         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26247 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26249         [BZ #18206]
26250         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
26251           Use signed comparision instead of substraction to avoid
26252           overflow bug.
26253         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
26254           Take the sign of ret.
26255         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
26256           Do not expect precise return values. Only the sign matters.
26257         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
26258         * wcsmbs/test-wcsncmp.c: New File.
26259         * string/test-strncmp.c: Add wcsncmp support.
26261 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26263         [BZ #6792]
26264         * math/w_log1p.c: New file.
26265         * math/w_log1pf.c: Likewise.
26266         * math/w_log1pl.c: Likewise.
26267         * math/Makefile (libm-calls): Add w_log1p.
26268         * math/s_log1pl.c (log1pl): Remove weak_alias.
26269         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
26270         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
26271         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
26272         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
26273         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
26274         [NO_LONG_DOUBLE] (log1pl): Likewise.
26275         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
26276         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
26277         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
26278         (log1p): Remove long_double_symbol.
26279         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
26280         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
26281         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
26282         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
26283         remove weak_alias for corresponding log1p function.
26284         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
26285         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
26286         * sysdeps/ia64/fpu/w_log1p.c: New file.
26287         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
26288         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
26289         * math/libm-test.inc (log1p_test_data): Add errno expectations.
26291 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
26293         [BZ #18247]
26294         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
26295         decimal exponent by 1.
26296         * stdlib/tst-strtod-round-data: Add more tests.
26297         * stdlib/tst-strtod-round.c (tests): Regenerated.
26299 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
26301         * math/auto-libm-test-in: Add more tests of clog and clog10.
26302         * math/auto-libm-test-out: Regenerated.
26303         * sysdeps/i386/fpu/libm-test-ulps: Update.
26304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26306 2015-04-09  Roland McGrath  <roland@hack.frob.com>
26308         * Makeconfig (module-cppflags): Exclude all .v.i files.
26309         (skip-module-cppflags): Variable removed.
26311         * configure.ac (libc_config_ok): Initialize before reading
26312         preconfigure scripts, not after.
26313         * configure: Regenerated.
26315         * test-skeleton.c (TIMEOUT): Move #define to top level.
26316         (main): Grok environment variable TEST_DIRECT.  If set, print
26317         test expectation details into that file and then behave as if
26318         given --direct.
26320 2015-04-09  Florian Weimer  <fweimer@redhat.com>
26322         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
26323         warning on 32-bit.
26325 2015-04-08  David S. Miller  <davem@davemloft.net>
26327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26329 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
26331         * math/auto-libm-test-in: Add more tests of atanh.
26332         * math/auto-libm-test-out: Regenerated.
26333         * sysdeps/i386/fpu/libm-test-ulps: Update.
26334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26336         * math/auto-libm-test-in: Add more tests of atan.
26337         * math/auto-libm-test-out: Regenerated.
26338         * sysdeps/i386/fpu/libm-test-ulps: Update.
26339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26341 2015-04-08  Florian Weimer  <fweimer@redhat.com>
26343         * elf/pldd.c (main): Rewrite to use struct
26344         scratch_buffer instead of extend_alloca.
26345         * elf/pldd-xx.c (find_maps): Likewise.
26346         * grp/initgroups.c: Include <scratch_buffer.h> instead of
26347         <alloca.h>.
26348         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
26349         scratch_buffer instead of extend_alloca.
26350         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
26351         grp/compat-initgroups.c.
26352         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
26353         Rewrite to use struct scratch_buffer instead of extend_alloca.
26354         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
26355         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26357 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
26359         * math/auto-libm-test-in: Add more tests of cbrt.
26360         * math/auto-libm-test-out: Regenerated.
26361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26363         * math/auto-libm-test-in: Add more tests of cabs.
26364         * math/auto-libm-test-out: Regenerated.
26365         * sysdeps/i386/fpu/libm-test-ulps: Update.
26366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26368         [BZ #18210]
26369         [BZ #18211]
26370         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
26371         (__ieee754_atan2): Set FE_TONEAREST mode for internal
26372         computations.
26373         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
26374         clog10.
26375         * math/auto-libm-test-out: Regenerated.
26376         * sysdeps/i386/fpu/libm-test-ulps: Update.
26377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26379         [BZ #18197]
26380         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
26381         (atan): Set FE_TONEAREST mode for internal computations.
26382         * math/auto-libm-test-in: Add more tests of atan.
26383         * math/auto-libm-test-out: Regenerated.
26385 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
26387         [BZ #17930]
26388         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
26390 2015-04-07  Florian Weimer  <fweimer@redhat.com>
26392         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
26394 2015-04-07  Florian Weimer  <fweimer@redhat.com>
26396         * include/scratch_buffer.h: New file.
26397         * malloc/scratch_buffer_grow.c: Likewise.
26398         * malloc/scratch_buffer_grow_preserve.c: Likewise.
26399         * malloc/scratch_buffer_set_array_size.c: Likewise.
26400         * malloc/tst-scratch_buffer.c: Likewise.
26401         * malloc/Makefile (routines): Add scratch_buffer_grow.
26402         (tests): Add test case.
26403         * malloc/Versions (GLIBC_PRIVATE): Export
26404         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
26405         __libc_scratch_buffer_set_array_size.
26407 2015-04-06  Richard Henderson  <rth@redhat.com>
26409         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
26410         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26412         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
26413         unsigned int before printing.
26415 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26417         [BZ #17596]
26418         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
26419         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26421 2015-04-02  Florian Weimer  <fweimer@redhat.com>
26423         * include/libc-internal.h (libc_max_align_t): Define.
26425 2015-04-02  Andreas Schwab  <schwab@suse.de>
26427         [BZ #16850]
26428         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
26430 2015-04-02  Mel Gorman  <mgorman@suse.de>
26432         [BZ #17195]
26433         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
26434         as well as the main arena.
26436 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
26438         [BZ #18185]
26439         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
26440         sharing L2 cache to 2 for Silvermont/Knights Landing.
26442 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
26444         [BZ #17711]
26445         * config.make.in (have-protected-data): New.
26446         * configure.ac: Check linker support for protected data symbol.
26447         * configure: Regenerated.
26448         * elf/Makefile (modules-names): Add tst-protected1moda and
26449         tst-protected1modb if $(have-protected-data) is yes.
26450         (tests): Add tst-protected1a and tst-protected1b if
26451         $(have-protected-data) is yes.
26452         ($(objpfx)tst-protected1a): New.
26453         ($(objpfx)tst-protected1b): Likewise.
26454         (tst-protected1modb.so-no-z-defs): Likewise.
26455         * elf/tst-protected1a.c: New file.
26456         * elf/tst-protected1b.c: Likewise.
26457         * elf/tst-protected1mod.h: Likewise.
26458         * elf/tst-protected1moda.c: Likewise.
26459         * elf/tst-protected1modb.c: Likewise.
26461 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
26463         [BZ #17711]
26464         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
26465         indicates it is called from do_lookup_x on relocation against
26466         protected data, skip the data definion in the executable from
26467         copy reloc.
26468         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
26469         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
26470         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
26471         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
26472         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
26473         otherwise to 0.
26474         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
26475         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
26476         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
26477         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
26478         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
26479         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
26481 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
26483         * sysdeps/nptl/pthread.h: Remove duplicate definition of
26484         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
26486 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
26488         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
26489         THREAD_SETMEM_NC.
26490         * sysdeps/x86_64/nptl/tls.h: Ditto.
26492 2015-03-27  Roland McGrath  <roland@hack.frob.com>
26494         * dlfcn/tststatic.c (main): Converted to ...
26495         (do_test): ... this.
26496         (TEST_FUNCTION): New macro.
26497         Include test-skeleton.c.
26499 2015-03-26  Alan Modra  <amodra@gmail.com>
26501         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
26502         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
26503         zero for undefined weak.
26504         (elf_machine_plt_conflict): Similarly.
26506 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
26508         * math/auto-libm-test-in: Add more tests of acosh, asinh and
26509         atanh.
26510         * math/auto-libm-test-out: Regenerated.
26511         * sysdeps/i386/fpu/libm-test-ulps: Update.
26512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26514         * math/auto-libm-test-in: Add another test of asin.
26515         * math/auto-libm-test-out: Regenerated.
26516         * sysdeps/i386/fpu/libm-test-ulps: Update.
26517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26519         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
26520         Remove macro.
26521         (LLL_EBX_REG): Likewise.
26522         (LLL_ENTER_KERNEL): Likewise.
26524         * math/auto-libm-test-in: Add more tests of asin.
26525         * math/auto-libm-test-out: Regenerated.
26526         * sysdeps/i386/fpu/libm-test-ulps: Update.
26527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26529         [BZ #18138]
26530         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
26531         libc_do_syscall_args): New structure.
26532         (INTERNAL_SYSCALL_MAIN_0): New macro.
26533         (INTERNAL_SYSCALL_MAIN_1): Likewise.
26534         (INTERNAL_SYSCALL_MAIN_2): Likewise.
26535         (INTERNAL_SYSCALL_MAIN_3): Likewise.
26536         (INTERNAL_SYSCALL_MAIN_4): Likewise.
26537         (INTERNAL_SYSCALL_MAIN_5): Likewise.
26538         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
26539         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
26540         Replace conditional definitions by conditional definitions of ....
26541         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
26542         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
26543         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
26544         (libpthread-sysdep_routines): Add libc-do-syscall.
26545         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
26546         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
26547         to __NR_futex not 240.
26549 2015-03-25  Alan Modra  <amodra@gmail.com>
26551         * NEWS: Advertise TLS optimization.
26552         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
26553         (DT_PPC_NUM): Increment.
26554         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
26555         (CHECK_STATIC_TLS): Use here.
26556         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
26557         TLS descriptors.
26558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26559         * sysdeps/powerpc/dl-tls.c: New file.
26560         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
26561         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
26562         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
26563         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
26564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
26565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
26566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
26568 2015-03-25  Alan Modra  <amodra@gmail.com>
26570         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
26571         for overlapping .opd entries" to "support...".
26572         * sysdeps/powerpc/powerpc64/configure: Regenerate
26574 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
26576         * math/auto-libm-test-in: Add more tests of acos.
26577         * math/auto-libm-test-out: Regenerated.
26578         * sysdeps/i386/fpu/libm-test-ulps: Update.
26579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26581         * math/auto-libm-test-in: Add more tests of expm1.
26582         * math/auto-libm-test-out: Regenerated.
26583         * sysdeps/i386/fpu/libm-test-ulps: Update.
26584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26586 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
26588         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26589         * math/auto-libm-test-out: Regenerated.
26590         * sysdeps/i386/fpu/libm-test-ulps: Update.
26591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26593         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26596         * math/auto-libm-test-in: Add more tests of log2.
26597         * math/auto-libm-test-out: Regenerated.
26598         * sysdeps/i386/fpu/libm-test-ulps: Update.
26599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26601 2015-03-23  Roland McGrath  <roland@hack.frob.com>
26603         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
26604         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
26605         _IO_IS_APPENDING bit in READ_WRITE instead.
26607 2015-03-23  Florian Weimer  <fweimer@redhat.com>
26609         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26610         (__determine_cpumask_size): Replace extend_alloca with a
26611         variable-length array.  Do not treat res == 0 as an error.
26613 2015-03-23  Florian Weimer  <fweimer@redhat.com>
26615         [BZ #18100]
26616         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
26617         and integer overflow.
26618         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
26619         (main): Add integer overflow tests.
26620         * manual/pattern.texi (Calling Wordexp): Document additional use
26621         for WRDE_SYNTAX.
26623 2015-03-23  Alan Modra  <amodra@gmail.com>
26625         * config.h.in: Remove HAVE_ASM_PPC_REL16.
26626         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
26627         and false branch of conditional.
26628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26629         Likewise.
26631 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
26633         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
26634         libc-modules.h
26635         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
26636         unused declaration of _hurd_intr_rpc_msg_in_trap.
26637         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
26638         defined instead of whether it is non-zero.
26639         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
26640         input constraint instead of both input and output constraint.  Use ecx
26641         clobber instead of %ecx.
26642         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
26643         mutex_unlock): Use a statement expression instead of an expression list.
26644         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
26645         type to vm_size_t instead of vm_address_t.
26646         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
26647         defined instead of whether it is non-zero.
26648         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
26649         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
26650         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
26651         comparisons with mapaddr.
26652         * nscd/nscd-client.h: Include <time.h>.
26653         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
26654         9th parameter to __vm_region instead of int.
26655         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
26656         * scripts/check-local-headers.sh (exclude): Add device/,
26657         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
26658         cthreads.h.
26660 2015-03-19  Roland McGrath  <roland@hack.frob.com>
26662         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
26663         to account for alignment padding.
26664         * sysdeps/arm/memmove.S: Likewise.
26666 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
26668         * sysdeps/unix/sysv/linux/generic/README: New file.
26670 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
26672         [BZ #18138]
26673         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
26674         (futex_abstimed_wait)
26675         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
26676         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
26677         of lll_futex_timed_wait.
26679 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
26681         [BZ #17542]
26682         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
26684 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
26686         [BZ #17090]
26687         [BZ #17620]
26688         [BZ #17621]
26689         [BZ #17628]
26690         * NEWS: Update.
26691         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
26692         entries with Static TLS too.  Skip entries past the end of the
26693         allocated DTV, from Alan Modra.
26694         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
26695         Static TLS DTV entry set up from...
26696         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
26697         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
26698         * nptl/allocatestack.c (init_one_static_tls): ... and here...
26699         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
26700         for Static TLS.
26701         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
26702         that the slot we find is associated with the given map before
26703         using its generation count.
26704         * nptl_db/db_info.c: Include ldsodefs.h.
26705         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
26706         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
26707         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
26708         (link_map::l_tls_offset): New struct field.
26709         (dtv_t::counter): Likewise.
26710         (rtld_global): New struct.
26711         (_rtld_global): New rtld variable.
26712         (dl_tls_dtv_slotinfo_list): New rtld global field.
26713         (dtv_slotinfo_list): New struct.
26714         (dtv_slotinfo): Likewise.
26715         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
26716         (td_lookup): Rename to...
26717         (td_mod_lookup): ... this.  Use new mod parameter instead of
26718         LIBPTHREAD_SO.
26719         * nptl_db/td_thr_tlsbase.c: Include link.h.
26720         (dtv_slotinfo_list, dtv_slotinfo): New functions.
26721         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
26722         addresses even if the DTV is out of date or missing them.
26723         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
26724         index zero-length arrays.
26725         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
26726         (td_lookup): Make it a macro implemented in terms of...
26727         (td_mod_lookup): ... this declaration.
26728         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
26729         (DB_MAIN_VARIABLE): Likewise.
26731 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26733         [BZ #18134]
26734         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26736 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
26738         * stdlib/setenv.c (__add_to_environ): Revert previous change.
26740 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
26742         [BZ #18128]
26743         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
26744         (atomic_add, atomic_increment_and_test)
26745         (atomic_decrement_and_test): Fix 64-bit arithmetic.
26747 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
26749         * stdlib/setenv.c (__add_to_environ):
26750         Dump core quickly if setenv (..., NULL, ...) is called.
26752 2015-03-13  Roland McGrath  <roland@hack.frob.com>
26754         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
26755         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
26756         all the necessary asm magic in one place.
26757         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
26758         using those.
26760 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
26762         [BZ #14906]
26763         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
26764         traced file mtime. Use consistent log message.
26765         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
26766         (register_traced_file): Call install_watches. Always set mtime.
26767         (invalidate_cache): Iterate over all trace files. Call install_watches.
26768         (inotify_check_files): Don't inline. Handle watching parent
26769         directories and configuration file movement in and out.
26770         (handle_inotify_events): New function.
26771         (main_loop_poll): Call handle_inotify_events.
26772         (main_loop_epoll): Likewise.
26773         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
26774         (struct traced_file): Use array of inotify fds. Add parent directory,
26775         and basename.
26776         (struct database_dyn): Remove unused file_mtime.
26777         (init_traced_file): New inline function.
26778         (define_traced_file): New macro.
26779         * nss/nss_db/db-init.c: Use define_traced_file.
26780         (_nss_db_init): Use init_traced_file.
26781         * nss/nss_files/files-init.c: Use define_traced_file.
26782         (_nss_files_init): Use init_traced_file.
26784 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
26786         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
26787         [_LIBC]: Do not include <stdlib.h>.
26788         [!_LIBC] (abort): Remove declaration.
26789         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
26790         _FP_STATIC_ASSERT instead of conditionally calling abort.
26791         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
26792         (_FP_EXTEND_CNAN): Likewise.
26793         (FP_TRUNC): Likewise.
26794         (__FP_CLZ): Likewise.
26795         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
26797 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
26799         * manual/string.texi (XPG basename): Fix prototype.
26801 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26803         [BZ #18080]
26804         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
26805         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26806         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
26807         (__setcontext): Likewise.
26808         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
26809         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26810         Call rt_sigprocmask syscall one time to set new signal mask
26811         and retrieve the current signal mask instead of two calls.
26812         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
26813         (__swapcontext): Likewise.
26814         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
26815         * stdlib/tst-setcontext2.c: New file.
26817 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26819         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26821 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
26823         [BZ #18093]
26824         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
26825         the wrong size.
26827 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26829         [BZ #18043]
26830         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
26832 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26834         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
26835         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
26836         Remove define.
26837         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
26838         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
26839         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
26840         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
26841         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
26842         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
26843         define.
26844         * nptl_db/td_symbol_list.c (td_lookup): Remove
26845         HAVE_ASM_GLOBAL_DOT_NAME code.
26846         * sysdeps/powerpc/powerpc64/configure.ac: Remove
26847         HAVE_ASM_GLOBAL_DOT_NAME check.
26848         * sysdeps/powerpc/powerpc64/configure: Regenerate.
26849         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
26850         (DOT_LABEL): Remove define.
26851         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
26852         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
26853         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
26854         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
26855         (__TLS_GET_ADDR): Likewise.
26856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
26857         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
26859 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
26861         [BZ #18111]
26862         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
26863         (_FPU_SETCW): Initialize cw from fpsr before storing.
26864         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
26865         (fesetexceptflag): Rewrite using fpu_control.h.
26866         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
26868 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
26870         [BZ #18110]
26871         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
26872         asms.
26873         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26875 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
26877         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
26878         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
26879         abort.
26880         (_FP_FMA): Likewise.
26881         (_FP_DIV): Likewise.
26883 2015-03-10  Roland McGrath  <roland@hack.frob.com>
26885         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
26886         with 0 in that case.
26887         * Makefile (summarize-tests): New canned sequence, factored out of
26888         commands for targets tests and xtests.  Display summary lines that
26889         don't start with PASS: or XFAIL: rather than ones that do start with
26890         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
26891         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
26892         do start with ERROR: or FAIL:.
26893         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
26894         (except for [$(build-shared) = yes]).
26895         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
26896         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
26897         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
26898         * nptl/Makefile: Revert 2015-03-04 changes.
26899         [$(CXX) empty] (tests-unsupported): New variable.
26900         * debug/Makefile: Likewise.
26902         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
26903         gnulib file.  Replace __attribute with __attribute__ throughout.
26905 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
26907         * sysdeps/hppa/fpu/libm-test-ulps: Update.
26909 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26911         [BZ #18104]
26912         * math/auto-libm-test-in: Add another test of pow.
26913         * math/auto-libm-test-out: Regenerated.
26915 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26917         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
26918         $(config-cflags-nofma).
26920 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26922         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
26923         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
26924         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
26925         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
26926         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
26927         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
26928         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
26929         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
26930         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
26931         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
26932         Add comment on closing #endif.
26934 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26936         * posix/wordexp.c (CHAR_IN_SET): New macro.
26937         (parse_param): Use it.
26939 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26941         * sysdeps/powerpc/fpu/libm-test-ulps: update.
26943 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26945         [BZ #18043]
26946         * posix/wordexp.c (parse_param): Fix buffer overflow.
26947         * posix/wordexp-test.c (test_case): Add test case.
26949 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26951         [BZ #18042]
26952         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26953         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26955 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26957         [BZ #18043]
26958         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26959         (do_bz18043): Delete.
26960         (at_page_end): New.
26961         (testit): Refactor to have words at the edge of unreadable page.
26963 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26965         [BZ #16734]
26966         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26967         Cleanup read-only streams as well.
26968         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26970 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26972         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26973         <bits/libc-lockP.h>
26975 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26977         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26978         on [__KERNEL__].
26979         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26980         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26981         * soft-fp/op-common.h (_FP_DECL): Likewise.
26983 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26985         * elf/ifuncdep2.c (global): Replace
26986         __attribute__((visibility("protected"))) with
26987         asm (".protected global").
26988         * elf/ifuncmod1.c (global): Likewise.
26989         * elf/ifuncmod5.c (global): Likewise.
26991 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26993         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26994         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26996 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26998         * manual/install.texi (Configuring and compiling):
26999         Document test-wrapper-env-only.
27000         * INSTALL: Regenerated.
27002 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27004         [BZ #18043]
27005         * posix/wordexp.c (parse_param): Fix buffer overflow.
27006         * posix/wordexp-test.c (do_bz18043): Add test case.
27008 2015-03-06  Vincent Bernat  <vincent@bernat.im>
27010         * time/tst-strptime2.c (do_test): Ensure failing tests are
27011         reported correctly.
27012         * time/tst-strptime3.c (do_test): Likewise.
27014 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
27016         Fix aio_error thread-safety.
27017         * sysdeps/pthread/aio_error.c: New file
27018         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27019         synchronization.
27021 2015-03-06  Florian Weimer  <fweimer@redhat.com>
27023         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27024         (group_number, vfprintf): Use it.
27025         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27026         (JUMP, REF): Use it.
27027         (WORK_BUFFER_SIZE): New enum constant.
27028         (process_arg, vfprintf): Use it.
27030 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
27032         * manual/errno.texi (Error Messages): Complete example function
27033         by adding missing #define.
27034         (program_invocation_name): Add statement indicating GNU
27035         extension and reference which header file declares the variable.
27036         (program_invocation_short_name): Likewise.
27038 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
27040         * manual/errno.texi (Error Messages): Delete strerror ISO C89
27041         compatibility note.
27043 2015-03-05  Roland McGrath  <roland@hack.frob.com>
27045         * Makeconfig (test-wrapper-env-only): New variable.
27046         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27047         then use that with $(test-wrapper-env-only) rather than using
27048         $(test-wrapper-env) $(run-program-env) $($*-ENV).
27050 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27052         [BZ #18082]
27053         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27054         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27055         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27056         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27057         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27058         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27059         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27060         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27061         Likewise.
27062         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27063         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27064         Likewise.
27065         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27066         Likewise.
27067         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27068         Likewise.
27069         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27070         Likewise.
27071         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27072         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27073         Likewise.
27074         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27075         Likewise.
27076         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27077         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27079 2015-03-04  Roland McGrath  <roland@hack.frob.com>
27081         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27082         (ETH_ALEN): New macro.
27083         (struct ether_addr): Use it for length of ether_addr_octet.
27085         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27086         (setdb): Don't call __nss_configure_lookup for "rpc".
27087         (do_test): Don't call test_rpc.
27088         (output_rpcent, test_rpc): Functions moved ...
27089         * sunrpc/test-rpcent.c: ... to this new file.
27090         * sunrpc/Makefile (tests): Add it.
27092         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27093         __xpg_sigpause.
27094         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27095         * nptl/tst-signal6.c: Likewise.
27096         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27097         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27099         * configure.ac (libc_cv_cxx_link_ok): New check.
27100         Reset CXX to empty if it fails to link.
27101         * configure: Regenerated.
27102         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27103         bug-atexit3-lib only if $(CXX) is nonempty.
27104         * nptl/Makefile (tests): Likewise for tst-cancel24.
27105         (tests, tests-static): Likewise for tst-cancel24-static.
27106         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27107         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27108         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27109         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27111 2015-03-04  Andreas Schwab  <schwab@suse.de>
27113         [BZ #17631]
27114         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27115         for non-GCC compilers.
27116         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27117         Likewise.
27119 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27121         [BZ #17776]
27122         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27123         integer before bitwise and assembly operations.
27124         (feclearexcept): Likewise.
27125         * math/test-fenvinline.c: New file.
27126         * math/Makefile: Add test-fenvinline test.
27128 2015-03-03  Alan Modra  <amodra@gmail.com>
27130         [BZ #16512]
27131         * scripts/localplt.awk: Strip off symbol version.
27132         * NEWS: Mention bug fix.
27134 2015-03-02  Roland McGrath  <roland@hack.frob.com>
27136         * sysdeps/pthread/timer_routines.c
27137         (timer_free_list, thread_free_list, thread_active_list): Make static.
27139 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
27141         [BZ #17779]
27142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27143         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27144         Undefine.
27145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27146         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27147         Likewise.
27148         * sysdeps/unix/sysv/linux/sh/kernel-features.h
27149         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27150         Likewise.
27152 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27154         [BZ #18036]
27155         * posix/fnmatch_loop.c (END): Detect invalid pattern.
27156         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27158 2015-03-02  Andreas Schwab  <schwab@suse.de>
27160         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27161         variable name.
27163 2015-03-02  Florian Weimer  <fweimer@redhat.com>
27165         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27166         Return error status.
27168 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
27170         [BZ #15969]
27171         * locale/findlocale.c (_nl_find_locale): Introduce const
27172         version of loc_name and drop unsafe type casts.
27174 2015-02-27  Roland McGrath  <roland@hack.frob.com>
27176         * dlfcn/tststatic2.c (main): Converted to ...
27177         (do_test): ... this.
27178         (TEST_FUNCTION): New macro.
27179         Include test-skeleton.c.
27181 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
27183         [BZ #17711]
27184         * elf/Makefile (tests): Add vismain only if PIE is enabled.
27185         (tests-pie): Add vismain.
27186         (CFLAGS-vismain.c): New.
27187         * elf/vismain.c: Add comments for PIE requirement.
27189 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27191         [BZ #18046]
27192         [BZ #18047]
27193         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27194         0x1p-56L as threshold for just returning the argument.
27195         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27196         0x1p-32L as threshold for just returning the argument.
27197         * math/auto-libm-test-in: Add more tests of atanh.
27198         * math/auto-libm-test-out: Regenerated.
27199         * sysdeps/i386/fpu/libm-test-ulps: Update.
27200         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27202 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27204         * string/bcopy.c (bcopy): Call memmove for performance.
27206 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27208         * string/bzero.c (__bzero): Call memset for performance.
27210 2015-02-27  John David Anglin  <dave.anglin@bell.net>
27212         [BZ #18068]
27213         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27214         to 00100000.
27216 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27218         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27220 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27222         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27223         (__kernel_standard): Use CSTR macro when setting exc.name.
27224         * sysdeps/ieee754/Makefile [$(subdir) = math]
27225         (CFLAGS-k_standard.c): Remove variable.
27227         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
27228         setting p and q from "else if" to "else".
27229         (qzero): Likewise.
27230         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
27231         (qone): Likewise.
27232         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27233         (qzerof): Likewise.
27234         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
27235         (qonef): Likewise.
27236         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
27237         (qzero): Likewise.
27238         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
27239         (qone): Likewise.
27241         [BZ #18038]
27242         [BZ #18039]
27243         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
27244         return pi/2 for arguments below 0x1p-113L.
27245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
27246         return pi/2 for arguments below 0x1p-106L.
27247         * math/auto-libm-test-in: Add more tests of acos.
27248         * math/auto-libm-test-out: Regenerated.
27250         [BZ #16351]
27251         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
27252         (MO): New macro.
27253         (__ieee754_asin): Force underflow exception for results with small
27254         absolute value.
27255         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
27256         (MO): New macro.
27257         (__ieee754_asinf): Force underflow exception for results with
27258         small absolute value.
27259         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
27260         (__ieee754_asin): Force underflow exception for results with small
27261         absolute value.
27262         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
27263         (__ieee754_asinf): Force underflow exception for results with
27264         small absolute value.
27265         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
27266         (__ieee754_asinl): Force underflow exception for results with
27267         small absolute value.
27268         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
27269         (__ieee754_asinl): Force underflow exception for results with
27270         small absolute value.
27271         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
27272         (__ieee754_asinl): Force underflow exception for results with
27273         small absolute value.
27274         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27275         Include <math.h>.
27276         * math/auto-libm-test-in: Do not mark underflow exceptions as
27277         possibly missing for bug 16351.
27278         * math/auto-libm-test-out: Regenerated.
27280         [BZ #18030]
27281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
27282         of power of 2 down when low part has opposite sign.
27283         * math/libm-test.inc (logb_test_data): Add more tests.
27285 2015-02-26  Andreas Schwab  <schwab@suse.de>
27287         [BZ #18032]
27288         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
27289         over collating symbol inside a bracket expression.  Minor cleanup.
27290         * posix/tst-fnmatch3.c (do_test): Add test case.
27292 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27294         [BZ #18029]
27295         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
27296         Adjust exponent of power of 2 down when low part has opposite
27297         sign.
27298         * math/libm-test.inc (ilogb_test_data): Add more tests.
27300 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
27302         [BZ #15969]
27303         * locale/findlocale.c (_nl_find_locale): Fix constness error in
27304         the previous change.
27306         [BZ #15969]
27307         * locale/findlocale.c (_nl_find_locale): Retry archive search
27308         after alias expansion.
27310 2015-02-25  Roland McGrath  <roland@hack.frob.com>
27312         * iconv/tst-iconv3.c (main): Converted to ...
27313         (do_test): ... this.
27314         (TEST_FUNCTION): New macro.
27315         Include test-skeleton.c.
27317         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
27318         (convert): Make function static.
27319         (test_unalign): Likewise.  Add const to argument pointee types.
27320         (main): Replace with static function do_test.
27321         Print "Succeeded." only if RET is zero.
27322         (TEST_FUNCTION): New macro.
27323         Include test-skeleton.c.
27325         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
27326         returns a null pointer.
27328 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27330         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
27331         to __memcpy_ppc only for static builds.
27333 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
27335         [BZ #18020]
27336         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
27337         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
27338         * math/auto-libm-test-in: Add more tests of asinh.
27339         * math/auto-libm-test-out: Regenerated.
27340         * sysdeps/i386/fpu/libm-test-ulps: Update.
27341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27343 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
27345         [BZ #15850]
27346         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
27347         and ip6_mtuinfo definitions here.
27348         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
27349         in this define too.  Update comment.
27351 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
27353         * elf/sprof.c (load_shobj): Tweak error message to match others.
27355 2015-02-24  Kevin Easton  <kevin@guarana.org>
27357         [BZ #16145] (partial fix)
27358         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
27359         to reduce lock contention.
27361 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
27363         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
27364         (struct timex): Update time comment.
27365         (ADJ_SETOFFSET): Define.
27367 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
27369         [BZ #18019]
27370         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27371         2**56 not 2**28 as threshold for log (2x) formula.
27372         * math/auto-libm-test-in: Add more tests of acosh.
27373         * math/auto-libm-test-out: Regenerated.
27374         * sysdeps/i386/fpu/libm-test-ulps: Update.
27375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27377 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
27379         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
27380         parenthesis around the buf assignment.
27381         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
27383 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
27385         [BZ #16783]
27386         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
27387         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
27388         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
27389         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
27390         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
27391         * math/libm-test.inc (scalb_test_data): Add more tests.
27393 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27395         [BZ #17916]
27396         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
27397         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
27399 2015-02-24  Eric Rannaud  <e@nanocritical.com>
27401         [BZ #17523]
27402         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
27403         * io/bits/fcntl2.h (open): Use it.
27404         (openat): Likewise.
27405         * io/open.c (__libc_open): Likewise.
27406         * io/open64.c (__libc_open64): Likewise.
27407         * io/open64_2.c (__open64_2): Likewise.
27408         * io/open_2.c (__open_2): Likewise.
27409         * io/openat.c (__openat): Likewise.
27410         * io/openat64.c (__openat64): Likewise.
27411         * io/openat64_2.c (__openat64_2): Likewise.
27412         * io/openat_2.c (__openat_2): Likewise.
27413         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
27414         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27415         * sysdeps/posix/open64.c (__libc_open64): Likewise.
27416         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27417         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27418         (__open_nocancel): Likewise.
27419         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27420         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27421         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
27423 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27425         [BZ #14841]
27426         * resolv/gethnamaddr.c (getanswer): Skip logging if
27427         RES_USE_DNSSEC is set.
27428         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27430 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
27432         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
27434 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
27436         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
27437         201304L, for Unicode 7.
27439 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
27441         [BZ #17836]
27442         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
27443         shared library.  Add gmon-start.os otherwise.
27444         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
27445         $(objpfx)gmon-start.os if builing shared library.
27446         ($(objpfx)g$(static-start-installed-name)): Likewise.
27448 2015-02-23  Andreas Schwab  <schwab@suse.de>
27450         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
27452 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27454         [BZ #17269]
27455         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
27456         (enlarge_userbuf): Likewise.
27458 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
27460         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
27461         * math/atest-exp.c (TIMEOUT): Adjust to 200.
27462         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
27463         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
27465 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
27467         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
27468         expression inside statement expression.
27470 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27472         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
27473         <sysdeps/nptl/lowlevellock.h> and remove macros and
27474         functions that are now defined there.
27475         (SYS_futex): Remove.
27476         (lll_compare_and_swap): Remove.
27477         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
27479 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
27481         [BZ #17999]
27482         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
27483         instead of scandirat.
27484         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
27485         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
27486         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
27487         __scandirat.
27488         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
27489         (__scandirat): Declare.  Use libc_hidden_proto.
27490         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
27491         Remove variable.
27492         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27494 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
27496         [BZ #15319]
27497         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
27498         (MO): New macro.
27499         (__ieee754_atan2): For results with small absolute value, force
27500         underflow exception and remove excess range and precision from
27501         return value.
27502         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
27503         (MO): New macro.
27504         (__ieee754_atan2f): For results with small absolute value, force
27505         underflow exception and remove excess range and precision from
27506         return value.
27507         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
27508         (MO): New macro.
27509         (__atan): For results with small absolute value, force underflow
27510         exception and remove excess range and precision from return value.
27511         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
27512         (MO): New macro.
27513         (__atanf): For results with small absolute value, force underflow
27514         exception and remove excess range and precision from return value.
27515         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
27516         <math.h>.
27517         (__ieee754_atan2): Force underflow exception for results with
27518         small absolute value.
27519         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
27520         <math_private.h>.
27521         (atan): Force underflow exception for results with small absolute
27522         value.
27523         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
27524         (__atanf): Force underflow exception for results with small
27525         absolute value.
27526         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
27527         <math.h>.
27528         (__atanl): Force underflow exception for results with small
27529         absolute value.
27530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
27531         (__atanl): Force underflow exception for results with small
27532         absolute value.
27533         * sysdeps/x86/fpu/bits/mathinline.h
27534         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
27535         (__ieee754_atan2): Only define inline for long double.
27536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27537         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
27538         * math/auto-libm-test-in: Do not mark underflow exceptions as
27539         possibly missing for bug 15319.  Add more tests of atan2.
27540         * math/auto-libm-test-out: Regenerated.
27541         * math/libm-test.inc (casin_test_data): Do not mark underflow
27542         exceptions as possibly missing for bug 15319.
27543         (casinh_test_data): Likewise.
27544         * sysdeps/i386/fpu/libm-test-ulps: Update.
27546 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
27548         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
27549         * sysdeps/mips/bits/endian.h: Fix comments.
27551 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
27553         [BZ #17996]
27554         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
27555         (hdestroy_r): Likewise.
27556         (hsearch_r): Likewise.
27557         (__hcreate_r): Declare and use libc_hidden_proto.
27558         (__hdestroy_r): Likewise.
27559         (__hsearch_r): Likewise.
27560         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
27561         (hcreate): Call __hcreate_r instead of hcreate_r.
27562         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
27563         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
27564         as weak alias of __hcreate_r.
27565         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
27566         __hdestroy_r.
27567         (hsearch_r): Rename to __hsearch_r and define as weak alias of
27568         __hsearch_r.
27569         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
27570         Remove variable.
27571         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27572         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27573         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27574         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27576 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27578         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
27579         arena_lock into a single arena_get.
27581 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
27583         * dl-reloc.c: Inlucde libc-internal.h.
27584         (_dl_try_allocate_static_tls): Call ALIGN_UP.
27585         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
27586         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
27587         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
27588         (grow_heap): Likewise.
27589         * malloc/malloc.c: Include libc-internal.h.
27590         (do_check_malloc): Call powerof2.
27591         (sysmalloc): Use pagesize. Call ALIGN_UP.
27592         (systrim): Use pagesize.
27593         (mremap_chunk): Use pagesize. Call ALIGN_UP.
27594         (__libc_valloc): Use pagesize.
27595         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
27597 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
27599         [BZ #17991]
27600         * include/sys/resource.h (__getrlimit64): Declare.  Use
27601         libc_hidden_proto.
27602         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
27603         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
27604         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
27605         getrlimit64.
27606         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
27607         __getrlimit64.
27608         [!getrlimit64] (getrlimit64): Define as weak alias of
27609         __getrlimit64.  Use libc_hidden_weak.
27610         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
27611         using __getrlimit64 not __new_getrlimit64.
27612         (__GI_getrlimit64): Likewise.
27613         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
27614         Likewise.
27615         (__GI_getrlimit64): Likewise.
27616         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
27617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
27618         (getrlimit): Add __getrlimit64 alias.
27619         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
27620         Likewise.
27621         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
27622         Remove variable.
27623         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27624         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27626 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
27628         * libio/fileops.c: Add missing sys/mman.h
27629         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
27631 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
27633         * manual/math.texi (Errors in Math Functions): Clarify goals
27634         regarding inexact and underflow exceptions.
27636 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
27638         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
27639         * sysdeps/mips/memset.S: Ditto.
27641 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
27643         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
27645 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27647         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
27648         (__v1longjmp): Remove versioned symbol.
27649         (__v1siglongjmp): Remove alias and versioned symbol.
27650         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
27651         (__v2siglongjmp): Likewise.
27653 2015-02-16  Torvald Riegel  <triegel@redhat.com>
27655         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
27657 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
27659         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
27661 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
27663         [BZ #17987]
27664         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
27665         zero result does not depend on the sign resulting from
27666         subtraction.
27667         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27668         Likewise.
27669         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27670         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27671         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27672         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27673         * math/libm-test.inc (remquo_test_data): Add more tests.
27675 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
27677         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
27678         Problem reported by J William Piggott.
27680 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
27682         [BZ #17978]
27683         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
27684         products 4 * y and 2 * y where those would overflow.
27685         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27686         Likewise.
27687         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27688         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27689         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27690         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27691         * math/libm-test.inc (remquo_test_data): Add more tests.
27693         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
27695         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
27696         [defined _COMPILING_NEWLIB].
27697         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
27698         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
27700         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
27701         [!defined __mips_isa_rev || __mips_isa_rev < 6].
27703 2015-02-16  Torvald Riegel  <triegel@redhat.com>
27705         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
27706         acquired.
27708 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
27710         [BZ #17792]
27711         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
27712         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
27713         HOST_STACK_END_ADDR): Likewise.
27715 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
27717         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
27718         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
27719         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
27721 2015-02-13  Roland McGrath  <roland@hack.frob.com>
27723         * sysdeps/generic/c++-types.data: New file.
27724         * sysdeps/generic/ld.abilist: New file.
27725         * sysdeps/generic/libBrokenLocale.abilist: New file.
27726         * sysdeps/generic/libanl.abilist: New file.
27727         * sysdeps/generic/libc.abilist: New file.
27728         * sysdeps/generic/libcrypt.abilist: New file.
27729         * sysdeps/generic/libdl.abilist: New file.
27730         * sysdeps/generic/libm.abilist: New file.
27731         * sysdeps/generic/libpthread.abilist: New file.
27732         * sysdeps/generic/libresolv.abilist: New file.
27733         * sysdeps/generic/librt.abilist: New file.
27735 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
27737         [BZ #17569]
27738         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27739         Compute absolute value of x as modified by fmod, not original
27740         value of x.
27741         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
27742         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
27743         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
27744         RUN_TEST_ffI_f1_mod8.
27745         (remquo_test_data): Add more tests.
27747 2015-02-13  Roland McGrath  <roland@hack.frob.com>
27749         * sysdeps/init_array/pt-crti.S: New file.
27751 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
27753         [BZ #17967]
27754         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
27755         __builtin_fmaf instead of relying on contraction of a * b + c.
27757 2015-02-12  J William Piggott  <elseifthen@gmx.com>
27759         [BZ #17969]
27760         * manual/time.texi: correct the zoneinfo path in the TZ Variable
27761         node.
27763 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
27765         [BZ #17964]
27766         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
27767         __builtin_fma instead of relying on contraction of a * b + c.
27769 2015-02-12  Roland McGrath  <roland@hack.frob.com>
27771         * Makeconfig (ASFLAGS): Add -Werror=undef.
27772         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
27773         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
27774         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
27776         * Makeconfig (after-link): New variable.
27777         (+link-pie, +link-pie-tests): Use it.
27778         (+link-static, +link-static-tests): Likewise.
27779         (+link, +link-tests): Likewise.
27780         * Makerules (build-module, build-module-asneeded): Likewise.
27781         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
27782         Likewise.
27783         * elf/Makefile ($(objpfx)ld.so): Likewise.
27785 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
27787         [BZ #17965]
27788         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
27789         both struct timeval and struct timespec.
27791 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
27793         [BZ #16560]
27794         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27795         and redefine.
27796         (__ieee754_exp2l): Do not multiply small fractional parts by
27797         M_LN2l.
27798         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
27799         small argument.
27800         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27801         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27802         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
27803         * math/auto-libm-test-in: Add more tests of exp2.
27804         * math/auto-libm-test-out: Regenerated.
27806 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27808         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
27809         unaligned path.
27811 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27813         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
27814         little endian.
27816 2015-02-12  Andreas Schwab  <schwab@suse.de>
27818         [BZ #15790]
27819         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27820         Filter out elision flags from value returned in kind.
27821         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
27822         * nptl/tst-pthread-mutexattr.c: New file.
27824 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27826         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
27827         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
27828         into gnu-gnu, and update comment to refer to abi-tags.
27830 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
27832         [BZ #15467]
27833         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
27834         (__sincos): Set errno to EDOM for infinite argument.
27835         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
27836         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
27837         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
27838         (__sincosl): Set errno to EDOM for infinite argument.
27839         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
27840         (__sincosl): Set errno to EDOM for infinite argument.
27841         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
27842         (__sincosl): Set errno to EDOM for infinite argument.
27843         * math/libm-test.inc (sincos_test_data): Test errno setting.
27845 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
27847         * string/strxfrm_l.c: Remove #define STRCMP.
27848         * string/strcoll_l.c: Remove #define STRLEN.
27849         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
27850         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
27852 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
27854         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
27855         * sysdeps/mips/mips32/sfp-machine.h: ... here.
27856         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
27857         * sysdeps/mips/mips64/Makefile: ... here.
27858         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
27859         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
27860         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
27861         * sysdeps/mips/mips64/sfp-machine.h: ... here.
27862         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
27863         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
27864         * sysdeps/mips/mips64/n64/Implies: Likewise.
27866 2015-02-10  Roland McGrath  <roland@hack.frob.com>
27868         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
27869         <sys/time.h>, <string.h>, and <errno.h>.
27870         (dest_offset, dest_address, value, zero): Remove unused variables.
27871         (ldouble): Remove typedef.
27872         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
27873         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
27874         1).  Fix code style.
27875         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
27876         (check): Function removed.
27877         (CHECK): New macro.
27878         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
27879         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
27880         Don't call set_sigaction_FP and remove_sigaction_FP here.
27881         (ldouble_test): Just use 'long double' as macro argument, no need for
27882         the 'ldouble' typedef.
27883         (do_test): Set up SIGFPE handler at start, using plain signal rather
27884         than sigaction.  Fix code style.
27886 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
27888         [BZ #17949]
27889         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
27890         jump label.
27892 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27894         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
27895         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27897         * sysdeps/powerpc/configure.ac: Remove file.
27898         * sysdeps/powerpc/configure: Likewise.
27900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27901         [sysdep_routines]: Remove wordcopy-power6 object.
27902         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27903         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
27904         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
27905         (__memmove_ppc32): Likewise.
27906         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
27907         file.
27908         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
27909         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
27910         Remove preprocessor.
27912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27913         [sysdep_routines]: Remove wide chars objects.
27914         [wcsmbs]: New rule for wide char objects.
27916         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27917         Remove wordcopy-power6 obejct.
27918         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
27919         Use local call for wordcopy and memcpy symbols.
27920         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
27921         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
27922         implementation for loader.
27923         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
27925         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27926         Remove wordcopy-power7 object.
27927         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
27928         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
27929         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
27930         (_wordcopy_fwd_dest_aligned): Likewise.
27931         (_wordcopy_bwd_aligned): Likewise.
27932         (_wordcopy_bwd_dest_aligned): Likewise.
27934         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
27935         Rewrite to call __memmove_ppc instead of include default
27936         implementation.
27938         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27939         Remove wide chars objects.
27940         [wcsmbs]: New rule for wide char objects.
27942 2015-02-09  Andreas Schwab  <schwab@suse.de>
27944         [BZ #17912]
27945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27946         in terms of __O_DIRECTORY.
27948 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27950         * time/getdate.c: Include <stdbool.h>.
27951         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27952         call PTR_MANGLE.
27953         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27954         PTR_DEMANGLE.
27956 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27958         Add ersatz _Static_assert on older C hosts
27959         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27960         pre-C11 C platform that is not known to support _Static_assert.
27962 2015-02-07  Richard Braun  <rbraun@sceen.net>
27964         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27965         sigstate.
27966         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27968 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27970         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27971         priority against unexistent AIO_PRIO_DELTA_MAX.
27972         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27973         instead of int.
27974         * misc/fchflags.c (fchflags): Likewise.
27975         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27976         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27977         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27978         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27979         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27980         Declare macros.
27981         [__USE_MISC] (chflags, fchflags): Declare functions.
27982         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27983         EINVAL when nfds is greater than FD_SETSIZE.
27984         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27985         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27986         45.
27987         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27988         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27989         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27990         MACH_RCV_TIMED_OUT.
27991         * hurd/hurd/signal.h (_hurd_self_sigstate,
27992         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27993         Explicit casts from void *.
27994         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27995         * abi-tags: Rename gnu-gnu os into gnu.
27997         [BZ #4719]
27998         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27999         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28000         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28001         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28002         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28003         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28005         [BZ #17944]
28006         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28007         duplicates ADDR->sun_path with sockaddr LEN limitation.
28008         * sysdeps/mach/hurd/connect.c: Include <string.h>
28009         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28010         * sysdeps/mach/hurd/sendmsg.c: Likewise.
28011         * sysdeps/mach/hurd/sendto.c: Likewise.
28012         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28013         implementing it by hand.
28015 2015-02-06  Roland McGrath  <roland@hack.frob.com>
28017         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28018         Use sfi_breg on ldr.
28019         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28020         Likewise.
28022         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28023         it's defined.
28024         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28025         Test SIGSETXID only if it's defined.
28027         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28029         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28030         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
28032         * nptl/tst-align2.c: Moved ...
28033         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28034         * nptl/Makefile (tests): Remove tst-align2.
28035         * sysdeps/unix/sysv/linux/Makefile
28036         [$(subdir) = nptl] (tests): Add tst-align-clone.
28037         * nptl/tst-getpid1.c: Moved ...
28038         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28039         * nptl/tst-getpid2.c: Moved ...
28040         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28041         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28042         * sysdeps/unix/sysv/linux/Makefile
28043         [$(subdir) = nptl] (tests): ... here.
28044         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28045         * sysdeps/unix/sysv/linux/Makefile
28046         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28048         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28049         Drop trailing \n from perror argument.  Use return rather than exit.
28051         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28052         on [SA_SIGINFO].
28053         * nptl/tst-cancel21.c (do_test): Likewise.
28054         * debug/tst-backtrace6.c: Include <signal.h> first thing.
28055         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28056         [!SA_SIGINFO]: Make it a stub test.
28058         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28059         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28061         * posix/tst-getlogin.c: Move to ...
28062         * login/tst-getlogin.c: ... here.
28063         * posix/Makefile (tests): Move tst-getlogin to ...
28064         * login/Makefile (tests): ... here.
28066         * libio/tst-atime.c (do_test): Move local variables SV and E
28067         inside [ST_NOATIME] conditional.
28069         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28071         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28073         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28074         (wait_code): New function replaces macro.
28075         Call nanosleep rather than syscall.
28077         * nptl/pt-system.c: Rewritten.  Put everything under
28078         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28079         Use IFUNC to redirect when possible.
28081         * nptl/pt-longjmp.c: Rewritten.  Put everything under
28082         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28083         Use IFUNC to redirect when possible.
28085         * nptl/pt-fork.c: Rewritten.  Put everything under
28086         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28087         Use IFUNC to redirect when possible.
28088         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28091         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28092         unconditionally nowadays.  This included the only reference to
28093         __vdso_clock_gettime that appears outside libc proper.
28094         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28095         Remove version set (containing only __vdso_clock_gettime).
28096         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28097         Add attribute_hidden.
28098         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28099         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28100         libc_hidden_data_def.
28101         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28102         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28104         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28105         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28106         setrpcent, and getrpcport to ...
28107         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28108         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28109         getrpcbynumber_r, and getrpcent_r to ...
28110         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28111         * inet/getrpcbyname.c: Moved ...
28112         * sunrpc/getrpcbyname.c: ... here.
28113         * inet/getrpcbyname_r.c: Moved ...
28114         * sunrpc/getrpcbyname_r.c: ... here.
28115         * inet/getrpcbynumber.c: Moved ...
28116         * sunrpc/getrpcbynumber.c: ... here.
28117         * inet/getrpcbynumber_r.c: Moved ...
28118         * sunrpc/getrpcbynumber_r.c: ... here.
28119         * inet/getrpcent.c: Moved ...
28120         * sunrpc/getrpcent.c: ... here.
28121         * inet/getrpcent_r.c: Moved ...
28122         * sunrpc/getrpcent_r.c: ... here.
28123         * inet/Makefile (routines): Move those to ...
28124         * sunrpc/Makefile (routines): ... here.
28125         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28126         the $(subdirs) list.
28127         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
28128         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28129         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28130         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28132         * elf/Makefile (routines): Include $(all-dl-routines), not just
28133         $(dl-routines).
28134         (rtld-routines): Likewise.  Use = rather than :=.
28135         * sysdeps/aarch64/Makefile [$(subdir) = elf]
28136         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28137         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28138         * sysdeps/arm/Makefile: Likewise.
28139         * sysdeps/i386/Makefile: Likewise.
28140         * sysdeps/x86_64/Makefile: Likewise.
28141         * sysdeps/hppa/Makefile [$(subdir) = elf]
28142         (sysdep_routines, sysdep-rtld-routines): Don't add
28143         $(sysdep-dl-routines) to these.
28144         * sysdeps/ia64/Makefile: Likewise.
28145         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28146         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28147         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28148         Don't add dl-static to these; sysdep-dl-routines alone is enough.
28149         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28150         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28151         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28152         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28153         * sysdeps/powerpc/Makefile [$(subdir) = elf]
28154         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28155         these; sysdep-dl-routines alone is enough.
28157 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
28159         [BZ #17932]
28160         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28161         where multiplication results in zero and third argument is finite
28162         and nonzero.
28163         * math/auto-libm-test-in: Add more tests of fma.
28164         * math/auto-libm-test-out: Regenerated.
28166         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28167         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28168         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28169         (_FP_CMP_EQ): Likewise.
28170         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28172         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28173         extra argument CHECK_NAN.  Redefine as wrapper around
28174         _FP_EXTEND_CNAN.
28176 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
28178         * version.h (RELEASE): Set to "stable".
28179         (VERSION): Set to "2.21"
28180         * include/features.h (__GLIBC_MINOR__): Set to 21.
28182         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28184 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28185             Paul Eggert  <eggert@cs.ucla.edu>
28187         [BZ #16618]
28188         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28189         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28190         size in bytes. Store needed elements in wpmax. Use needed size
28191         in bytes for extend_alloca.
28193 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
28195         * manual/install.texi: Latest tested versions are GCC 4.9.2,
28196         binutls 2.25, and texinfo 5.2.
28197         * INSTALL: Regenerate.
28198         * sysdeps/nios2/configure: Regenerate.
28199         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28200         * manual/contrib.texi: Update.
28201         * po/be.po: Update.
28202         * po/bg.po: Update.
28203         * po/ca.po: Update.
28204         * po/cs.po: Update.
28205         * po/da.po: Update.
28206         * po/de.po: Update.
28207         * po/el.po: Update.
28208         * po/eo.po: Update.
28209         * po/es.po: Update.
28210         * po/fi.po: Update.
28211         * po/fr.po: Update.
28212         * po/gl.po: Update.
28213         * po/hr.po: Update.
28214         * po/hu.po: Update.
28215         * po/ia.po: Update.
28216         * po/id.po: Update.
28217         * po/it.po: Update.
28218         * po/ja.po: Update.
28219         * po/ko.po: Update.
28220         * po/lt.po: Update.
28221         * po/nb.po: Update.
28222         * po/nl.po: Update.
28223         * po/pl.po: Update.
28224         * po/pt_BR.po: Update.
28225         * po/ru.po: Update.
28226         * po/rw.po: Update.
28227         * po/sk.po: Update.
28228         * po/sl.po: Update.
28229         * po/sv.po: Update.
28230         * po/tr.po: Update.
28231         * po/uk.po: Update.
28232         * po/vi.po: Update.
28233         * po/zh_CN.po: Update.
28234         * po/zh_TW.po: Update.
28236         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
28237         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
28238         * sysdeps/hppa/dl-irel.h: Remove #warning.
28239         * sysdeps/hppa/entry.h: Provide prototype for
28240         __canonicalize_funcptr_for_compare and cast argument.
28241         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
28242         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
28243         * sysdeps/hppa/sotruss-lib.c: New file.
28244         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
28245         (atomic_compare_and_exchange_val_acq): Use __typeof__.
28246         (atomic_compare_and_exchange_bool_acq): Likewise.
28247         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
28248         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
28250         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
28251         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
28252         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
28254 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
28256         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
28257         called function in non-PIC case.
28259 2015-01-31  David S. Miller  <davem@davemloft.net>
28261         * sysdeps/sparc/sparc32/bits/atomic.h
28262         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
28263         unlock not after it.
28264         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
28265         volatile register usage warnings from the compiler.
28267         * sysdeps/sparc/nptl/sem_init.c: Delete.
28268         * sysdeps/sparc/nptl/sem_post.c: Delete.
28269         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
28270         * sysdeps/sparc/nptl/sem_wait.c: Delete.
28271         * sysdeps/sparc/sparc32/sem_init.c: New file.
28272         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
28273         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
28274         padding explicitly initialized.
28275         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
28276         padding for in-semaphore spinlock.
28277         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
28278         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
28279         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
28280         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
28281         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
28282         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
28283         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
28284         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
28285         version.
28286         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
28287         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
28289 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
28291         [BZ #17801]
28292         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28293         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
28294         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
28295         New.
28296         (index_AVX_Fast_Unaligned_Load): Likewise.
28297         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
28298         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
28299         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
28300         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
28301         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
28302         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
28303         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
28304         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
28305         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
28307 2015-01-29  Andreas Schwab  <schwab@suse.de>
28309         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
28311 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
28313         [BZ #17892]
28314         * nscd/nscd_stat.c (send_stats): Initialize DATA.
28316 2015-01-28  Martin Sebor  <msebor@redhat.com>
28318         * math/README.libm-test: Clarify. Add "How to read the test output."
28320 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
28322         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
28323         Define to 0.
28325 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
28327         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
28328         (__HAVE_64B_ATOMICS): Define to 0.
28330 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28332         [BZ #17885]
28333         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
28334         value to set as new flag.
28336         [BZ #16576]
28337         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
28338         and use _ARCH_PPCSQ instead.
28339         (__ieee754_sqrt): Likewise.
28340         (__ieee754_sqrtf): Likewise.
28341         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
28342         _ARCH_PPCSQ is defined.
28343         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
28344         fsqrt instruction.
28345         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
28346         _ARCH_PPCSQ is defined.
28347         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
28348         fsqrts instruction.
28349         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
28351 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28353         * iconv/loop.c: Suppress array out of bound warning caused by GCC
28354         bug (GCC BZ #64739).
28356 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
28358         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
28359         Mark _retval as used.
28360         (lll_futex_wake_unlock): Likewise.
28361         (lll_futex_timed_wait_requeue_pi): Likewise.
28363         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28364         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
28365         register variables.
28367         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
28368         libm_hidden_def.
28370         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
28371         (__bswap_64): Mark as __always_inline.
28373 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
28375         [BZ #15378]
28376         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
28377         when none of the search directories exist.
28379 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28381         [BZ #17869]
28382         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
28383         power8 in .machine directive.
28385         [BZ #17868]
28386         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
28387         set dependency from opd value.
28389 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
28391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28392         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
28393         architecture.
28395 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
28397         [BZ #17870]
28398         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
28399         with uint64_t.
28400         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
28401         (uint64_t) 1.
28402         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
28403         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
28404         Replace 1UL with (uint64_t) 1.
28405         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
28406         int with uint64_t.
28408 2015-01-23  Roland McGrath  <roland@hack.frob.com>
28410         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
28411         (if_freenameindex): Likewise.
28413         * resource/getrlimit64.c: Add missing libc_hidden_def.
28415 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
28417         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
28418         __label__.
28419         (_FP_FMA): Likewise.
28420         (_FP_TO_INT_ROUND): Likewise.
28421         (_FP_FROM_INT): Likewise.
28423 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28425         [BZ #16418]
28426         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
28427         Make code racy and cancel safe.
28429 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
28431         * sysdeps/arm/unwind-resume.h: Fix copyright year.
28432         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
28433         attribution.
28435         * pwd/tst-getpw.c: Rewrite.
28437         [BZ #17702]
28438         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
28439         (modules-names): Add moddummy1 and moddummy2.
28440         ($(objpfx)tst-rec-dlopen): Define.
28441         * dlfcn/moddummy1.c: New file.
28442         * dlfcn/moddummy2.c: New file.
28443         * dlfcn/tst-rec-dlopen.c: New file.
28444         * elf/dl-cache.c (_dl_load_cache_lookup):
28445         Return char*. Copy result with alloca/strcpy/strdup.
28446         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
28447         returns char*. Free cached. If not saving realname
28448         free cached.
28449         * elf/dl-open.c (dl_open_worker): Do not assert that
28450         _r_debug->r_state is RT_CONSISTENT.
28451         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
28452         returns char*.
28454 2015-01-21  Torvald Riegel  <triegel@redhat.com>
28455             Carlos O'Donell  <carlos@redhat.com>
28457         [BZ #12674]
28458         * nptl/sem_waitcommon.c: New file.
28459         * nptl/sem_wait.c: Include sem_waitcommon.c.
28460         (__sem_wait_cleanup, do_futex_wait): Remove.
28461         (__new_sem_wait): Adapt.
28462         (__new_sem_trywait): New function.
28463         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
28464         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
28465         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
28466         (sem_timedwait): Adapt.
28467         * nptl/sem_post.c (__new_sem_post): Adapt.
28468         (futex_wake): New function.
28469         (__old_sem_post): Add release MO fence.
28470         * nptl/sem_open.c (sem_open): Adapt.
28471         * nptl/sem_init.c (__new_sem_init): Adapt.
28472         (futex_private_if_supported): New function.
28473         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
28474         (__old_sem_getvalue): Add using previous code.
28475         * sysdeps/nptl/internaltypes.h: Adapt.
28476         * nptl/tst-sem13.c (do_test): Adapt.
28477         * nptl/tst-sem11.c (main): Adapt.
28478         * nptl/sem_trywait.c: Remove.
28479         * nptl/DESIGN-sem.txt: Remove.
28480         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
28481         (gen-as-const-headers): Remove structsem.sym.
28482         * nptl/structsem.sym: Remove.
28483         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
28484         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
28485         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
28486         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
28487         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
28488         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
28489         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
28490         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
28491         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
28492         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
28493         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
28494         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
28495         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
28496         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
28497         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
28498         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
28499         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
28500         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
28501         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
28502         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
28503         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
28504         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
28506 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
28508         * INSTALL: Regenerated.
28510         * po/libc.pot: Regenerated.
28512 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
28513             Sandra Loosemore  <sandra@codesourcery.com>
28514             Andrew Jenner  <andrew@codesourcery.com>
28515             Joseph Myers  <joseph@codesourcery.com>
28516             Nathan Sidwell  <nathan@codesourcery.com>
28518         * NEWS: Mention new Nios II port.
28519         * sysdeps/nios2/Implies: New file.
28520         * sysdeps/nios2/Makefile: New file.
28521         * sysdeps/nios2/Subdirs: New file.
28522         * sysdeps/nios2/Versions: New file.
28523         * sysdeps/nios2/__longjmp.S: New file.
28524         * sysdeps/nios2/abort-instr.h: New file.
28525         * sysdeps/nios2/backtrace.c: New file.
28526         * sysdeps/nios2/bits/endian.h: New file.
28527         * sysdeps/nios2/bits/fenv.h: New file.
28528         * sysdeps/nios2/bits/link.h: New file.
28529         * sysdeps/nios2/bits/setjmp.h: New file.
28530         * sysdeps/nios2/bsd-_setjmp.S: New file.
28531         * sysdeps/nios2/bsd-setjmp.S: New file.
28532         * sysdeps/nios2/configure: New generated file.
28533         * sysdeps/nios2/configure.ac: New file.
28534         * sysdeps/nios2/crti.S: New file.
28535         * sysdeps/nios2/crtn.S: New file.
28536         * sysdeps/nios2/dl-init.c: New file.
28537         * sysdeps/nios2/dl-machine.h: New file.
28538         * sysdeps/nios2/dl-sysdep.h: New file.
28539         * sysdeps/nios2/dl-tls.h: New file.
28540         * sysdeps/nios2/dl-trampoline.S: New file.
28541         * sysdeps/nios2/gccframe.h: New file.
28542         * sysdeps/nios2/gmp-mparam.h: New file.
28543         * sysdeps/nios2/jmpbuf-offsets.h: New file.
28544         * sysdeps/nios2/jmpbuf-unwind.h: New file.
28545         * sysdeps/nios2/ldsodefs.h: New file.
28546         * sysdeps/nios2/libc-tls.c: New file.
28547         * sysdeps/nios2/libm-test-ulps: New file.
28548         * sysdeps/nios2/machine-gmon.h: New file.
28549         * sysdeps/nios2/math-tests.h: New file.
28550         * sysdeps/nios2/math_private.h: New file.
28551         * sysdeps/nios2/memusage.h: New file.
28552         * sysdeps/nios2/nptl/Makefile: New file.
28553         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
28554         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
28555         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
28556         * sysdeps/nios2/nptl/pthreaddef.h: New file.
28557         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
28558         * sysdeps/nios2/nptl/tls.h: New file.
28559         * sysdeps/nios2/preconfigure: New file.
28560         * sysdeps/nios2/s_fma.c: New file.
28561         * sysdeps/nios2/s_fmaf.c: New file.
28562         * sysdeps/nios2/setjmp.S: New file.
28563         * sysdeps/nios2/sfp-machine.h: New file.
28564         * sysdeps/nios2/sotruss-lib.c: New file.
28565         * sysdeps/nios2/stackguard-macros.h: New file.
28566         * sysdeps/nios2/stackinfo.h: New file.
28567         * sysdeps/nios2/start.S: New file.
28568         * sysdeps/nios2/sysdep.h: New file.
28569         * sysdeps/nios2/tls-macros.h: New file.
28570         * sysdeps/nios2/tst-audit.h: New file.
28571         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
28572         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
28573         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
28574         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
28575         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
28576         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
28577         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
28578         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
28579         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
28580         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
28581         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
28582         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
28583         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
28584         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
28585         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
28586         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
28587         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
28588         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
28589         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
28590         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
28591         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
28592         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
28593         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
28594         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
28595         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
28596         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
28597         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
28598         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
28599         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
28600         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
28601         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
28602         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
28603         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
28604         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
28605         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
28606         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
28607         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
28608         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
28609         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
28610         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
28611         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
28612         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
28613         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
28614         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
28616 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28618         [BZ #17844]
28619         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
28620         (getutent): Use weak_alias in non SHARED case
28621         and default_symbol_version in SHARED case.
28622         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
28623         (getutent_r, pututline): Likewise.
28624         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
28625         (getutid): Likewise.
28626         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
28627         (getutid_r): Likewise.
28628         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
28629         (getutline): Likewise.
28630         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
28631         (getutline_r): Likewise.
28632         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
28633         (updwtmp): Likewise.
28635 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28637         [BZ #17848]
28638         * sysdeps/s390/s390-32/memcmp.S
28639         (memcmp_g5): Rename to __memcmp_g5.
28640         * sysdeps/s390/s390-32/memcpy.S
28641         (memcpy_g5): Rename to __memcpy_g5.
28642         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28643         (memcpy_mvcle) Rename to __memcpy_mvcle.
28644         * sysdeps/s390/s390-32/memset.S
28645         (memset_g5): Rename to __memset_g5.
28646         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28647         (IFUNC_RESOLVE): Prefix ifunc-resolve function
28648         and use prefixed functions.
28649         * sysdeps/s390/s390-32/multiarch/memcmp.S
28650         (memcmp_z196): Rename to __memcmp_z196.
28651         (memcmp_z10): Rename to __memcmp_z10.
28652         (memcmp): Set alias to __memcmp_g5.
28653         (bcmp): Set alias to __memcmp_g5.
28654         * sysdeps/s390/s390-32/multiarch/memcpy.S
28655         (memcpy_z196): Rename to __memcpy_z196.
28656         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28657         (memcpy_z10): Rename to __memcpy_z10.
28658         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28659         (memcpy): Set alias to __memcpy_g5.
28660         * sysdeps/s390/s390-32/multiarch/memset.S
28661         (memset_z196): Rename to __memset_z196.
28662         Jump to __memset_mvcle instead of memset_mvcle.
28663         (memset_z10): Rename to __memset_z10.
28664         Jump to __memset_mvcle instead of memset_mvcle.
28665         (memset_mvcle) Rename to __memset_mvcle.
28666         (memset): Set alias to __memset_g5.
28667         * sysdeps/s390/s390-64/memcmp.S
28668         (memcmp_z900): Rename to __memcmp_z900.
28669         * sysdeps/s390/s390-64/memcpy.S
28670         (memcpy_z900): Rename to __memcpy_z900.
28671         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28672         (memcpy_mvcle) Rename to __memcpy_mvcle.
28673         * sysdeps/s390/s390-64/memset.S
28674         (memset_z900): Rename to __memset_z900.
28675         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
28676         (IFUNC_RESOLVE): Prefix ifunc-resolve function
28677         and use prefixed functions.
28678         * sysdeps/s390/s390-64/multiarch/memcmp.S
28679         (memcmp_z196): Rename to __memcmp_z196.
28680         (memcmp_z10): Rename to __memcmp_z10.
28681         (memcmp): Set alias to __memcmp_z900.
28682         (bcmp): Set alias to __memcmp_z900.
28683         * sysdeps/s390/s390-64/multiarch/memcpy.S
28684         (memcpy_z196): Rename to __memcpy_z196.
28685         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28686         (memcpy_z10): Rename to __memcpy_z10.
28687         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28688         (memcpy): Set alias to __memcpy_z900.
28689         * sysdeps/s390/s390-64/multiarch/memset.S
28690         (memset_z196): Rename to __memset_z196.
28691         Jump to __memset_mvcle instead of memset_mvcle.
28692         (memset_z10): Rename to __memset_z10.
28693         Jump to __memset_mvcle instead of memset_mvcle.
28694         (memset_mvcle) Rename to __memset_mvcle.
28695         (memset): Set alias to __memset_z900.
28697 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
28699         [BZ #17748]
28700         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
28701         __fesetenv instead of fesetenv.
28703 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28705         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
28706         macro.
28708 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28710         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
28711         regression on LE.
28713         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
28714         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
28715         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28716         strncmp-power8 object.
28717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28718         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
28719         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
28720         * NEWS: Update.
28722 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28725         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
28726         trailing byte check.
28728 2015-01-13  David S. Miller  <davem@davemloft.net>
28730         * include/signal.h (__sigreturn): Guard with __USE_MISC.
28732 2015-01-13  Roland McGrath  <roland@hack.frob.com>
28734         * login/logout.c (logout): Use memset rather than bzero.
28735         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
28736         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
28737         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
28738         (_gethtbyaddr): Likewise.
28739         * locale/programs/simple-hash.c (bcopy): Macro removed.
28741 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28743         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28744         Add strcmp-power8 object.
28745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28746         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
28747         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
28748         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
28749         __strcmp_power8 implementation.
28750         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
28751         * NEWS: Update.
28753         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28754         Add strncpy-power8 and stpncpy-power8 objects.
28755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28756         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
28757         implementations.
28758         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
28759         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
28760         __stpncpy_power8 implementation.
28761         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
28762         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
28763         __strncpy_power8 implementation.
28764         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
28765         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
28766         * NEWS: Update.
28768         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
28769         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
28770         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
28772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28773         strncat-power8 object.
28774         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
28775         __strcat_power8 implementation.
28776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28777         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
28778         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
28779         optimized strcat for power8.
28781         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28782         strcpy-power8 and stpcpy-power8 objects.
28783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28784         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
28785         implementations.
28786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
28787         multiarch stpcpy implementation for POWER8.
28788         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
28789         multiarch strcpy implementation for POWER8.
28790         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
28791         __strcpy_power8 function.
28792         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
28793         stpcpy for POWER8.
28794         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
28795         strcpy for POWER8.
28796         * NEWS: Update.
28798 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
28800         [BZ #16009]
28801         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
28802         weights and rules. Use do_xfrm_cached if data fits in cache,
28803         do_xfrm otherwise.  Moved former main loop to...
28804         * (do_xfrm_cached): New function.
28805         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
28806         find_idx, find_position and stack_push.
28807         * (find_idx): New function.
28808         * (find_position): Likewise.
28809         * localedata/sort-test.sh: Added test run for do_xfrm.
28810         * localedata/xfrm-test.c (main): Added command line option
28811         -nocache to run the test with strings that are too large for
28812         the STRXFRM cache.
28814 2015-01-13  Torvald Riegel  <triegel@redhat.com>
28816         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
28817         variable to lll_futex_wake call, not the value itself.
28819 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
28821         [BZ #17803]
28822         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
28823         twom64.  Adjust value to 0x1p-64L.
28824         (__scalblnl): Only return standard underflowing result for K <=
28825         -64 not K <= -63; adjust exponent for underflowing result by 64
28826         not 63.
28827         * math/libm-test.inc (scalbn_test_data): Add more tests.
28828         (scalbln_test_data): Likewise.
28830         [BZ #17834]
28831         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
28832         0x1p63L.
28833         (__scalblnl): Get new exponent of adjusted subnormal value from ES
28834         not HX.
28835         * math/libm-test.inc (scalbn_test_data): Add more tests.
28836         (scalbln_test_data): Likewise.
28838 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28839             Stefani Seibold  <stefani@seibold.net>
28841         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
28842         (sysdep_routines): Add dl-vdso here, ...
28843         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
28844         (sysdep_routines): ... not here.
28845         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
28846         fallback when vDSO is not presented.
28847         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28848         Define with libc_hidden_proto/libc_hidden_data_def definitions.
28849         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
28850         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
28851         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
28852         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
28853         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
28854         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
28855         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
28856         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
28857         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
28858         fallback configurable symbol when vDSO is not available.
28859         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
28860         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
28861         be able to redefine fallback symbol when vDSO is not available.
28862         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
28863         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
28865 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28867         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
28868         (TLS_INIT_TP): Add tm_capable initialization.
28869         (TLS_DEFINE_INIT_TP): Likewise.
28870         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
28871         TCB.
28872         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
28873         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
28874         calculation.
28875         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
28876         transactoion is lock elision is built and TCB tm_capable is set.
28877         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
28878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28879         (INTERNAL_SYSCALL_NCS): Likewise.
28880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28881         (INTERNAL_SYSCALL_NCS): Likewise.
28882         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
28884         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
28885         for powerpc.
28886         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28887         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
28888         and remove it for 32 bits case.
28889         [pthread_rwlock_t] (__rwelision): New field for lock elision.
28890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
28891         initialization.
28892         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
28893         Disable lock elision with rdlocks if elision is not available.
28895         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
28896         (sysdep_routines): Add lock elision objects.
28897         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28898         [pthread_mutex_t] (__spins): Rework to add lock elision field.
28899         [pthread_mutex_t] (__elision): Add field.
28900         [__PTHREAD_SPINS]: Adjust to init lock elision field.
28901         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
28902         elision definitions for powerpc.
28903         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
28904         implementation of lock elision for powerpc.
28905         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
28906         implementation of timed lock elision for powerpc.
28907         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
28908         implementation of trylock with lock elision for powerpc.
28909         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
28910         implementaion of unlock for lock elision for powerpc.
28911         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
28912         automatic enable lock elision for mutexes.
28913         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
28914         transaction execution definitions for powerpc.
28915         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
28916         definitions.
28917         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
28918         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
28919         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
28920         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
28921         * NEWS: Update.
28923 2015-01-09  Roland McGrath  <roland@hack.frob.com>
28925         * sysdeps/posix/shm-directory.c: Use <> rather than ""
28926         for #include of <shm-directory.h>.
28928 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
28930         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
28931         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
28933 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
28935         [BZ #17791]
28936         * NEWS: Mention bug fix.
28937         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
28938         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
28939         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
28941 2015-01-09  Torvald Riegel <triegel@redhat.com>
28943         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28945 2015-01-09  Torvald Riegel <triegel@redhat.com>
28947         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28949 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28951         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28952         pointer and cast to uintptr_t.
28954 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28956         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28957         removed.
28958         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28960 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28962         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28963         of 0.
28965 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28967         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28968         <nptl/pthreadP.h> instead.
28969         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28971         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28972         already defined.
28973         [__SIGRTMIN] (init): Function removed.
28974         [__SIGRTMIN] (initialized): Variable removed.
28975         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28976         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28977         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28978         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28979         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28980         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28981         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28982         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28983         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28984         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28985         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28986         * sysdeps/nptl/allocrtsig.c: New file.
28987         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28988         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28989         * sysdeps/generic/testrtsig.h: File removed.
28991         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28992         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28994         * nptl/nptl-init.c (pthread_functions): Conditionalize
28995         .ptr__nptl_setxid initialization on [SIGSETXID].
28997         * sysdeps/nptl/sys/procfs.h: New file.
28998         * nptl_db/Makefile (headers): Add it.
28999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29001         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29002         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29003         * nptl/pthread_attr_setaffinity.c: Include it.
29004         * nptl/pthread_setattr_default_np.c: Likewise.
29005         * nptl/check-cpuset.h: New file.
29007 2015-01-08  Richard Henderson  <rth@redhat.com>
29009         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29010         (CFLAGS-tst-execstack-prog.c): Likewise.
29011         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29013 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
29014             Sandra Loosemore  <sandra@codesourcery.com>
29015             Andrew Jenner  <andrew@codesourcery.com>
29016             Joseph Myers  <joseph@codesourcery.com>
29017             Nathan Sidwell  <nathan@codesourcery.com>
29019         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29020         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29021         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29022         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29023         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29024         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29025         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29026         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29027         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29028         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29029         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29030         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29031         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29032         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29033         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29034         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29035         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29037 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29039         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29040         timespec struct member in syscall macro.
29041         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29042         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29043         first timeval struct member in syscall macro.
29044         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29046 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
29048         [BZ #17748]
29049         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29050         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29051         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29052         __feupdateenv and define as weak alias of __feupdateenv.  Use
29053         libm_hidden_weak.
29054         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29055         libm_hidden_def.
29056         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29057         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
29058         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29059         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29060         libm_hidden_def.
29061         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29062         __feupdateenv and define as weak alias of __feupdateenv.  Use
29063         libm_hidden_weak.
29064         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29065         libm_hidden_def.
29066         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29067         __feupdateenv and define as weak alias of __feupdateenv.  Use
29068         libm_hidden_weak.
29069         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29070         libm_hidden_def.
29071         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29072         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29073         (__feupdateenv): Likewise.
29074         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29075         __feupdateenv and define as weak alias of __feupdateenv.  Use
29076         libm_hidden_weak.
29077         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29078         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29079         libm_hidden_def.
29080         * sysdeps/tile/math_private.h (__feupdateenv): New inline
29081         function.
29082         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29083         libm_hidden_def.
29084         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29085         __feupdateenv instead of feupdateenv.
29086         (default_libc_feupdateenv_test): Likewise.
29087         (libc_feresetround_ctx): Likewise.
29089 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29091         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29092         prototype.
29094 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
29096         * posix/regcomp.c (parse_bracket_exp): Initialize type to
29097         COLL_SYM in a couple of places to avoid uninitialized variable
29098         wanings on tilegx gcc 4.8.2.
29100 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29102         * sysdeps/aarch64/strcpy.S: New file.
29103         * sysdeps/aarch64/stpcpy.S: New file.
29104         * NEWS: Updated.
29106 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29108         * sysdeps/aarch64/strrchr.S: New file.
29109         * NEWS: Updated.
29111 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
29113         [BZ #17658]
29114         * stdlib/setenv.c: Fix memory leak when setting large,
29115         duplicate string.
29117 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
29119         [BZ #17273]
29120         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29121         and tabs from buffer before parsing fstab entry.
29122         * misc/tst-mntent.c (main): Add test for mount entry with
29123         trailing spaces and tabs.
29125 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
29127         [BZ #17748]
29128         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
29129         * math/fesetround.c (fesetround): Rename to __fesetround and
29130         define as weak alias of __fesetround.  Use libm_hidden_weak.
29131         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29132         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29133         * sysdeps/arm/fesetround.c (fesetround): Likewise.
29134         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29135         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29136         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29137         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29138         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29139         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29140         __fesetround_inline.
29141         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29142         __fesetround_inline instead of __fesetround.
29143         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29144         __fesetround and define as weak alias of __fesetround.  Use
29145         libm_hidden_weak.  Call __fesetround_inline instead of
29146         __fesetround.
29147         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29148         __fesetround and define as weak alias of __fesetround.  Use
29149         libm_hidden_weak.
29150         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29151         Likewise.
29152         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29153         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29154         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29155         * sysdeps/tile/math_private.h (__fesetround): New inline function.
29156         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29157         __fesetround and define as weak alias of __fesetround.  Use
29158         libm_hidden_weak.
29159         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29160         __fesetround instead of fesetround.
29161         (default_libc_feholdexcept_setround): Likewise.
29162         (libc_feholdsetround_ctx): Likewise.
29163         (libc_feholdsetround_noex_ctx): Likewise.
29165         [BZ #17748]
29166         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29167         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29168         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29169         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29170         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29171         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29172         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29173         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29174         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29175         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29176         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29177         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29178         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29179         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29180         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29181         libm_hidden_def.
29182         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29183         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29184         Likewise.
29185         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29186         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29187         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29188         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29189         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29190         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29191         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29192         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29193         __fesetenv instead of fesetenv.
29194         (libc_feresetround_noex_ctx): Likewise.
29195         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29196         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29197         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29198         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29199         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29200         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29201         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29202         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29203         (__feupdateenv): Likewise.
29204         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29205         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29206         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29207         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29209 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29211         [BZ #17806]
29212         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29213         addresses have been freed.
29215 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29217         * resolv/res_init.c (__res_vinit): Improve comments about nserv
29218         and nservall.
29220 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
29222         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29223         Clean up check_pf allocation pattern. addresses
29225 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29227         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
29228         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
29229         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
29230         * nptl/pthread_exit.c (__pthread_exit): Likewise.
29231         * nptl/pthread_join.c (pthread_join): Likewise.
29232         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
29233         * sysdeps/posix/waitid.c (__waitid): Likewise.
29234         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29235         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29236         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29237         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29239         Likewise.
29240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29241         (__libc_pread64): Likewise.
29242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29243         (__libc_pwrite): Likewise.
29244         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29245         (__libc_pwrite64): Likewsie.
29246         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29247         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29248         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29249         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29250         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29251         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29252         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29254         Likewise.
29255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29256         (__libc_pread64): Likewise.
29257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
29258         Likewise.
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29260         (__libc_pwrite64): Likewise.
29261         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29262         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29263         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
29264         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
29265         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29266         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29267         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
29268         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29269         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29270         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29271         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
29272         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29273         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29274         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
29275         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29276         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29277         Likewise.
29279 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29281         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
29282         (CFLAGS-test-double.c): Likewise.
29283         (CFLAGS-test-ldouble.c): Likewise.
29284         (CPPFLAGS-test-ifloat.c): Likewise.
29285         (CPPFLAGS-test-idouble.c): Likewise.
29286         (CPPFLAGS-test-ildoubl.c): Likewise.
29287         (CFLAGS-test-test-fenv.c): Remove variable.
29288         (CFLAGS-test-misc.c): Likewise.
29290 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
29292         [BZ #17797]
29293         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
29294         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
29295         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
29296         CLOCKS_PER_SEC == 1000000.
29297         * time/clocktest.c (main): Replace %ld with %jd and cast to
29298         intmax_t.
29300 2015-01-05  Roland McGrath  <roland@hack.frob.com>
29302         * sysdeps/generic/unwind-resume.h: New file.
29303         * sysdeps/gnu/unwind-resume.c: Include it.
29304         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
29305         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
29306         argument list.
29307         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
29308         global rather than static.
29309         (_Unwind_Resume): Update user.
29310         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
29311         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
29312         rather than static.  Add __attribute__ ((cold)).
29313         (_Unwind_Resume, __gcc_personality_v0): Update callers.
29314         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
29315         * sysdeps/arm/arm-unwind-resume.S: New file.
29316         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
29317         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
29318         * sysdeps/arm/Makefile [$(subdir) = csu]
29319         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
29320         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29321         Add rt-arm-unwind-resume.
29322         [$(subdir) = nptl]
29323         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29324         Add pt-arm-unwind-resume.
29325         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
29326         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
29328 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
29330         [BZ #17748]
29331         * include/fenv.h (__feholdexcept): Declare.  Use
29332         libm_hidden_proto.
29333         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
29334         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
29335         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29336         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
29337         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
29338         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
29339         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
29340         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29341         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
29342         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
29343         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29344         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
29345         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
29346         (feholdexcept): Likewise.
29347         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29348         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29349         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29350         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29351         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
29352         __feholdexcept instead of feholdexcept.
29353         (default_libc_feholdexcept_setround): Likewise.
29355 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
29357         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
29358         to avoid using stl/str to align destination.
29360 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
29362         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
29364 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
29366         [BZ #17796]
29367         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
29368         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
29369         Define as weak alias not strong alias.
29371 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
29373         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
29374         bltzal with addiupc.
29375         (RTLD_START): Ditto.
29377 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
29379         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
29380         for __vdso_* functions in declarations.
29381         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
29382         definitions.
29383         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
29384         INTERNAL_VSYSCALL): Use struct return types to check for error.
29386         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
29387         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
29388         function with cast from llround().
29389         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
29390         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29391         Define.
29393 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
29395         [BZ #17793]
29396         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
29397         Define as weak alias not strong alias.
29399         [BZ #17635]
29400         * ctype/ctype-c99.c: New file.  isblank implementation moved from
29401         ...
29402         * ctype/ctype-extn.c: ... here.
29403         (__isblank_l): Move to ...
29404         * ctype/ctype-c99_l.c: ... here.  New file.
29405         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
29406         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
29407         Remove variable.
29408         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29409         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29410         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29411         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29412         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29414         [BZ #17777]
29415         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
29416         (posix_fadvise64): Define as weak alias not strong alias.
29417         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29418         (posix_fallocate64): Likewise.
29419         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
29420         Remove variable.
29421         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29422         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29423         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29424         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29425         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29427 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
29429         [BZ #16191]
29430         * NEWS: Mention bug fix.
29431         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
29432         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
29433         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
29434         (HOST_STACK_END_ADDR): Likewise.
29436 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
29438         [BZ #17748]
29439         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
29440         * math/fegetround.c (fegetround): Rename to __fegetround and
29441         define as weak alias of __fegetround.  Use libm_hidden_weak.
29442         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
29443         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
29444         * sysdeps/arm/fegetround.c (fegetround): Likewise.
29445         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
29446         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29447         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
29448         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
29449         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
29450         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29451         Undefine after rather than before function definition; use
29452         parentheses around function name in definition.
29453         (__fegetround): Also undefine macro after function definition.
29454         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
29455         __fegetround and define as weak alias of __fegetround.  Use
29456         libm_hidden_weak.  Do not undefine as macro.
29457         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29458         Likewise.
29459         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
29460         __fegetround and define as weak alias of __fegetround.  Use
29461         libm_hidden_weak.
29462         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29463         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29464         * sysdeps/tile/math_private.h (__fegetround): New inline function.
29465         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
29466         __fegetround and define as weak alias of __fegetround.  Use
29467         libm_hidden_weak.
29468         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
29469         __fegetround instead of fegetround.
29471         [BZ #17782]
29472         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
29473         Condition macro definition on [__USE_MISC].
29475         [BZ #17781]
29476         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
29477         (struct sigaction): Change type of sa_flags field to int.
29479         [BZ #17780]
29480         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
29481         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
29482         __glibc_reserved0.
29484         * nptl/version.c (banner): Use single year in copyright notice.
29486         * NEWS: Update copyright dates.
29487         * catgets/gencat.c (print_version): Likewise.
29488         * csu/version.c (banner): Likewise.
29489         * debug/catchsegv.sh: Likewise.
29490         * debug/pcprofiledump.c (print_version): Likewise.
29491         * debug/xtrace.sh (do_version): Likewise.
29492         * elf/ldconfig.c (print_version): Likewise.
29493         * elf/ldd.bash.in: Likewise.
29494         * elf/pldd.c (print_version): Likewise.
29495         * elf/sotruss.sh: Likewise.
29496         * elf/sprof.c (print_version): Likewise.
29497         * iconv/iconv_prog.c (print_version): Likewise.
29498         * iconv/iconvconfig.c (print_version): Likewise.
29499         * locale/programs/locale.c (print_version): Likewise.
29500         * locale/programs/localedef.c (print_version): Likewise.
29501         * login/programs/pt_chown.c (print_version): Likewise.
29502         * malloc/memusage.sh (do_version): Likewise.
29503         * malloc/memusagestat.c (print_version): Likewise.
29504         * malloc/mtrace.pl: Likewise.
29505         * manual/libc.texinfo: Likewise.
29506         * nptl/version.c (banner): Likewise.
29507         * nscd/nscd.c (print_version): Likewise.
29508         * nss/getent.c (print_version): Likewise.
29509         * nss/makedb.c (print_version): Likewise.
29510         * posix/getconf.c (main): Likewise.
29511         * scripts/test-installation.pl: Likewise.
29512         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
29514 2015-01-02  Will Newton  <will.newton@linaro.org>
29516         * sysdeps/arm/armv7/configure: Removed.
29517         * sysdeps/arm/armv7/configure.ac: Likewise.
29519 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
29521         * All files with FSF copyright notices: Update copyright dates
29522         using scripts/update-copyrights.
29523         * intl/plural.c: Regenerated.
29524         * locale/programs/charmap-kw.h: Likewise.
29525         * locale/programs/locfile-kw.h: Likewise.
29527 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29529         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
29531 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
29533         [BZ #17748]
29534         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
29535         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
29536         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29537         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
29538         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29539         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
29540         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29541         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
29542         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29543         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29544         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29545         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29546         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29547         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29548         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
29549         libm_hidden_def.
29550         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
29551         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
29552         Likewise.
29553         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29554         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29555         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29556         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29557         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
29558         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29559         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
29560         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
29561         __fegetenv instead of fegetenv.
29562         (libc_feholdsetround_noex_ctx): Likewise.
29564 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29566         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
29567         (Elf_MIPS_ABIFlags_v0): New structure.
29568         (EF_MIPS_FP64): Define.
29569         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
29570         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
29571         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
29572         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
29573         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
29574         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
29575         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
29576         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
29577         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
29578         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
29579         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
29580         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
29581         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
29582         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
29583         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
29584         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
29585         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
29586         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
29587         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
29588         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
29589         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
29590         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
29591         field.
29592         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
29593         EF_MIPS_FP64.
29594         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
29595         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
29596         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
29597         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
29598         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
29599         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
29600         * sysdeps/mips/tst-abi-interlink.c: Likewise.
29601         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
29602         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
29603         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
29604         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
29605         record the current FP ABI extension.
29606         (mips-mode-switch): Define to show if kernel headers support mode
29607         switching.
29608         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
29609         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
29610         supported SYSV ABI version to 3.
29611         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
29612         feature.
29614 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29617         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
29618         path.
29619         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
29621 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
29623         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
29624         __fegetround and redefine to call __fegetround.  Remove condition
29625         on [!__NO_MATH_INLINES].
29626         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
29627         function.
29628         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
29629         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29630         Remove macro.
29631         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
29632         instead of <fenv_libc.h>.
29633         (__llrintl): Call fegetround instead of __fegetround.
29634         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
29635         instead of <fenv_libc.h>.
29636         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29637         (__lrintl): Call fegetround instead of __fegetround.
29638         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
29639         instead of <fenv_libc.h>.
29640         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29641         (__rintl): Call fegetround instead of __fegetround.
29643 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29645         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
29646         arrays.
29648 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
29650         [BZ #17775]
29651         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
29652         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
29653         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
29655 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29657         * sysdeps/i386/tls-macros.h: Include <features.h>.
29658         (TLS_LE): Use non-PIC version for GCC >= 5.0.
29659         (TLS_IE): Likewise.
29660         (TLS_LD): Likewise.
29661         (TLS_GD): Likewise.
29662         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
29663         define for GCC >= 5.0.
29665 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
29667         * math/test-fenv.c (test_single_exception, set_single_exc,
29668         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
29669         feexcp_mask_test, feenable_test, fe_single_test): Add
29670         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
29671         case where they are not used.
29672         * math/libm-test.inc: Likewise.
29673         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
29674         unused in the absence of FP rounding/exception support.
29675         * stdio-common/tst-printf-round.c: Likewise.
29676         * stdlib/tst-strtod-round.c: Likewise.
29677         * stdlib/tst-strtod-underflow.c: Likewise.
29679 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
29681         [BZ #17723]
29682         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
29683         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
29684         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29685         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29686         libm_hidden_weak.
29687         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
29688         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29689         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
29690         libm_hidden_def.
29691         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29692         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29693         libm_hidden_weak.
29694         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
29695         Likewise.
29696         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
29697         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29698         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29699         libm_hidden_weak.
29700         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29701         libm_hidden_def.
29702         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29703         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
29704         (__feraiseexcept): Likewise.
29705         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29706         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29707         libm_hidden_weak.
29708         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29709         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29710         libm_hidden_def.
29711         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
29712         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
29713         Use libm_hidden_def.
29714         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
29715         libm_hidden_def.
29716         (feraiseexcept): Define as weak not strong alias.  Use
29717         libm_hidden_weak.
29718         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
29719         New inline function.  Factored out of ...
29720         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
29721         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
29722         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
29723         feraiseexcept.
29724         * math/w_acos.c (__acos): Likewise.
29725         * math/w_asin.c (__asin): Likewise.
29726         * math/w_ilogb.c (__ilogb): Likewise.
29727         * math/w_j0.c (y0): Likewise.
29728         * math/w_j1.c (y1): Likewise.
29729         * math/w_jn.c (yn): Likewise.
29730         * math/w_log.c (__log): Likewise.
29731         * math/w_log10.c (__log10): Likewise.
29732         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
29733         * sysdeps/aarch64/fpu/math_private.h
29734         (libc_feupdateenv_test_aarch64): Likewise.
29735         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29736         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
29737         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
29738         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29739         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29740         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29741         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
29742         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29743         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29744         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29746 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
29748         [BZ #17732]
29749         * io/test-utime.c (main): Replace %ld with %jd and cast to
29750         intmax_t.
29751         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
29752         * nptl/tst-mutex5.c: Include <stdint.h>.
29753         (do_test): Replace %ld with %jd and cast to intmax_t.
29754         * posix/tst-regex.c (run_test): Likewise.
29755         (run_test_backwards): Likewise.
29756         * rt/tst-clock.c: Include <stdint.h>.
29757         (clock_test): Replace %ld with %jd and cast to intmax_t.
29758         * rt/tst-cpuclock1.c: Include <stdint.h>.
29759         (do_test): Replace %lu with %ju and cast to uintmax_t.
29760         * rt/tst-cpuclock2.c: Include <stdint.h>.
29761         (do_test): Replace %lu with %ju and cast to uintmax_t.
29762         * rt/tst-mqueue1.c: Include <stdint.h>.
29763         (check_attrs): Replace %ld with %jd and cast to intmax_t.
29764         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
29765         intmax_t.
29766         * rt/tst-mqueue4.c (do_test): Likewise.
29767         * rt/tst-timer4.c: Include <stdint.h>.
29768         (check_ts): Replace %ld with %jd and cast to intmax_t.
29769         (do_test): Likewise.
29770         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
29771         and cast to intmax_t.
29772         * sysdeps/pthread/tst-timer.c (main): Likewise.
29773         * time/clocktest.c (main): Likewise.
29774         * time/tst-posixtz.c (do_test): Likewise.
29775         * timezone/tst-timezone.c (main): Likewise.
29777 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29778             H.J. Lu  <hongjiu.lu@intel.com>
29780         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
29781         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29782         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
29783         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
29784         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
29785         version if bit_Fast_Unaligned_Load is set.
29786         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29787         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29788         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29789         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29790         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29791         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29793         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
29794         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
29795         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
29796         to 4.
29797         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
29798         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
29799         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
29800         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
29802 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
29804         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
29805         instead of #if to avoid a Wundef warning.
29806         * stdlib/tst-limits.c (do_test): Likewise.
29808         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
29809         parallel other exception macros.
29810         (fegetenv): Convert from macro to extern inline so that it applies
29811         retroactively to inline functions already seen by the compiler.
29812         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
29814         * posix/Makefile (before-compile): Use $(objpfx) for
29815         posix-conf-vars-def.h.
29817 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29819         * posix/getconf.c (main): Use size_t for type of I.
29820         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
29821         NSPEC.
29823         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
29824         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
29825         * posix/posix-envs.def: Likewise.
29826         * sysdeps/posix/sysconf.c: Likewise.
29827         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
29828         (specs): Remove array.
29829         * scripts/gen-posix-conf-vars.awk: Support generation of specs
29830         array.
29832         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
29833         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
29834         (__sysconf): Use CONF_IS_* macros.
29836         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
29837         ($(objpfx)posix-conf-vars-def.h): New target.
29838         * posix/posix-conf-vars.list: New file.
29839         * posix/posix-conf-vars.h: New file.
29840         * posix/confstr.c: Include posix-conf-vars.h.
29841         (confstr): Use CONF_IS_* macros.
29842         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
29843         CONF_IS_* macros.
29844         * scripts/gen-posix-conf-vars.awk: New file.
29846 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
29848         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
29849         fegetround): Add no-op macros to avoid linknamespace issues.
29851         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
29852         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
29854         * sysdeps/unix/sysv/linux/tile/sysdep.h
29855         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
29856         assembly-specific section to avoid a redefinition warning.
29858         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
29859         long before casting to pointer to avoid a cast warning.
29861 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
29863         * sysdeps/tile/tilegx/Implies: New file.
29865 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
29867         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
29869 2014-12-23  Florian Weimer  <fweimer@redhat.com>
29871         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
29873 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29875         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
29876         not define.
29877         * sysdeps/unix/sysv/linux/utimes.c: Do not include
29878         <kernel-features.h>.
29879         (__utimes) [__NR_utimes]: Make code unconditional.
29880         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
29881         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29882         (__ASSUME_UTIMES): Do not undefine.
29883         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29884         (__ASSUME_UTIMES): Likewise.
29885         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29886         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
29887         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
29888         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
29890 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29892         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
29894 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
29896         [BZ #17747]
29897         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
29898         alias to weak alias for j0l, y0l.
29899         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
29900         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
29902         [BZ #17746]
29903         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
29904         conversion.
29906 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29908         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
29909         to zero if not already defined.
29911 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29913         [BZ #17724]
29914         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
29915         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
29916         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
29917         (char *) casts added.
29918         * sysdeps/ieee754/k_standardf.c: New file.
29919         * sysdeps/ieee754/k_standardl.c: Likewise.
29920         * math/Makefile (libm-support): Remove k_standard.
29921         (libm-calls): Add k_standard.
29923 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29925         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29926         Optimize to avoid an unnecessary FPCR read.
29928 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29930         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29931         Optimize to reduce FPCR/FPSR accesses.
29933 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29935         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
29936         Call libc_fetestexcept_aarch64.
29938 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29940         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
29941         Call libc_fesetround_aarch64.
29943 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29945         [BZ #17733]
29946         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29947         (__bind): Do not define as weak alias.
29948         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29949         define.
29950         (__getsockname): Do not define as weak alias.
29952 2014-12-22  Will Newton  <will.newton@linaro.org>
29954         * manual/install.texi: Document that we require bison 2.7
29955         or above.
29956         * INSTALL: Regenerate.
29957         * configure.ac: Use AC_CHECK_PROG_VER instead of
29958         AC_PATH_PROG when checking for bison and check for
29959         version 2.7 or above.
29960         * configure: Regenerate.
29962 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29964         [BZ #17745]
29965         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29966         * sysdeps/tile/ffsll.c (ffsll): To here.
29968         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29970 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29972         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29973         if not defined.
29974         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29975         definition.
29976         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29977         hidden ___tls_get_addr.
29978         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29979         hidden __tls_get_addr.
29980         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29981         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29982         Likewise.
29984 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29986         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29987         _dl_init call.
29989 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29991         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29992         from "call _dl_init@PLT".
29993         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29995 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29997         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29998         guarantees.
30000 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
30002         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30004 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30006         [BZ #17744]
30007         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30008         strnlen.
30010 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30012         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30013         of multu on MIPSr6.
30014         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30015         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30016         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30017         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30018         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30020 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30022         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30023         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30024         (PTR_SUBU): Use subu for mips32r6/mips64r6.
30025         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30026         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30027         mips32r6/mips64r6.
30028         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30030 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
30032         * string/strncat.c (STRNCAT): Simplify implementation.
30034 2014-12-19  David S. Miller  <davem@davemloft.net>
30036         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30037         access the quad as both a long double and as a series of 4 words.
30039         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30040         link_map->l_info array access.
30042 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30044         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30046         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30047         * math/atest-exp2.c (TIMEOUT): Likewise.
30048         * math/atest-sincos.c (TIMEOUT): Likewise.
30050 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30052         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30053         -Wno-error with -fno-builtin-lround.
30055 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30057         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30058         Contains futex constants and functions moved over from ...
30059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
30060         <lowlevellock-futex.h>.
30061         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30062         (lll_timedwait_tid): Add comments and parentheses around macro
30063         arguments.
30065 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30067         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30068         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
30069         (__lll_private_flag): Remove.
30070         (lll_futex_wait): Likewise.
30071         (lll_futex_timed_wait): Likewise.
30072         (lll_futex_wake): Likewise.
30073         (lll_futex_requeue): Likewise.
30074         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30075         (__lll_timedwait_tid): Spell out argument names.
30076         (lll_timedwait_tid): Add comments and parentheses around macro
30077         arguments.
30078         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30079         LLL_SHARED and LLL_PRIVATE usable from assembly code.
30081 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30083         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30084         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30085         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30086         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30087         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30088         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30089         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30090         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30091         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30092         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30093         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30094         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30095         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30097         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30098         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30099         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30100         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30101         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30103 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30105         * sysdeps/x86_64/x32/Makefile: New file.
30107 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30109         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30110         1L with (mp_limb_t) 1.
30112 2014-12-17  Roland McGrath  <roland@hack.frob.com>
30114         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30115         * nptl/libc_pthread_init.c: ... here.
30116         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30117         * nptl/register-atfork.c: ... here.
30119         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30120         Use pthread_sigmask rather than INTERNAL_SYSCALL.
30121         Use assert_perror to check its return value.
30122         (__gai_create_helper_thread): Likewise.
30124         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30126         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30128 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
30130         [BZ #17725]
30131         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30132         __profil_counter.
30133         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30134         Likewise.
30135         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30136         Likewise.
30137         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30138         Likewise.
30139         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30140         (profil_counter): Likewise.
30141         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30142         (profil_counter): Likewise.
30143         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30144         Likewise.
30145         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30146         Likewise.
30147         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30148         (profil_counter): Likewise.
30149         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30150         Likewise.
30151         [!__profil_counter] (profil_counter): Define as weak alias of
30152         __profil_counter.
30153         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30154         (profil_counter): Rename to __profil_counter.
30155         [!__profil_counter] (profil_counter): Define as weak alias of
30156         __profil_counter.
30157         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30158         (profil_counter): Rename to __profil_counter.
30159         [!__profil_counter] (profil_counter): Define as weak alias of
30160         __profil_counter.
30161         * sysdeps/posix/profil.c: Update comment referring to
30162         profil_counter.
30163         (__profil): Use __profil_counter instead of profil_counter.
30164         * sysdeps/posix/sprofil.c (profil_counter): Rename to
30165         __profil_counter.  Use __profil_counter_ushort and
30166         __profil_counter_uint in definitions.
30167         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30168         instead of profil_counter_uint and profil_counter_ushort.
30170         [BZ #17722]
30171         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30172         define as weak alias of __inet_makeaddr.
30173         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30174         as weak alias of __inet_addr.
30175         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30176         as weak alias of __inet_pton.  Use libc_hidden_weak.
30177         * include/arpa/inet.h (__inet_pton): Declare.  Use
30178         libc_hidden_proto.
30179         (inet_makeaddr): Don't use libc_hidden_proto.
30180         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
30181         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30182         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
30183         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30184         Remove variable.
30185         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30186         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30188 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
30190         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30192 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30194         * stdio-common/bug-vfprintf-nargs.c (do_test):
30195         Cast value to intptr_t to avoid format warning
30196         for usage with PRIdPTR printing macro.
30198 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30200         * libio/tst-widetext.c (do_test):
30201         Use format type %td instead of %Zd for ptrdiff_t
30202         in order to avoid format warning.
30204 2014-12-17  Andreas Schwab  <schwab@suse.de>
30206         * nscd/mem.c (gc): Add size_t cast to match printf format.
30208 2014-12-16  Roland McGrath  <roland@hack.frob.com>
30210         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30211         (init): Apply PTR_MANGLE to pointers before storing them.
30212         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30213         before using them.
30215 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
30217         [BZ #17719]
30218         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30219         define as weak alias of __memrchr.
30220         (__memrchr): Do not define as strong alias of memrchr.
30221         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30222         Remove variable.
30223         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30224         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30225         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30227         [BZ #17717]
30228         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
30229         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
30230         (if_indextoname): Rename to __if_indextoname and define as weak
30231         alias of __if_indextoname.  Use libc_hidden_weak.
30232         (if_freenameindex): Rename to __if_freenameindex and define as
30233         weak alias of __if_freenameindex.
30234         (if_nameindex): Rename to __if_nameindex and define as weak alias
30235         of __if_nameindex.
30236         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
30237         __if_nametoindex and define as weak alias of __if_nametoindex.
30238         Use libc_hidden_weak.
30239         (if_freenameindex): Rename to __if_freenameindex and define as
30240         weak alias of __if_freenameindex.
30241         (if_nameindex): Rename to __if_nameindex and define as weak alias
30242         of __if_nameindex.
30243         (if_indextoname): Rename to __if_indextoname and define as weak
30244         alias of __if_indextoname.  Use libc_hidden_weak.
30245         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
30246         __if_nametoindex and define as weak alias of __if_nametoindex.
30247         Use libc_hidden_weak.
30248         (if_freenameindex): Rename to __if_freenameindex and define as
30249         weak alias of __if_freenameindex.  Use libc_hidden_weak.
30250         (if_nameindex_netlink): Use __if_freenameindex instead of
30251         if_freenameindex.
30252         (if_nameindex): Rename to __if_nameindex and define as weak alias
30253         of __if_nameindex.  Use libc_hidden_weak.
30254         (if_indextoname): Rename to __if_indextoname and define as weak
30255         alias of __if_indextoname.  Use libc_hidden_weak.
30256         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
30257         libc_hidden_proto.
30258         [!_ISOMAC] (__if_freenameindex): Likewise.
30259         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
30260         if_nametoindex.
30261         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
30262         variable.
30263         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30264         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30265         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30266         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30267         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30268         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30269         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30271         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
30272         Remove variable.
30273         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30274         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30276 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30278         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
30279         subscript above bounds'
30281         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
30282         bounds.
30284 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
30286         * libio/tst-fopenloc.c: Use test-skeleton.c.
30288         * stdlib/tst-bsearch.c: Use test-skeleton.c.
30289         (entry): Rename to ITEM.
30290         (do_test, comp): Adjust.
30292         * stdio-common/tst-fseek.c: Use test-skeleton.c.
30294 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30296         * string/tester.c: Include <libc-internal.h>.
30297         (test_memset): Ignore -Wmemset-transposed-args.
30299 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30301         * misc/tst-mntent2.c (do_test): Fix warning.
30303 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30305         * elf/tst-unique4lib.cc(a): Mark as used.
30307 2014-12-16  Florian Weimer  <fweimer@redhat.com>
30309         [BZ #17630]
30310         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
30311         names.
30313 2014-12-16  Allan McRae  <allan@archlinux.org>
30315         * stdio-common/Makefile (tests): Re-add bug26.
30317 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
30319         [BZ #17657]
30320         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
30321         static array.
30323 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
30325         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
30326         (__lll_lock_wait): Likewise.
30327         (__lll_timedlock_wait): Likewise.
30328         (__lll_timedwait_tid): Likewise.
30329         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
30330         (__lll_robust_timedlock_wait): Likewise.
30331         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
30332         (lll_cond_trylock): Likewise.
30333         (__lll_lock): Likewise.
30334         (__lll_robust_lock): Likewise.
30335         (__lll_cond_lock): Likewise.
30336         (lll_robust_cond_lock): Likewise.
30337         (__lll_timedlock): Likewise.
30338         (__lll_robust_timedlock): Likewise.
30339         (__lll_unlock): Likewise.
30340         (__lll_robust_unlock): Likewise.
30341         (lll_wait_tid): Likewise.
30342         (lll_timedwait_tid): Likewise.
30344 2014-12-15  Torvald Riegel  <triegel@redhat.com>
30346         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
30348 2014-12-15  Torvald Riegel  <triegel@redhat.com>
30350         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
30352 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
30354         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
30355         * stdio-common/tst-sprintf.c: Likewise.
30357 2014-12-15  Torvald Riegel  <triegel@redhat.com>
30359         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
30361 2014-12-15  Jeff Law  <law@redhat.com>
30363         [BZ #16617]
30364         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
30365         on the heap.  (CVE-2012-3406)
30366         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
30367         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
30368         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
30370 2014-12-15  Will Newton  <will.newton@linaro.org>
30372         * manual/install.texi: Bump required version of texinfo
30373         to 4.7 from 4.5.
30374         * INSTALL: Regenerated.
30375         * configure.ac: Check for makeinfo version 4.7 and above.
30376         * configure: Regenerated.
30378 2014-12-12  Roland McGrath  <roland@hack.frob.com>
30380         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
30381         PREFIX, string constant to insert between directory and name.
30382         * sysdeps/posix/shm_open.c: Update caller.
30383         * sysdeps/posix/shm_unlink.c: Likewise.
30384         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
30385         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
30386         (SEM_SHM_PREFIX): New macro.
30387         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
30388         [$(have-thread-library) = no].
30389         * nptl/Makefile (libpthread-routines): Add shm-directory.
30390         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
30391         * sysdeps/nptl/shm-directory.h: New file.
30392         * sysdeps/posix/shm-directory.c
30393         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
30394         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30395         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
30396         INTERNAL_SYSCALL.
30397         (__where_is_shmfs): Function removed.
30398         (mountpoint, defaultmount, defaultdir, __namedsem_once):
30399         Variables removed.
30400         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
30401         Use SHM_GET_NAME.
30402         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
30404         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
30405         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
30406         unconditional for use inside libpthread.
30407         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
30409 2014-12-12  Roland McGrath  <roland@hack.frob.com>
30411         * nptl/pthread_getaffinity.c: New file.
30412         * nptl/pthread_setaffinity.c: New file.
30413         * nptl/pthread_getname.c: New file.
30414         * nptl/pthread_setname.c: New file.
30416         * nptl/pthread_create.c (START_THREAD_DEFN)
30417         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
30419 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30420             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30422         * resolv/res_send.c (send_vc): Disable warning resplen may
30423         be used uninitialized.
30425 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30427         * nptl/tst-mutex6.c
30428         (ATTR_NULL): New define checks ATTR against NULL.
30429         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
30430         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
30432 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
30434         [BZ #17581]
30435         * malloc/hooks.c
30436         (mem2mem_check): Revert my previous change.
30437         (malloc_check_get_size): Revert my previous change.
30438         (mem2chunk_check): Revert my previous change.
30440 2014-12-11  Roland McGrath  <roland@hack.frob.com>
30442         * sysdeps/posix/shm-directory.c: New file.
30443         * sysdeps/posix/shm-directory.h: New file.
30444         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
30445         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
30446         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
30447         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
30448         Transmute EPERM to EACCES.
30449         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
30450         from ...
30451         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
30452         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
30454 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30456         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
30457         pointer and cast to uintptr_t.
30458         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
30459         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
30460         Add cast to avoid warning.
30461         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
30463 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
30465         * nptl/semaphore.h: Move to ...
30466         * sysdeps/pthread/semaphore.h: ... here.
30467         * Makefile (installed-headers): Change nptl/semaphore.h to
30468         sysdeps/pthread/semaphore.h.
30470 2014-12-11  Roland McGrath  <roland@hack.frob.com>
30472         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
30473         generated error format strings.
30475         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
30476         -Wformat-extra-args warnings for scanf formats.
30477         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
30478         test of zero-length format (duh).
30479         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
30480         corner-case scanf format test.
30481         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
30482         generated fprintf format string.
30483         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
30484         corner-case sprintf format tests.
30485         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
30486         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
30487         -Wformat-extra-args warnings throughout.
30488         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
30489         (CFLAGS-scanf4.c): Likewise.
30490         (CFLAGS-scanf7.c): Likewise.
30491         (CFLAGS-tst-sprintf.c): Likewise.
30492         (CFLAGS-tst-printf.c): Likewise.
30493         (CFLAGS-tst-printfsz.c): Likewise.
30495 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
30497         * include/cpio.h: New file.
30498         * include/fmtmsg.h: Likewise.
30500         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
30501         corresponding format argument to size_t.
30502         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
30503         arguments.
30504         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
30505         corresponding format argument to size_t.
30506         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
30507         arguments.
30508         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
30509         corresponding format argument to size_t.
30510         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
30511         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
30512         (CFLAGS-tst-mbswcs2.c): Likewise.
30513         (CFLAGS-tst-mbswcs3.c): Likewise.
30514         (CFLAGS-tst-mbswcs4.c): Likewise.
30515         (CFLAGS-tst-mbswcs5.c): Likewise.
30516         (CFLAGS-tst-trans.c): Likewise.
30518 2014-12-11  Roland McGrath  <roland@hack.frob.com>
30520         * posix/regexbug1.c (main): Use "%s" format with regerror results,
30521         rather than assuming they won't contain any '%'s.
30523 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
30525         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
30526         inhibit_loop_to_libcall to avoid recursive calls.
30527         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
30528         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
30530 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
30532         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
30533         prototype.
30535 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
30537         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
30538         integer value instead of boolean.
30540 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
30542         * malloc/malloc.c: Fix powerof2 check.
30544 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30546         * locale/programs/locfile.h (maybe_swap_uint32):
30547         Remove inline and add unused attribute.
30549 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30551         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30552         Truncating assembler expression to a .long expression.
30554 2014-12-11  Andreas Schwab  <schwab@suse.de>
30556         * elf/rtld.c (struct map_args): Constify str member.
30557         (do_preload): Constify fname argument.
30559 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30561         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
30562         constants definition.
30564 2014-12-11  Andreas Schwab  <schwab@suse.de>
30566         [BZ #16657]
30567         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
30568         FORCE_ELISION instead of DO_ELISION.
30569         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
30570         Remove.
30571         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
30572         Likewise.
30574         * iconvdata/gconv-modules: Remove duplicate entry.
30576 2014-12-11  Will Newton  <will.newton@linaro.org>
30578         Merge gettext 0.19.3 into intl/.
30580         This involves a number of cosmetic changes to comments
30581         and ANSI function definitions and prototypes throughout
30582         all the files. The gettext copyright header is used but
30583         with the date ranges taken from the glibc copy.
30585         * NEWS: Add gettext merge to 2.21.
30586         * intl/bindtextdom.c: Switch to gettext copyright.
30587         Use ANSI definitions and prototypes.
30588         Use gl_* locking primitives rather than __libc_* ones.
30589         Use __builtin_expect rather than __glibc_likely/unlikely.
30590         * intl/dcgettext.c: Switch to gettext copyright.
30591         Use ANSI definitions and prototypes.
30592         * intl/dcigettext.c: Switch to gettext copyright.
30593         Use ANSI definitions and prototypes.
30594         (INTDIV0_RAISES_SIGFPE): New define.
30595         Use gl_* locking primitives rather than __libc_* ones.
30596         Include eval-plural.h instead of plural-eval.c.
30597         Use __builtin_expect rather than __glibc_likely/unlikely.
30598         * intl/dcngettext.c: Switch to gettext copyright.
30599         Use ANSI definitions and prototypes.
30600         * intl/dgettext.c: Likewise.
30601         * intl/dngettext.c: Likewise.
30602         * intl/plural-eval.c: Renamed to...
30603         * intl/eval-plural.h: ...this.
30604         * intl/explodename.c: Switch to gettext copyright.
30605         Use ANSI definitions and prototypes.
30606         (_nl_explode_name): Use strchr instead of __rawmemchr.
30607         * intl/finddomain.c: Switch to gettext copyright.
30608         Use ANSI definitions and prototypes.
30609         Use gl_* locking primitives rather than __libc_* ones.
30610         (_nl_find_domain): Use malloc rather than alloca for
30611         allocation of temporary locale name.
30612         * intl/gettext.c: Switch to gettext copyright.
30613         Use ANSI definitions and prototypes.
30614         * intl/gettextP.h: Switch to gettext copyright.
30615         Use ANSI definitions and prototypes.
30616         Use gl_* locking primitives rather than __libc_* ones.
30617         * intl/gmo.h: Switch to gettext copyright.
30618         (struct sysdep_string): Move struct segment_pair outside of
30619         struct definition.
30620         * intl/hash-string.c: Use ANSI definitions and prototypes.
30621         * intl/hash-string.h: Switch to gettext copyright.
30622         Use ANSI definitions and prototypes.
30623         * intl/l10nflist.c: Switch to gettext copyright.
30624         Use ANSI definitions and prototypes.
30625         (_nl_normalize_codeset): Avoid integer overflow.
30626         * intl/loadinfo.h: Switch to gettext copyright.
30627         Use ANSI definitions and prototypes.
30628         (LIBINTL_DLL_EXPORTED): New define.
30629         (PATH_SEPARATOR): New define.
30630         * intl/loadmsgcat.c: Switch to gettext copyright.
30631         * intl/localealias.c: Switch to gettext copyright.
30632         Use ANSI definitions and prototypes.
30633         (_nl_expand_alias): Use PATH_SEPARATOR.
30634         * intl/ngettext.c: Switch to gettext copyright.
30635         Use ANSI definitions and prototypes.
30636         * intl/plural-exp.c: Likewise.
30637         * intl/plural-exp.h: Switch to gettext copyright.
30638         Use ANSI definitions and prototypes.
30639         (struct expression): Move definition of enum operator outside
30640         of struct definition.
30641         * intl/plural.c: Regenerate.
30642         * intl/plural.y: Switch to gettext copyright.
30643         Use ANSI definitions and prototypes.
30644         Port to bison 3.0.
30645         * intl/textdomain.c: Switch to gettext copyright.
30646         Use ANSI definitions and prototypes.
30647         Use gl_* locking primitives rather than __libc_* ones.
30649 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
30651         * debug/warning-nop.c: Add used atrribute.
30653 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30655         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
30657         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
30658         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
30659         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
30661 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30664         [BZ #17634]
30665         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
30666         Undefine after defining function.  Define as weak alias of
30667         __wcschr.  Use libc_hidden_weak.
30668         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
30669         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
30670         (libc_hidden_def): Also define __GI___wcschr alias.
30671         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
30672         __wcschr and define as weak alias of __wcschr.
30673         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
30674         __wcschr.
30675         [!WCSCHR] (DEFAULT_WCSCHR): Define.
30676         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
30677         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
30678         libc_hidden_weak.  Do not use libc_hidden_def.
30679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
30680         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
30681         __GI___wcschr alias.
30682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
30683         [IS_IN (libc)] (wcschr): Define as macro expanding to
30684         __redirect_wcschr.
30685         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
30686         [IS_IN (libc)] (__wcschr_power6): Likewise.
30687         [IS_IN (libc)] (__wcschr_power7): Likewise.
30688         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
30689         instead of wcschr.
30690         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
30691         __libc_wcschr.
30692         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
30693         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
30694         __wcschr and define as weak alias of __wcschr.  Use
30695         libc_hidden_builtin_def.
30696         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
30697         as weak alias of __wcschr.  Use libc_hidden_weak.
30698         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
30699         wcschr.
30700         * time/era.c (_nl_init_era_entries): Likewise.
30701         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
30702         variable.
30703         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30704         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30706 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30708         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
30709         format for long int variable.
30711 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
30713         [BZ #10672]
30714         * manual/search.texi: (Array Sort Function): Remove claim how to make
30715         qsort stable.
30717 2014-12-10  Andreas Schwab  <schwab@suse.de>
30719         [BZ #12847]
30720         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
30721         user-controlled locks.
30723 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
30725         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
30726         register.
30728 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30730         * configure.ac (--disable-werror): New configure option.
30731         (enable_werror): New AC_SUBST.
30732         * configure: Regenerated.
30733         * config.make.in (enable-werror): New variable.
30734         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
30735         -Wno-error=undef.
30736         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
30737         * manual/install.texi (Configuring and compiling): Document
30738         --disable-werror.
30739         * INSTALL: Regenerated.
30740         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
30741         (CFLAGS-tst-chk2.c): Likewise.
30742         (CFLAGS-tst-chk3.c): Likewise.
30743         (CFLAGS-tst-chk4.cc): Likewise.
30744         (CFLAGS-tst-chk5.cc): Likewise.
30745         (CFLAGS-tst-chk6.cc): Likewise.
30746         (CFLAGS-tst-lfschk1.c): Likewise.
30747         (CFLAGS-tst-lfschk2.c): Likewise.
30748         (CFLAGS-tst-lfschk3.c): Likewise.
30749         (CFLAGS-tst-lfschk4.cc): Likewise.
30750         (CFLAGS-tst-lfschk5.cc): Likewise.
30751         (CFLAGS-tst-lfschk6.cc): Likewise.
30753         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
30754         (main): Disable -Wdeprecated-declarations around calls to
30755         register_printf_function.
30757         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
30758         (do_test): Disable -Wdiv-by-zero around some calls to
30759         fwrite_unlocked and fread_unlocked.
30761         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
30762         (DIAG_POP_NEEDS_COMMENT): Likewise.
30763         (_DIAG_STR1): Likewise.
30764         (_DIAG_STR): Likewise.
30765         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
30766         * stdio-common/bug21.c: Include <libc-internal.h>.
30767         (do_test): Disable -Wformat around call to sscanf.
30768         * stdio-common/scanf14.c: Include <libc-internal.h>.
30769         (main): Disable -Wformat around some calls to scanf functions.
30771 2014-12-09  Torvald Riegel  <triegel@redhat.com>
30773         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
30775 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30777         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
30778         stack variable alignment.
30780 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
30782         [BZ #17682]
30783         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
30784         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
30785         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
30786         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
30787         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
30788         __getrlimit instead of getrlimit.
30789         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
30790         __gettimeofday instead of gettimeofday.
30791         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30792         Likewise.
30793         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30794         Likewise.
30795         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30796         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
30797         Remove variable.
30798         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30799         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30801 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30803         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
30804         for wide-character tests.
30806 2014-12-04  Roland McGrath  <roland@hack.frob.com>
30808         * io/openat64.c: #include <libc-internal.h>
30809         (__openat64): Prototypify.  Use ignore_value on MODE.
30810         * io/openat.c: Likewise.
30811         * misc/reboot.c: #include <libc-internal.h>
30812         (reboot): Prototypify.  Use ignore_value on HOWTO.
30813         * misc/ptrace.c: #include <libc-internal.h>
30814         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
30816 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
30818         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
30819         XPG4, UNIX98 and XOPEN2K.
30820         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
30821         Remove variable.
30822         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30824 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30826         * libio/fileops.c: Use ISO C style for function definitions.
30827         * libio/iofopen.c: Likewise.
30828         * libio/wfileops.c: Likewise.
30830         [BZ #17653]
30831         * libio/fileops.c (_IO_new_file_underflow): Unset cached
30832         offset on EOF.
30833         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
30834         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
30835         (fgets_func): Function pointer to fgets and fgetws.
30836         (do_ftell_test): Add test to verify ftell value after read
30837         EOF.
30838         (do_test): Set fgets_func.
30840         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
30841         O_TRUNC flag for w and w+ modes.
30842         (do_rewind_test): Likewise.
30843         (do_ftell_test): Likewise.
30844         (do_write_test): Likewise.
30846         [BZ #17647]
30847         * libio/fileops.c (do_ftell): Seek only when there are
30848         unflushed writes.
30849         * libio/wfileops.c (do_ftell_wide): Likewise.
30850         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
30851         test case.
30852         (do_one_test): Call it.
30854 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
30856         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
30857         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
30858         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
30859         Remove variable.
30860         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30861         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30862         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30864 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30866         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
30867         Remove variable.
30868         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30870         [BZ #17668]
30871         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
30872         as weak alias of __getifaddrs.  Use libc_hidden_weak.
30873         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30874         __freeifaddrs.  Use libc_hidden_weak.
30875         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
30876         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
30877         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30878         __freeifaddrs.  Use libc_hidden_weak.
30879         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
30880         __getifaddrs and define as weak alias of __getifaddrs.  Use
30881         libc_hidden_weak.
30882         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30883         __freeifaddrs.  Use libc_hidden_weak.
30884         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
30885         Remove variable.
30886         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30887         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30889 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30891         [BZ #17601]
30892         * sysdeps/mips/start.S (__start): Use indirect jump to call
30893         __libc_start_main.
30895 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30897         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
30899         * nptl/tst-mutex1.c: Include <stdbool.h>.
30900         [!ATTR] (ATTR_NULL): New macro.
30901         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
30902         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
30903         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
30905         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
30906         to char *.
30908         [BZ #17665]
30909         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
30910         Change conditional to [__USE_MISC].
30912         [BZ #17664]
30913         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
30914         fgets_unlocked.
30915         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
30916         __fgets_unlocked.
30917         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
30918         fgets_unlocked.
30919         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
30920         Remove variable.
30921         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30922         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30923         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30924         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30925         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30926         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30927         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30928         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30929         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30931         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
30933 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30935         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30936         Remove strpbrk objects.
30937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30938         (__libc_ifunc_impl_list): Remove strpbrk implementation.
30939         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
30940         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
30941         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30942         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30944         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30945         Remove strcspn objects.
30946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30947         (__libc_ifunc_impl_list): Remove strcspn implementation.
30948         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30949         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30950         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30951         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30954         Remove strspn objetcs.
30955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30956         (__libc_ifunc_impl_list): Remove strspn implementation.
30957         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30958         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30959         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30960         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30962 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30964         [BZ #17581]
30965         * malloc/hooks.c
30966         (mem2mem_check): Add a terminator to the chain of checking blocks.
30967         (malloc_check_get_size): Use it here.
30968         (mem2chunk_check): Ditto.
30970 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30972         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30973         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30975 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30977         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30979         * nptl/nptl-init.c: Include libc-internal.h.
30980         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30982         * elf/ldconfig.c (search_dir): Expand comment.
30984 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30986         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30987         variable.
30988         (linknamespace-symlist-stdlibs-tests): Likewise.
30989         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30990         instead of $(objpfx)symlist-stdlibs.
30991         (linknamespace-libs-isoc): New variable.
30992         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30993         (linknamespace-libs-ISO): New variable.
30994         (linknamespace-libs-ISO99): Likewise.
30995         (linknamespace-libs-ISO11): Likewise.
30996         (linknamespace-libs-XPG3): Likewise.
30997         (linknamespace-libs-XPG4): Likewise.
30998         (linknamespace-libs-POSIX): Likewise.
30999         (linknamespace-libs-UNIX98): Likewise.
31000         (linknamespace-libs-XOPEN2K): Likewise.
31001         (linknamespace-libs-POSIX2008): Likewise.
31002         (linknamespace-libs-XOPEN2K8): Likewise.
31003         ($(objpfx)symlist-stdlibs): Replace by
31004         $(linknamespace-symlist-stdlibs-tests).  Use
31005         $(linknamespace-libs-$*) as set of libraries.
31006         ($(linknamespace-header-tests)): Update dependencies.  Use
31007         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31008         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31009         * conform/linknamespace.pl: Remove comment about considering
31010         definitions of symbols from irrelevant libraries.
31012 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
31014         [BZ #13862]
31015         * elf/dl-tls.c: Include <atomic.h>.
31016         (oom): Remove #ifdef SHARED/#endif.
31017         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31018         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
31019         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31020         big enough.
31021         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31022         * nptl/Makefile (tests): Add tst-stack4.
31023         (modules-names): Add tst-stack4mod.
31024         ($(objpfx)tst-stack4): New.
31025         (tst-stack4mod.sos): Likewise.
31026         ($(objpfx)tst-stack4.out): Likewise.
31027         ($(tst-stack4mod.sos)): Likewise.
31028         (clean): Likewise.
31029         * nptl/tst-stack4.c: New file.
31030         * nptl/tst-stack4mod.c: Likewise.
31032 2014-11-27  J. Brown  <jb999@gmx.de>
31034         * sysdeps/x86/bits/string.h: Add recent CPUs.
31036 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31038         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31039         sigblock.
31041         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31042         feof.
31044         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31045         variable.
31047 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
31049         * nscd/connections.c: Include libc-internal.h because of macro
31050         usage ignore_value.
31052 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31054         * string/bits/string3.h (__warn_memset_zero_len): Don't
31055         declare for gcc newer than 5.0.
31056         (memset): Don't test for zero-length __LEN for gcc newer than
31057         5.0.
31059 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31061         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31062         size_t for %zu format.
31064         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31065         difference, not %ju.
31067 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31069         * include/libc-internal.h (ignore_value): New macro.
31070         * nscd/connections.c (restart): Wrap calls to setuid and setgid
31071         with ignore_value.
31073         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31074         definition.
31076         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31077         pthread_cleanup_push to void *.
31079         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31080         Undefine.
31082         [BZ #16619]
31083         [BZ #16740]
31084         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31085         instead of 1L << 52.
31087         * libio/bug-rewind.c (do_test): Check fwscanf return values.
31088         * libio/bug-rewind2.c (do_test): Likewise.
31090         * debug/test-stpcpy_chk-ifunc.c: Remove file.
31091         * debug/test-strcpy_chk-ifunc.c: Likewise.
31092         * wcsmbs/test-wcschr-ifunc.c: Likewise.
31093         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31094         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31095         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31096         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31097         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31098         * Rules [$(multi-arch) = no] (tests): Do not filter out
31099         $(tests-ifunc).
31100         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31101         * debug/Makefile (tests-ifunc): Remove variable.
31102         (tests): Do not add $(tests-ifunc).
31103         * wcsmbs/Makefile (tests-ifunc): Remove variable.
31104         (tests): Do not add $(tests-ifunc).
31105         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31106         [TEST_IFUNC]: Remove conditionals.
31107         * string/test-string.h (TEST_IFUNC): Remove macro.
31108         [TEST_IFUNC]: Remove conditionals.
31110         * string/test-strchr.c [!WIDE] (L): New macro.
31111         [WIDE] (L): Likewise.
31112         (check1): Use CHAR instead of char.  Use L on string and character
31113         constants.
31115 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
31117         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31118         tests.
31119         * sysdeps/powerpc/bits/atomic.h
31120         (__arch_atomic_exchange_and_add_32_acq): Add definition.
31121         (__arch_atomic_exchange_and_add_32_rel): Likewise.
31122         (atomic_exchange_and_add_acq): Likewise.
31123         (atomic_exchange_and_add_rel): Likewise.
31124         * sysdeps/powerpc/powerpc32/bits/atomic.h
31125         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31126         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31127         * sysdeps/powerpc/powerpc64/bits/atomic.h
31128         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31129         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31131 2014-11-26  Torvald Riegel  <triegel@redhat.com>
31133         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31134         Change synchronization of __sched_fifo_min_prio and
31135         __sched_fifo_max_prio.
31136         * nptl/pthread_mutexattr_getprioceiling.c
31137         (pthread_mutexattr_getprioceiling): Likewise.
31138         * nptl/pthread_mutexattr_setprioceiling.c
31139         (pthread_mutexattr_setprioceiling): Likewise.
31140         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31141         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31142         Likewise.
31144 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31146         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31147         void.
31149 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31151         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31152         third argument const.
31154 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
31156         fnmatch: work around GCC compiler warning bug with uninit var
31157         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31158         This works around a bug with x86-64 GCC 4.9.2 and earlier
31159         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31160         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31161         used uninitialized in this function [-Wmaybe-uninitialized]".
31163 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31165         * posix/bug-regex31.c (main): Return RES not 0.
31167 2014-11-25  Anton Blanchard <anton@samba.org>
31169         * sysdeps/powerpc/bits/atomic.h
31170         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31172 2014-11-24  Sterling Augustine  <saugustine@google.com>
31174         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31176 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
31178         [BZ #17608]
31179         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31181 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
31183         [BZ #17633]
31184         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31185         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31186         variable.
31187         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31188         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31190 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31192         * string/strncpy.c (strncpy): Improve performance by using memset.
31194 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31196         * string/strcpy.c (strcpy):
31197         Improve performance by using strlen and memcpy.
31199 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
31201         * string/strcoll_l.c (get_next_seq): __always_inline.
31202         * string/strcoll_l.c (do_compare): __always_inline.
31204 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31206         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31207         defined.
31208         * include/mqueue.h: Likewise.
31209         * include/stdlib.h: Likewise.
31211         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31212         (get_null_defines): Adjust.
31213         * sunrpc/Makefile: Adjust comment.
31214         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31215         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31216         (CFLAGS-interp.c): Likewise.
31217         (CFLAGS-ldconfig.c): Likewise.
31218         (CPPFLAGS-.os): Likewise.
31219         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31220         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31221         * extra-modules.mk (extra-modules.mk): Likewise.
31222         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31223         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31224         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
31225         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
31226         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
31227         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
31228         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
31229         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
31230         * iconvdata/Makefile (CPPFLAGS): Likewise.
31231         (cpp-srcs-left): Add libof for all iconvdata routines.
31232         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
31233         * include/assert.h: Likewise.
31234         * include/ctype.h: Likewise.
31235         * include/errno.h: Likewise.
31236         * include/libc-symbols.h: Likewise.
31237         * include/math.h: Likewise.
31238         * include/netdb.h: Likewise.
31239         * include/resolv.h: Likewise.
31240         * include/stdio.h: Likewise.
31241         * include/stdlib.h: Likewise.
31242         * include/string.h: Likewise.
31243         * include/sys/stat.h: Likewise.
31244         * include/wctype.h: Likewise.
31245         * intl/l10nflist.c: Likewise.
31246         * libidn/idn-stub.c: Likewise.
31247         * libio/libioP.h: Likewise.
31248         * nptl/libc_multiple_threads.c: Likewise.
31249         * nptl/pthreadP.h: Likewise.
31250         * posix/regex_internal.h: Likewise.
31251         * resolv/res_hconf.c: Likewise.
31252         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
31253         * sysdeps/arm/memmove.S: Likewise.
31254         * sysdeps/arm/sysdep.h: Likewise.
31255         * sysdeps/generic/_itoa.h: Likewise.
31256         * sysdeps/generic/symbol-hacks.h: Likewise.
31257         * sysdeps/gnu/errlist.awk: Likewise.
31258         * sysdeps/gnu/errlist.c: Likewise.
31259         * sysdeps/i386/i586/memcpy.S: Likewise.
31260         * sysdeps/i386/i586/memset.S: Likewise.
31261         * sysdeps/i386/i686/memcpy.S: Likewise.
31262         * sysdeps/i386/i686/memmove.S: Likewise.
31263         * sysdeps/i386/i686/mempcpy.S: Likewise.
31264         * sysdeps/i386/i686/memset.S: Likewise.
31265         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31266         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31267         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
31268         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
31269         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31270         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31271         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
31272         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31273         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31274         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31275         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31276         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31277         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31278         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31279         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31280         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31281         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
31282         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
31283         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
31284         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31285         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31286         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31287         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31288         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31289         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31290         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31291         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
31292         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31293         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
31294         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31295         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31296         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31297         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31298         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31299         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31300         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31301         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31302         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31303         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31304         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31305         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31306         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31307         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31308         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31309         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31310         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31311         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
31312         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
31313         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31314         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31315         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31316         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
31317         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
31318         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31319         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31320         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
31321         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31322         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
31323         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
31324         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31325         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31326         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31327         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
31328         * sysdeps/nptl/bits/libc-lock.h: Likewise.
31329         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31330         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
31331         * sysdeps/posix/closedir.c: Likewise.
31332         * sysdeps/posix/opendir.c: Likewise.
31333         * sysdeps/posix/readdir.c: Likewise.
31334         * sysdeps/posix/rewinddir.c: Likewise.
31335         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
31336         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
31337         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31338         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31339         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31340         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
31341         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
31342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
31343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
31344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
31345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
31346         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
31347         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
31348         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
31349         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
31350         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
31351         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
31352         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
31353         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
31354         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
31355         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
31356         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
31357         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
31358         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
31359         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
31360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
31361         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
31362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
31363         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
31364         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
31365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
31366         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
31367         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
31368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
31369         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
31370         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
31371         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31372         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31373         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
31374         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
31375         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
31376         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
31377         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
31378         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
31379         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
31380         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
31381         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
31382         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
31383         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
31384         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
31385         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
31386         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
31387         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
31389         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
31390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
31391         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
31392         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
31393         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
31394         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
31395         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
31396         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
31397         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31398         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
31399         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
31400         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
31401         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
31402         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
31403         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
31404         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
31405         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
31406         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
31407         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
31408         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
31409         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
31410         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
31411         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
31412         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
31413         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31414         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
31415         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
31416         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31417         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
31418         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
31419         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31420         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
31421         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
31422         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31423         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31424         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31425         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
31426         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
31427         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
31428         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31429         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31430         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
31431         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31432         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31433         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
31434         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
31435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31436         * sysdeps/unix/alpha/sysdep.S: Likewise.
31437         * sysdeps/unix/alpha/sysdep.h: Likewise.
31438         * sysdeps/unix/make-syscalls.sh: Likewise.
31439         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31440         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31441         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31442         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
31443         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31444         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
31445         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
31446         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31447         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31448         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
31449         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31450         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31451         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31452         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
31453         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31454         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31455         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31456         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
31457         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
31458         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31459         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
31460         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31461         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31462         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31463         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31464         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31465         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31468         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
31469         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31470         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31473         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31476         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31477         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31478         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31479         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31480         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31481         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31482         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31483         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31484         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31486         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31489         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31490         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31491         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31492         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
31494         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31495         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31497         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
31498         * sysdeps/x86_64/memcpy.S: Likewise.
31499         * sysdeps/x86_64/memmove.c: Likewise.
31500         * sysdeps/x86_64/memset.S: Likewise.
31501         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
31502         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31503         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31504         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
31505         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
31506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31507         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31508         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31509         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31510         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31511         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31512         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31513         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
31514         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31515         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31516         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
31517         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31518         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31519         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31520         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31521         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
31522         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31523         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31524         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31525         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31526         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31527         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31528         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
31529         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31530         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31531         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
31532         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31533         * sysdeps/x86_64/strcmp.S: Likewise.
31535         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
31537         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
31538         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
31539         * elf/rtld-Rules: Likewise.
31540         * elf/setup-vdso.h: Likewise.
31541         * include/assert.h: Likewise.
31542         * include/bits/stdlib-float.h: Likewise.
31543         * include/errno.h: Likewise.
31544         * include/sys/stat.h: Likewise.
31545         * include/unistd.h: Likewise.
31546         * sysdeps/aarch64/setjmp.S: Likewise.
31547         * sysdeps/alpha/setjmp.S: Likewise.
31548         * sysdeps/arm/__longjmp.S: Likewise.
31549         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
31550         * sysdeps/arm/setjmp.S: Likewise.
31551         * sysdeps/arm/sysdep.h: Likewise.
31552         * sysdeps/generic/_itoa.h: Likewise.
31553         * sysdeps/generic/dl-sysdep.h: Likewise.
31554         * sysdeps/generic/ldsodefs.h: Likewise.
31555         * sysdeps/i386/dl-tls.h: Likewise.
31556         * sysdeps/i386/setjmp.S: Likewise.
31557         * sysdeps/m68k/setjmp.c: Likewise.
31558         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
31559         * sysdeps/mach/hurd/opendir.c: Likewise.
31560         * sysdeps/posix/getcwd.c: Likewise.
31561         * sysdeps/posix/opendir.c: Likewise.
31562         * sysdeps/posix/profil.c: Likewise.
31563         * sysdeps/powerpc/dl-procinfo.h: Likewise.
31564         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31565         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31566         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
31567         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31568         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
31569         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31570         * sysdeps/s390/dl-tls.h: Likewise.
31571         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31572         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31573         * sysdeps/sh/sh3/setjmp.S: Likewise.
31574         * sysdeps/sh/sh4/setjmp.S: Likewise.
31575         * sysdeps/unix/alpha/sysdep.h: Likewise.
31576         * sysdeps/unix/arm/sysdep.S: Likewise.
31577         * sysdeps/unix/i386/sysdep.S: Likewise.
31578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31579         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31580         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31581         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31582         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31583         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
31584         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31585         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31586         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
31587         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
31588         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31589         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31590         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31593         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31594         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31595         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31596         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31597         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31598         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31601         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31602         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31603         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31605         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31606         * sysdeps/x86_64/setjmp.S: Likewise.
31608         * include/math.h: Use IS_IN instead of IS_IN_libm.
31609         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
31610         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31611         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31612         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
31613         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31614         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31615         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31616         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31617         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31618         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31619         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
31620         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
31621         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
31622         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
31623         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
31624         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
31625         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31626         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
31627         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31628         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
31629         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
31630         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
31631         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
31632         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
31633         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
31634         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
31635         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
31636         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31637         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31638         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
31639         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
31640         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31641         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
31643         Likewise.
31644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
31645         Likewise.
31646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
31647         Likewise.
31648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
31649         Likewise.
31650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
31651         Likewise.
31652         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31653         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
31654         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31655         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31656         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31657         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
31659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
31660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
31661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
31662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
31663         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
31664         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
31665         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31666         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31667         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31668         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31669         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31670         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31671         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31672         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
31673         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
31674         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
31675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
31676         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
31677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31678         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
31680         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
31681         * nptl/pthreadP.h: Likewise.
31682         * nptl_db/structs.def: Likewise.
31683         * sysdeps/arm/sysdep.h: Likewise.
31684         * sysdeps/nptl/bits/libc-lock.h: Likewise.
31685         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31686         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
31687         * sysdeps/unix/alpha/sysdep.h: Likewise.
31688         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31689         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31690         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31691         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31692         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31693         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31694         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31695         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31696         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31697         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31698         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31699         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31700         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31701         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31706         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31707         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31709         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31710         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31711         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31712         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
31713         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31715         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
31716         * nptl/pthreadP.h: Likewise.
31717         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31718         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31719         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31720         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31721         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31722         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31723         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31724         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31725         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31726         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31727         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31728         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31730         Likewise.
31731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31732         Likewise.
31733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31735         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31738         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31739         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31740         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31742         * dlfcn/dladdr.c: Use IS_IN.
31743         * dlfcn/dladdr1.c: Likewise.
31744         * dlfcn/dlclose.c: Likewise.
31745         * dlfcn/dlerror.c: Likewise.
31746         * dlfcn/dlinfo.c: Likewise.
31747         * dlfcn/dlmopen.c: Likewise.
31748         * dlfcn/dlopen.c: Likewise.
31749         * dlfcn/dlsym.c: Likewise.
31750         * dlfcn/dlvsym.c: Likewise.
31752         * include/ifaddrs.h: Use IS_IN.
31753         * inet/check_pf.c: Likewise.
31754         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31755         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
31757         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
31758         IS_IN_ldconfig.
31759         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
31760         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
31762         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
31763         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
31764         IS_IN (libc).
31766         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
31768         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
31769         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31770         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31771         * include/libc-symbols.h (IS_IN_LIB): New macro.
31772         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
31773         * include/netdb.h: Likewise.
31774         * include/stap-probe.h: Remove all uses of IN_LIB.
31776         * Makeconfig (module-cppflags-real): Define MODULE_NAME
31777         instead of IN_MODULE.
31778         * include/libc-symbols.h (IN_MODULE): Define using
31779         MODULE_NAME.
31780         (PASTE_NAME, PASTE_NAME1): New macros.
31781         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
31782         of IN_LIB.
31783         (STAP_PROBE_ASM): Likewise.
31785 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31787         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
31788         __mach_init in dlopened libc.
31790 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
31792         * sysdeps/arm/preconfigure.ac: Delete EABI check.
31793         * sysdeps/arm/preconfigure: Regenerate.
31795 2014-11-21  Roland McGrath  <roland@hack.frob.com>
31797         * nptl/pthread_create.c (__pthread_create_2_1): Set
31798         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
31799         when copying values from IATTR into PD.
31801 2014-11-21  Will Newton  <will.newton@linaro.org>
31802             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
31804         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
31805         Refactor inline-asm.  Also add comment.
31807         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
31808         ElfW macro instead of hardcoded Elf64 types.
31809         (la_aarch64_gnu_pltenter): Likewise.
31810         * sysdeps/aarch64/dl-machine.h
31811         (elf_machine_runtime_setup): Use ElfW(Addr).
31813         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
31814         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
31815         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
31816         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
31817         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
31818         (R_AARCH64_TLS_DTPMOD64): Rename to ..
31819         (R_AARCH64_TLS_DTPMOD): This.
31820         (R_AARCH64_TLS_DTPREL64): Rename to ...
31821         (R_AARCH64_TLS_DTPREL): This.
31822         (R_AARCH64_TLS_TPREL64): Rename to ...
31823         (R_AARCH64_TLS_TPREL): This.
31824         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
31825         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
31826         R_AARCH64_TLS_TPREL64.
31827         (elf_machine_rela): Likewise.
31829 2014-11-21  Torvald Riegel  <triegel@redhat.com>
31831         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
31832         by setting it to 0.  64b atomics are not supported currently.
31834 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31836         [BZ #16469]
31837         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
31838         search domain names.
31840 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31842         [BZ #16469]
31843         * NEWS: Update.
31844         * resolv/res_query.c (__libc_res_nquerydomain): Retain
31845         trailing dot.
31846         * posix/tst-getaddrinfo5.c: New.
31847         * posix/Makefile (tests): Add it.
31849 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31851         [BZ #14498]
31852         * NEWS: Fixed.
31853         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
31854         after parsing line but before break_if_match.
31855         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
31856         if there is a protocol mismatch.
31858 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
31860         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
31861         because the potential race is on the user-supplied stream.
31863 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31865         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
31866         string literal if not passed a buffer.
31867         * manual/job.texi (ctermid): Update reasoning, note deviation
31868         from posix, suggest mtasurace when not passed a buffer, for
31869         future non-preliminary safety notes.
31871 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31873         * manual/users.texi (cuserid): Fix MT-Safety note for the case
31874         of not passing it a buffer.
31875         Reported by Peng Haitao.
31877 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31879         * manual/Makefile ($(objpfx)stamp-summary): Require
31880         check-safety.sh to pass.
31881         * manual/check-safety.sh: Wish for verification that every
31882         @deftypefn and @deftypefun is followed by a @safety remark.
31884 2014-11-20  Roland McGrath  <roland@hack.frob.com>
31886         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
31888         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
31889         PTHREAD_CANCEL_ASYNCHRONOUS.
31890         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
31891         send SIGCANCEL.
31893         * nptl/default-sched.h: New file.
31894         * sysdeps/unix/sysv/linux/default-sched.h: New file.
31895         * nptl/pthread_create.c: Include it.
31896         (__pthread_create_2_1): Use collect_default_sched instead of making
31897         Linux syscalls here directly.
31899 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31901         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
31902         __pthread_once): Use C11 atomics.
31904 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31906         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
31908 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31910         * include/atomic.h (__atomic_link_error, __atomic_check_size,
31911         atomic_thread_fence_acquire, atomic_thread_fence_release,
31912         atomic_thread_fence_seq_cst, atomic_load_relaxed,
31913         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
31914         atomic_compare_exchange_weak_relaxed,
31915         atomic_compare_exchange_weak_acquire,
31916         atomic_compare_exchange_weak_release,
31917         atomic_exchange_acquire, atomic_exchange_release,
31918         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
31919         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
31920         atomic_fetch_and_acquire,
31921         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
31923 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31925         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
31926         USE_ATOMIC_COMPILER_BUILTINS): Define.
31927         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
31928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31929         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
31930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31931         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
31932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31933         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
31934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31935         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
31936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31937         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31939         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
31940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31941         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31943         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31945         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31947         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31948         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31949         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31950         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31951         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31953         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31955         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31956         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31957         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31958         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31959         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31960         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31961         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31962         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31963         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31964         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31965         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31966         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31968 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31970         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31971         the sched_priority value here.  It was already checked when the user
31972         called pthread_attr_setschedparam.
31974         * nptl/tst-bad-schedattr.c: New file.
31975         * nptl/Makefile (tests): Add it.
31977 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31978             Florian Weimer  <fweimer@redhat.com>
31979             Joseph Myers  <joseph@codesourcery.com>
31980             Adam Conrad  <adconrad@0c3.net>
31981             Andreas Schwab  <schwab@suse.de>
31982             Brooks  <bmoses@google.com>
31984         [BZ #17625]
31985         * wordexp-test.c (__dso_handle): Add prototype.
31986         (__register_atfork): Likewise.
31987         (__app_register_atfork): New function.
31988         (registered_forks): New global.
31989         (register_fork): New function.
31990         (test_case): Add 3 new tests for WRDE_CMDSUB.
31991         (main): Call __app_register_atfork.
31992         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31993         fork count is non-zero fail the test.
31994         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31995         is set.
31996         (parse_dollars): Remove check for WRDE_NOCMD.
31997         (parse_dquote): Likewise.
31999 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32001         * Makeconfig (built-modules): List non-library modules to be
32002         built.
32003         (module-cppflags): Include libc-modules.h for
32004         everything except shlib-versions.v.i.
32005         (CPPFLAGS): Use it.
32006         (before-compile): Add libc-modules.h.
32007         ($(common-objpfx)libc-modules.h,
32008         $(common-objpfx)libc-modules.stmp): New targets.
32009         (common-generated): Add libc-modules.h and libc-modules.stmp.
32010         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32011         * include/libc-symbols.h: Don't include libc-modules.h.
32012         * include/libc-modules.h: Remove file.
32013         * scripts/gen-libc-modules.awk: New script to generate
32014         libc-modules.h.
32015         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32016         Depend on libc-modules.stmp.
32018         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32020         * Makeconfig (in-module): Get value of libof set for the
32021         translation unit.
32022         (CPPFLAGS): Use $(in-module).
32023         * Makerules: Don't suffix routine names for nonlib.
32024         * include/libc-modules.h: New file.
32025         * include/libc-symbols.h: Include libc-modules.h
32026         (IS_IN): New macro to replace IS_IN_* macros.
32027         * elf/Makefile: Set libof-* for each routine.
32028         * elf/rtld-Rules: Likewise.
32029         * extra-modules.mk: Likewise.
32030         * iconv/Makefile: Likewise.
32031         * iconvdata/Makefile: Likewise.
32032         * locale/Makefile: Likewise.
32033         * malloc/Makefile: Likewise.
32034         * nss/Makefile: Likewise.
32035         * sysdeps/gnu/Makefile: Likewise.
32036         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32037         * sysdeps/unix/sysv/linux/Makefile: Likewise.
32038         * sysdeps/s390/s390-64/Makefile: Likewise.
32039         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
32040         CPPFLAGS for nscd instead of nonlib.
32042 2014-11-18  Roland McGrath  <roland@hack.frob.com>
32044         * nptl/createthread.c: New file.
32046         * nptl/createthread.c: Moved ...
32047         * sysdeps/unix/sysv/linux/createthread.c: ... here.
32049         * nptl/createthread.c: Add proper top-line comment.
32050         (do_clone): Folded into ...
32051         (create_thread): ... here.  Take new arguments STOPPED_START and
32052         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
32053         increment __nptl_threads, do event-reporting logic, do
32054         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32055         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
32056         resource cleanup if sched_setaffinity or sched_setscheduler fails,
32057         just send SIGCANCEL.
32058         * nptl/pthread_create.c: Forward-declare create_thread before
32059         including createthread.c.
32060         (start_thread): Use new macro START_THREAD_DEFN to replace defining
32061         declaration, and new macro START_THREAD_SELF to replace argument.
32062         Remove return statement.
32063         (report_thread_creation): New function.
32064         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
32065         synchronization logic, and __nptl_nthreads increment here, around
32066         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
32067         PD->parent_cancelhandling here, before create_thread.  When
32068         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32069         __deallocate_stack, and ENOMEM translation here.
32071 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
32073         [BZ #17616]
32074         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32075         (mptwo): Rename to __mptwo.
32076         (__inv): Use __mptwo instead of mptwo.
32077         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32078         (mptwo): Rename to __mptwo.
32079         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32080         of mpone and __mptwo instead of mptwo.
32081         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32082         instead of mpone.
32083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32084         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32085         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32086         of mpone and __mptwo instead of mptwo.
32087         (__mpranred): Use __mpone instead of mpone.
32088         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32089         variable.
32090         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32091         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32092         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32093         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32094         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32095         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32096         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32097         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32098         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32099         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32100         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32101         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32102         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32103         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32104         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32105         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32106         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32107         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32108         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32110 2014-11-18  Tom de Vries  <tom@codesoucery.com>
32112         * manual/signal.texi (Primitives Interrupted by Signals): In section,
32113         replace BSD Handler xref with BSD Signal Handling.
32115 2014-11-17  Richard Henderson  <rth@redhat.com>
32117         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32118         (_FP_PACK_RAW_2): Remove.
32119         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32120         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32121         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32122         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32123         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32124         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32125         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32126         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32127         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32128         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32129         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32130         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32131         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32132         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32133         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32134         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32136 2014-11-14  Roland McGrath  <roland@hack.frob.com>
32138         * signal/signal.h [__USE_MISC]
32139         (struct sigvec): Remove type.
32140         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32141         (sigvec): Remove declaration.
32142         * sysdeps/posix/sigvec.c: Moved ...
32143         * signal/sigvec.c: ... here, replacing old file.
32144         (struct sigvec): New type, copied from old signal.h definition.
32145         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32146         (__sigvec): Convert definition to prototype.
32147         (sigvec): Replace weak_alias with compat_symbol.
32148         * signal/Versions (libc: GLIBC_2.21): New version set.
32149         * include/signal.h: Remove __sigvec declaration.
32150         * sysdeps/unix/bsd/sigvec.c: Remove file.
32151         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32152         * manual/signal.texi (BSD Handler): Remove subsection.
32153         Move siginterrupt up to ...
32154         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
32155         (Blocking in BSD): Fold subsection into its parent.
32156         * NEWS: Mention sigvec removal.
32158 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32160         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32161         (DLA_FMS): Make definition conditional only on [__FMA4__].
32162         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32163         definition.
32165         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32166         Make definition conditional only on [PROF].
32167         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32168         definition.
32169         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32170         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32172         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32173         !__GNUC__].
32174         * include/signal.h (__sigpause): Move declaration above call to
32175         libc_hidden_proto.
32176         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32177         variable.
32178         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32179         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32181 2014-11-14  David S. Miller  <davem@davemloft.net>
32183         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32184         Define before including <string/memcpy.c> and <string/mempcpy.c>.
32186 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32188         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32189         * configure: Regenerated.
32190         * manual/install.texi (Tools for Compilation): Document a
32191         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32192         compiler verified to work.
32193         * INSTALL: Regenerated.
32195         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32196         redeclare with asm name.
32197         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32198         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32199         including <string.h>.
32200         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32201         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32202         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32203         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32204         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32205         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32206         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32208 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
32210         * stdlib/strtol.c (__strtol): Use prototype definition.
32212         [BZ #17594]
32213         * stdlib/strtol.c (SYM__): New macro.
32214         (SYM__1): Likewise.
32215         (__strtol): Likewise.
32216         (strtol): Rename to __strtol and define as weak alias of
32217         __strtol.  Use libc_hidden_weak.
32219 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32221         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32222         Use numbered labels in inline assembly.
32224 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32226         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
32227         Add setjmp LIBC_PROBE.
32228         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
32229         Likewise.
32230         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
32231         Add longjmp, longjmp_target LIBC_PROBE.
32232         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
32233         Likewise.
32235 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32237         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32238         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
32239         to get rid of unused variable warning.
32241 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32243         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
32244         Check for unwind_backtrace ==  NULL only in SHARED case.
32245         (__backchain_backtrace): Compile only in SHARED case.
32246         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
32247         Likewise.
32248         (__backchain_backtrace): Declare as static.
32250 2014-11-12  Roland McGrath  <roland@hack.frob.com>
32252         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
32253         (__libc_multiple_threads_ptr): Variable moved ...
32254         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
32256 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
32258         * conform/GlibcConform.pm: New file.
32259         * conform/conformtest.pl: Use GlibcConform module.
32260         * conform/linknamespace.pl: New file.
32261         * conform/list-header-symbols.pl: Likewise.
32262         * conform/Makefile (linknamespace-symlists-base): New variable.
32263         (linknamespace-symlists-tests): Likewise.
32264         (linknamespace-header-base): Likewise.
32265         (linknamespace-header-tests): Likewise.
32266         (tests-special): Add new tests.
32267         ($(linknamespace-symlists-tests)): New rule.
32268         (linknamespace-libs): New variable.
32269         ($(objpfx)symlist-stdlibs): New rule.
32270         ($(linknamespace-header-tests)): Likewise.
32271         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
32272         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
32273         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
32274         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
32275         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
32276         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
32277         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
32278         (test-xfail-ISO/math.h/linknamespace): Likewise.
32279         (test-xfail-ISO/signal.h/linknamespace): Likewise.
32280         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
32281         (test-xfail-ISO/time.h/linknamespace): Likewise.
32282         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32283         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
32284         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32285         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32286         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32287         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32288         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32289         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32290         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32291         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32292         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32293         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32294         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32295         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
32296         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
32297         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32298         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
32299         (test-xfail-XPG3/search.h/linknamespace): Likewise.
32300         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
32301         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32302         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
32303         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32304         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32305         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
32306         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32307         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32308         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
32309         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
32310         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32311         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
32312         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32313         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32314         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32315         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32316         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
32317         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
32318         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
32319         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
32320         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32321         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
32322         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32323         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
32324         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32325         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32326         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32327         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
32328         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
32329         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32330         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32331         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
32332         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32333         (test-xfail-POSIX/time.h/linknamespace): Likewise.
32334         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
32335         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32336         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32337         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32338         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32339         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32340         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32341         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32342         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32343         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32344         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
32345         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32346         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32347         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32348         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
32349         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32350         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32351         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
32352         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32353         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32354         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32355         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32356         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32357         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
32358         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
32359         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
32360         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32361         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
32362         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32363         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
32364         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32365         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32366         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32367         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
32368         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
32369         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32370         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32371         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
32372         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
32373         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
32374         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32375         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
32376         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32377         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
32378         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
32379         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
32380         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32381         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32382         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32383         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32384         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32385         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32386         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32387         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32388         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32389         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32390         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
32391         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32392         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32393         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
32394         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32395         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32396         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32397         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32398         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32399         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32400         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32401         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
32402         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32403         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32404         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32405         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32406         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32407         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32408         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
32409         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32410         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32411         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32412         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32413         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32414         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
32415         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
32416         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32417         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32418         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32419         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32420         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32421         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32422         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
32423         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32424         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
32425         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32426         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32427         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32428         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
32429         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32430         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32431         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
32433         [BZ #17589]
32434         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
32435         of fgets_unlocked.
32437         [BZ #17585]
32438         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
32439         (memmem): Rename to __memmem and define as weak alias of
32440         __memmem.  Use libc_hidden_weak.
32441         (__memmem): Use libc_hidden_def.
32442         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
32443         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
32444         memmem.
32446         [BZ #17582]
32447         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
32448         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
32449         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
32450         and define as weak alias of __fgets_unlocked.  Use
32451         libc_hidden_weak.
32452         (__fgets_unlocked): Use libc_hidden_def.
32453         * include/stdio.h (__fgets_unlocked): Declare.  Use
32454         libc_hidden_proto.
32455         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
32456         __fgets_unlocked instead of fgets_unlocked.
32457         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
32458         (GET_NPROCS_CONF_PARSER): Likewise.
32459         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
32460         (GET_NPROCS_CONF_PARSER): Likewise.
32462         [BZ #17574]
32463         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
32464         weak alias of __wmemset.  Use libc_hidden_weak.
32465         (__wmemset): Use libc_hidden_def.
32466         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
32467         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
32468         of wmemset.
32470         [BZ #17573]
32471         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
32472         with asm name __mempcpy.
32473         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
32475         [BZ #17572]
32476         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
32477         and define as weak alias of __rawmemchr.
32478         (__rawmemchr): Do not define as strong alias of rawmemchr.
32480         [BZ #17571]
32481         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
32482         alias of __qsort_r.
32483         (qsort): Call __qsort_r instead of qsort_r.
32484         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
32485         (__qsort_r): Declare.  Call libc_hidden_proto.
32486         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
32487         instead of qsort_r.
32488         * nscd/gai.c (__qsort_r): Define to qsort_r.
32489         * posix/tst-rfc3484.c (__qsort_r): Likewise.
32490         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
32491         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
32493         [BZ #17570]
32494         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
32495         define as weak alias of __malloc_info.
32497         [BZ #17584]
32498         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
32499         as weak alias of __rewinddir.  Don't use libc_hidden_def.
32500         (__rewinddir): Use libc_hidden_def.
32501         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
32502         as weak alias of __rewinddir.  Don't use libc_hidden_def.
32503         (__rewinddir): Use libc_hidden_def.
32504         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
32505         weak alias of __rewinddir.  Don't use libc_hidden_def.
32506         (__rewinddir): Use libc_hidden_def.
32507         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
32508         (__rewinddir): Use libc_hidden_proto.
32509         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
32510         rewinddir.
32511         (__getcwd): Use __rewinddir instead of rewinddir.
32513         [BZ #17583]
32514         * libio/fileno.c (fileno): Rename to __fileno and define as weak
32515         alias of __fileno.  Use libc_hidden_weak.
32516         (__fileno): Use libc_hidden_def.
32517         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
32518         * libio/ftello.c (ftello): Rename to __ftello and define as weak
32519         alias of __ftello.
32520         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
32521         __ftello.
32522         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
32523         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
32524         libc_hidden_def.
32525         (fread_unlocked): Don't use libc_hidden_ver.
32526         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
32527         and define as weak alias of __fread_unlocked.  Don't use
32528         libc_hidden_def.
32529         (__fread_unlocked): Use libc_hidden_def.
32530         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
32531         (ftello): Don't use libc_hidden_proto.
32532         (__ftello): Declare.  Use libc_hidden_proto.
32533         (fread_unlocked): Don't use libc_hidden_proto.
32534         (__fread_unlocked): Declare.  Use libc_hidden_proto.
32535         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
32536         and __ftello instead of fileno, fread_unlocked and ftello.
32538 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32540         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
32541         GOT12.
32542         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32543         Likewise.
32544         (_dl_start_user): Likewise.
32545         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
32547 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
32548             Siddhesh Poyarekar  <siddhesh@redhat.com>
32550         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
32551         Move argv and envp down instead of moving argc up.
32552         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
32554 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
32556         [BZ #17506]
32557         * test-skeleton.c (main): Return successful if one of
32558         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
32559         * string/tst-strcoll-overflow.c: Define expected status.
32561 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
32563         [BZ #17475]
32564         * locale/iso-639.def: Define Bhili and Tulu language codes.
32566 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
32568         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
32570 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
32572         [BZ #17555]
32573         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
32575 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32577         * configure.ac: Updated check of minimal required version to
32578         2.22.
32579         * manual/install.texi (Tools for Compilation): Updated version
32580         number.
32581         * configure: Regenerated.
32582         * INSTALL: Likewise.
32584 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
32586         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
32587         __tls_get_addr.
32589 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
32591         * include/sys/wait.h (__libc_waitpid): Remove declaration.
32592         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
32593         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32594         libc_hidden_weak.
32595         (waitpid): Define as alias of __waitpid.
32596         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
32597         __waitpid.
32598         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32599         libc_hidden_weak.
32600         (waitpid): Define as alias of __waitpid.
32601         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
32602         __libc_waitpid alias.
32603         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
32604         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
32605         Likewise.
32606         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
32607         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
32608         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
32609         alias.
32610         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
32611         __waitpid.
32612         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32613         libc_hidden_weak.
32614         (waitpid): Define as alias of __waitpid.
32616 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
32618         * manual/llio.texi: Add comment that write safety has been
32619         fixed in Linux.
32621         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
32622         (localplt-build-dso): Add elf/ld.so.
32623         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
32624         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
32625         and free for ld.so.
32626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
32627         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
32628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
32629         Likewise.
32630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32631         Likewise.
32632         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
32633         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
32634         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
32635         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
32636         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
32637         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
32638         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
32639         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
32640         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
32641         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
32642         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32644 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
32646         [BZ #14132]
32647         * include/libc-symbols.h (INTUSE): Remove macro.
32648         (INTDEF): Likewise.
32649         (INTVARDEF): Likewise.
32650         (_INTVARDEF): Likewise.
32651         (INTDEF2): Likewise.
32652         (INTVARDEF2): Likewise.
32653         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
32654         rtld_hidden_def instead of INTVARDEF.
32655         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
32656         (_dl_starting_up_internal): Remove declaration.
32657         (_dl_starting_up): Use rtld_hidden_proto.
32658         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
32659         declaration.
32660         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
32661         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
32662         _dl_starting_up.
32663         * elf/dl-writev.h (_dl_writev): Likewise.
32664         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
32665         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
32666         _dl_starting_up_internal.
32668 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32670         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32671         test-skeleton.c.
32673 2014-11-05  Will Newton  <will.newton@linaro.org>
32675         * benchtests/Makefile: (bench-malloc): Add malloc thread
32676         scalability benchmark.
32677         * benchtests/bench-malloc-threads.c: New file.
32679 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
32681         * sysdeps/aarch64/strchrnul.S: New file.
32683 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32685         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
32686         definition.
32687         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32688         Likewise.
32689         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32690         Likewise.
32691         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32692         Likewise.
32693         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32694         Likewise.
32695         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32696         Likewise.
32698 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
32700         * catgets/test-gencat.c: Use test-skeleton.c.
32701         * catgets/tst-catgets.c: Likewise.
32702         * csu/tst-empty.c: Likewise.
32703         * elf/tst-audit2.c: Likewise.
32704         * elf/tst-global1.c: Likewise.
32705         * elf/tst-pathopt.c: Likewise.
32706         * elf/tst-piemod1.c: Likewise.
32707         * elf/tst-tls10.c: Likewise.
32708         * elf/tst-tls11.c: Likewise.
32709         * elf/tst-tls12.c: Likewise.
32710         * gnulib/tst-gcc.c: Likewise.
32711         * iconvdata/tst-e2big.c: Likewise.
32712         * iconvdata/tst-loading.c: Likewise.
32713         * iconv/tst-iconv1.c: Likewise.
32714         * iconv/tst-iconv2.c: Likewise.
32715         * inet/test-inet6_opt.c: Likewise.
32716         * inet/tst-gethnm.c: Likewise.
32717         * inet/tst-network.c: Likewise.
32718         * inet/tst-ntoa.c: Likewise.
32719         * intl/tst-codeset.c: Likewise.
32720         * intl/tst-gettext2.c: Likewise.
32721         * intl/tst-gettext3.c: Likewise.
32722         * intl/tst-ngettext.c: Likewise.
32723         * intl/tst-translit.c: Likewise.
32724         * io/test-stat.c: Likewise.
32725         * libio/test-fmemopen.c: Likewise.
32726         * libio/tst-freopen.c: Likewise.
32727         * libio/tst-sscanf.c: Likewise.
32728         * libio/tst-ungetwc1.c: Likewise.
32729         * libio/tst-ungetwc2.c: Likewise.
32730         * libio/tst-widetext.c: Likewise.
32731         * localedata/tst-ctype.c: Likewise.
32732         * localedata/tst-digits.c: Likewise.
32733         * localedata/tst-leaks.c: Likewise.
32734         * localedata/tst-mbswcs1.c: Likewise.
32735         * localedata/tst-mbswcs2.c: Likewise.
32736         * localedata/tst-mbswcs3.c: Likewise.
32737         * localedata/tst-mbswcs4.c: Likewise.
32738         * localedata/tst-mbswcs5.c: Likewise.
32739         * localedata/tst-setlocale.c: Likewise.
32740         * localedata/tst-trans.c: Likewise.
32741         * localedata/tst-wctype.c: Likewise.
32742         * localedata/tst-xlocale1.c: Likewise.
32743         * login/tst-grantpt.c: Likewise.
32744         * malloc/tst-calloc.c: Likewise.
32745         * malloc/tst-malloc.c: Likewise.
32746         * malloc/tst-mallocstate.c: Likewise.
32747         * malloc/tst-mcheck.c: Likewise.
32748         * malloc/tst-mtrace.c: Likewise.
32749         * malloc/tst-obstack.c: Likewise.
32750         * math/atest-exp2.c: Likewise.
32751         * math/atest-exp.c: Likewise.
32752         * math/atest-sincos.c: Likewise.
32753         * math/test-matherr.c: Likewise.
32754         * math/test-misc.c: Likewise.
32755         * math/test-powl.c: Likewise.
32756         * math/tst-definitions.c: Likewise.
32757         * misc/tst-dirname.c: Likewise.
32758         * misc/tst-efgcvt.c: Likewise.
32759         * misc/tst-fdset.c: Likewise.
32760         * misc/tst-hsearch.c: Likewise.
32761         * misc/tst-mntent2.c: Likewise.
32762         * nptl/tst-sem7.c: Likewise.
32763         * nptl/tst-sem8.c: Likewise.
32764         * nptl/tst-sem9.c: Likewise.
32765         * nss/test-netdb.c: Likewise.
32766         * posix/tst-fnmatch.c: Likewise.
32767         * posix/tst-getlogin.c: Likewise.
32768         * posix/tst-gnuglob.c: Likewise.
32769         * posix/tst-mmap.c: Likewise.
32770         * pwd/tst-getpw.c: Likewise.
32771         * resolv/tst-inet_ntop.c: Likewise.
32772         * rt/tst-timer.c: Likewise.
32773         * stdio-common/test-fseek.c: Likewise.
32774         * stdio-common/test-popen.c: Likewise.
32775         * stdio-common/test-vfprintf.c: Likewise.
32776         * stdio-common/tst-cookie.c: Likewise.
32777         * stdio-common/tst-fileno.c: Likewise.
32778         * stdio-common/tst-gets.c: Likewise.
32779         * stdio-common/tst-obprintf.c: Likewise.
32780         * stdio-common/tst-perror.c: Likewise.
32781         * stdio-common/tst-sprintf2.c: Likewise.
32782         * stdio-common/tst-sprintf3.c: Likewise.
32783         * stdio-common/tst-sprintf.c: Likewise.
32784         * stdio-common/tst-swprintf.c: Likewise.
32785         * stdio-common/tst-tmpnam.c: Likewise.
32786         * stdio-common/tst-unbputc.c: Likewise.
32787         * stdio-common/tst-wc-printf.c: Likewise.
32788         * stdlib/tst-environ.c: Likewise.
32789         * stdlib/tst-fmtmsg.c: Likewise.
32790         * stdlib/tst-limits.c: Likewise.
32791         * stdlib/tst-rand48-2.c: Likewise.
32792         * stdlib/tst-rand48.c: Likewise.
32793         * stdlib/tst-random2.c: Likewise.
32794         * stdlib/tst-random.c: Likewise.
32795         * stdlib/tst-strtol.c: Likewise.
32796         * stdlib/tst-strtoll.c: Likewise.
32797         * stdlib/tst-tls-atexit.c: Likewise.
32798         * stdlib/tst-xpg-basename.c: Likewise.
32799         * string/test-ffs.c: Likewise.
32800         * string/tst-bswap.c: Likewise.
32801         * string/tst-inlcall.c: Likewise.
32802         * string/tst-strtok.c: Likewise.
32803         * string/tst-strxfrm.c: Likewise.
32804         * sysdeps/x86_64/tst-audit10.c: Likewise.
32805         * sysdeps/x86_64/tst-audit3.c: Likewise.
32806         * sysdeps/x86_64/tst-audit4.c: Likewise.
32807         * sysdeps/x86_64/tst-audit5.c: Likewise.
32808         * time/tst-ftime_l.c: Likewise.
32809         * time/tst-getdate.c: Likewise.
32810         * time/tst-mktime3.c: Likewise.
32811         * time/tst-mktime.c: Likewise.
32812         * time/tst-posixtz.c: Likewise.
32813         * time/tst-strptime2.c: Likewise.
32814         * time/tst-strptime3.c: Likewise.
32815         * wcsmbs/tst-btowc.c: Likewise.
32816         * wcsmbs/tst-mbrtowc.c: Likewise.
32817         * wcsmbs/tst-mbsrtowcs.c: Likewise.
32818         * wcsmbs/tst-wchar-h.c: Likewise.
32819         * wcsmbs/tst-wcpncpy.c: Likewise.
32820         * wcsmbs/tst-wcrtomb.c: Likewise.
32821         * wcsmbs/tst-wcsnlen.c: Likewise.
32822         * wcsmbs/tst-wcstof.c: Likewise.
32824 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
32826         [BZ #14132]
32827         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
32828         INTDEF.
32829         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
32830         declaration.
32831         (_dl_mcount): Use rtld_hidden_proto.
32832         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
32833         _dl_mcount.
32834         * elf/rtld.c (_rtld_global_ro): Likewise.
32836         [BZ #14132]
32837         * elf/dl-init.c (_dl_init): Don't use INTDEF.
32838         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
32839         of _dl_init_internal.
32840         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
32841         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
32842         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
32843         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
32844         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
32845         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
32846         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
32847         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
32848         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
32849         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
32850         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
32851         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
32852         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32853         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32854         * sysdeps/tile/dl-start.S (_start): Likewise.
32855         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
32856         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
32858         [BZ #14132]
32859         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
32860         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
32861         (rtld_progname): Make macro definition unconditional.
32862         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
32863         INTDEF.
32864         (dlmopen_doit): Do not use INTUSE with _dl_argv.
32865         (dl_main): Likewise.
32866         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32867         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
32868         instead of _dl_argv_internal.
32869         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32870         __GI__dl_argv instead of INTUSE(_dl_argv).
32871         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
32872         __GI__dl_argv instead of _dl_argv_internal.
32874         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
32875         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
32876         macro.
32877         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
32878         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
32879         New macro.
32880         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
32881         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
32882         macro.
32883         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
32884         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
32886 2014-11-04  Andreas Schwab  <schwab@suse.de>
32888         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
32890 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32892         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
32893         mtvsrd instruction in binary form.
32895 2014-11-03  Andreas Schwab  <schwab@suse.de>
32897         [BZ #17522]
32898         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
32899         for less than MB_LEN_MAX use a local buffer of that size.
32900         * libio/tst-fputws.c: New file.
32901         * libio/Makefile (tests): Add tst-fputws.
32903 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
32905         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
32906         the size of the fpu_fr.fpu_dregs[] array.
32908 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
32910         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
32911         (__nanosleep): Do not define as alias.
32912         (nanosleep): Define as alias of __nanosleep.
32913         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
32914         __libc_nanosleep name.
32916 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32918         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
32919         install.texi in comment.
32921 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32923         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
32924         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
32925         ... add here and use lwsync or sync ...
32926         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
32927         ... and add here using lwsync.
32929 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32931         * elf/dl-machine-reject-phdr.h: New file.
32932         * elf/dl-load.c: #include that.
32933         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32934         if that returned true.
32936 2014-10-31  Roland McGrath  <roland@hack.frob.com>
32938         [BZ #17496]
32939         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
32940         gen-as-const-headers chunk.  Add a big scare comment after the last
32941         safe place to touch before-compile.
32943 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32945         * manual/install.texi (Tools for Compilation): Update autoconf
32946         version requirements.
32947         * INSTALL: Regenerated.
32949         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32950         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32951         (__libc_pselect): Likewise.
32953         [BZ #14138]
32954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32959 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32961         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32962         correct barrier instruction.
32963         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32964         Likewise.
32965         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32966         Likewise.
32968 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32970         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32971         after defining inlines.  Instead, just use parens to defeat macro
32972         expansion of __isctype in its declaration.
32974 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32976         * include/sys/uio.h (__libc_readv): Remove declaration.
32977         (__libc_writev): Likewise.
32978         * misc/readv.c (__libc_readv): Rename to __readv.
32979         (__readv): Do not define as alias.
32980         (readv): Define as alias of __readv.
32981         * misc/writev.c (__libc_writev): Rename to __writev.
32982         (__writev): Do not define as alias.
32983         (writev): Define as alias of __writev.
32984         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32985         (__readv): Do not define as alias.
32986         (readv): Define unconditionally as alias of __readv.
32987         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32988         (__writev): Do not define as alias.
32989         (writev): Define unconditionally as alias of __writev.
32990         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32991         name.
32992         (writev): Do not define __libc_writev name.
32994 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32996         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32997         (convert_charseq): New function, broken out of ...
32998         (use_from_charmap): ... here.  Call it.
32999         (use_to_charmap): Use convert_charseq and free instead of duplicating
33000         its code with a variable-length stack struct.
33002 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33004         * include/fcntl.h (__libc_creat): Remove declaration.
33005         * io/creat.c (__libc_creat): Rename to creat.
33006         (creat): Do not define as alias.
33007         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33008         of creat instead of __libc_creat.
33009         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33010         to creat.
33011         (creat): Do not define as alias.
33012         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33013         __libc_creat.
33014         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33015         __libc_creat name.
33016         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33017         Likewise.
33019 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
33021         * manual/llio.texi: Add comments discussing why write() may be
33022         considered MT-unsafe on Linux.
33024 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
33026         * dl-load.c (local_strdup): Remove.
33027         (expand_dynamic_string_token): Use __strdup.
33028         (decompose_rpath): Likewise.
33029         (_dl_map_object): Likewise.
33031 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
33033         [BZ #14132]
33034         * sysdeps/generic/unwind-dw2-fde.c
33035         (__register_frame_info_bases_internal): Do not declare.
33036         (__register_frame_info_table_bases_internal): Likewise.
33037         (__deregister_frame_info_bases_internal): Likewise.
33038         (__register_frame_info_bases): Declare and use hidden_proto before
33039         definition.  Use hidden_def instead of INTDEF.
33040         (__register_frame_info_table_bases): Likewise.
33041         (__deregister_frame_info_bases): Likewise.
33042         (__register_frame_info): Do not use INTUSE.
33043         (__register_frame): Likewise.
33044         (__register_frame_info_table): Likewise.
33045         (__register_frame_table): Likewise.
33046         (__deregister_frame_info): Likewise.
33047         (__deregister_frame): Likewise.
33049 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
33051         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33052         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33053         not undefine.
33054         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33055         Likewise.
33056         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33057         Likewise.
33059 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
33061         [BZ #14138]
33062         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33063         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33064         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33065         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33066         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33067         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33068         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33069         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33070         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33071         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33072         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33073         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33074         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33075         syscall.
33076         (setfsuid): Likewise.
33077         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33078         (setfsuid): Likewise.
33079         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33080         (setfsuid): Likewise.
33081         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33082         Likewise.
33083         (setfsuid): Likewise.
33084         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33085         (setfsuid): Likewise.
33086         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33087         Likewise.
33088         (setfsuid): Likewise.
33090 2014-10-27  Andreas Schwab  <schwab@suse.de>
33092         [BZ #17501]
33093         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33094         check for Slow_SSE4_2 feature bit.
33095         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33096         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33097         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33098         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
33100 2014-10-24  Roland McGrath  <roland@hack.frob.com>
33102         * configure.ac: Validate compiler version with a empirical test of
33103         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33104         $CC -v output.
33105         * configure: Regenerated.
33107         * inet/htons.c (htons): Prototypify.
33108         * inet/htonl.c (htonl): Likewise.
33110 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33112         * string/strncat.c (strncat): Improve performance by using strlen.
33114 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33116         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33118 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33120         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33121         Call libc_fetestexcept_aarch64.
33123 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33125         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33126         Call libc_feholdexcept_aarch64.
33128 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33130         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33131         Call get_rounding_mode.
33133 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33135         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33136         Simplify logic.
33138 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33140         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33141         Simplify logic.
33143 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
33145         [BZ #14138]
33146         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33147         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33148         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33149         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33150         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33151         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33152         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33153         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33154         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33155         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33156         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33157         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33158         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33159         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33160         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33161         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33162         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33163         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33164         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33165         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33166         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33167         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33168         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33169         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33170         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33171         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33172         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33173         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33174         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33175         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33176         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33177         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33178         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33179         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33180         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33181         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33182         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33183         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33184         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33185         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33186         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33187         syscall.
33188         (geteuid): Likewise.
33189         (getgid): Likewise.
33190         (getuid): Likewise.
33191         (getresgid): Likewise.
33192         (getresuid): Likewise.
33193         (getgroups): Likewise.
33194         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33195         (geteuid): Likewise.
33196         (getgid): Likewise.
33197         (getuid): Likewise.
33198         (getresgid): Likewise.
33199         (getresuid): Likewise.
33200         (getgroups): Likewise.
33201         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33202         (geteuid): Likewise.
33203         (getgid): Likewise.
33204         (getuid): Likewise.
33205         (getresgid): Likewise.
33206         (getresuid): Likewise.
33207         (getgroups): Likewise.
33208         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33209         Likewise.
33210         (geteuid): Likewise.
33211         (getgid): Likewise.
33212         (getuid): Likewise.
33213         (getresgid): Likewise.
33214         (getresuid): Likewise.
33215         (getgroups): Likewise.
33216         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33217         (geteuid): Likewise.
33218         (getgid): Likewise.
33219         (getuid): Likewise.
33220         (getresgid): Likewise.
33221         (getresuid): Likewise.
33222         (getgroups): Likewise.
33223         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
33224         Likewise.
33225         (geteuid): Likewise.
33226         (getgid): Likewise.
33227         (getuid): Likewise.
33228         (getgroups): Likewise.
33230         [BZ #14138]
33231         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
33232         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
33233         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
33234         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33235         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
33236         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
33237         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
33238         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
33239         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
33240         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
33241         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
33242         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
33243         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
33244         __chown.
33245         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
33246         (lchown): Likewise.
33247         (fchown): Likewise.
33248         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
33249         Likewise.
33250         (lchown): Likewise.
33251         (fchown): Likewise.
33252         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
33253         (lchown): Likewise.
33254         (fchown): Likewise.
33255         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
33256         Likewise.
33257         (lchown): Likewise.
33258         (fchown): Likewise.
33260 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33262         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
33263         Simplify logic.
33265 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33267         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33268         Cleanup logic.
33270 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33272         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33273         Remove unused include.
33275 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33277         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
33278         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
33279         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
33280         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
33282 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
33283             Helge Deller <deller@gmx.de>
33285         [BZ #17508]
33286         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
33287         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
33288         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
33290 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
33292         [BZ #14132]
33293         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
33294         Remove macro definition.
33295         (__ashrdi3_v_glibc20): Likewise.
33296         (__lshrdi3_v_glibc20): Likewise.
33297         (__cmpdi2_v_glibc20): Likewise.
33298         (__ucmpdi2_v_glibc20): Likewise.
33299         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
33300         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33301         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33302         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33303         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33304         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
33306 2014-10-22  Roland McGrath  <roland@hack.frob.com>
33308         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
33309         old GNU extension [0] syntax.
33310         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
33311         alloca rather than an array member with variable length.
33312         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
33313         * nscd/nscd.c (invalidate_db): New function, broken out of ...
33314         (parse_opt): ... here.  Likewise use alloca there.
33315         Validate the -i argument before checking for rootness.
33316         (send_shutdown): New function, broken out of ...
33317         (parse_opt): ... here.
33319 2014-10-22  Roland McGrath  <roland@hack.frob.com>
33321         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
33322         macro to get at the _rt_local_ro field.
33323         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
33324         ([PIC] case) or _dl_hwcap ([!PIC] case).
33325         * sysdeps/arm/setjmp.S: Likewise.
33327         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
33328         * sysdeps/arm/configure.ac: New check to define it.
33329         * sysdeps/arm/configure: Regenerated.
33330         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
33331         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
33332         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
33333         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
33334         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
33335         Use move/movt pair instead of a load.
33336         (LDST_GLOBAL): Macro removed.
33337         (LDR_GLOBAL): New macro replaces it.
33338         (LDR_HIDDEN): New macro.
33339         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
33340         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
33342         * setjmp/tst-setjmp-static.c: New file.
33343         * setjmp/Makefile (tests): Add it.
33344         (tests-static): New variable.
33346 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
33348         [BZ #17485]
33349         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
33351 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
33353         [BZ #14132]
33354         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
33356 2014-10-21  Roland McGrath  <roland@hack.frob.com>
33358         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
33360 2014-10-20  Roland McGrath  <roland@hack.frob.com>
33362         * io/fts.c (dirent_not_directory): New function.
33363         (fts_build): Call it.
33365 2014-10-20  Roland McGrath  <roland@hack.frob.com>
33367         * nptl/version.c (__nptl_main): Use normal __write rather than
33368         INTERNAL_SYSCALL.
33369         (banner): Update copyright years.
33371         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
33372         gettimeofday.
33373         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33374         * nptl/pthread_cond_timedwait.c: Likewise.
33375         * nptl/pthread_mutex_timedlock.c: Likewise.
33376         * nptl/sem_timedwait.c: Likewise.
33378         * sysdeps/nptl/bits/libc-lock.h
33379         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33380         (__libc_lock_init_recursive): Return void, not 0.
33381         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
33382         (__libc_rwlock_init): Likewise.
33383         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
33385 2014-10-20  Torvald Riegel  <triegel@redhat.com>
33387         [BZ #15215]
33388         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
33389         (__pthread_once_slow): ... here.
33390         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
33391         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
33393 2014-10-20  Torvald Riegel  <triegel@redhat.com>
33395         [BZ #15215]
33396         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
33397         __PTHREAD_ONCE_FORK_GEN_INCR): New.
33398         * sysdeps/nptl/fork.c (__libc_fork): Use them.
33399         * nptl/pthread_once.c (__pthread_once): Likewise.
33400         Update comments.
33402 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
33404         [BZ #14138]
33405         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
33406         name.
33407         (writev): Use __libc_writev as strong name.
33408         * sysdeps/unix/sysv/linux/readv.c: Remove file.
33409         * sysdeps/unix/sysv/linux/writev.c: Likewise.
33411 2014-10-17  Roland McGrath  <roland@hack.frob.com>
33413         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
33415         * sysdeps/i386/nptl/tls.h
33416         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
33417         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
33418         New macros.
33419         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
33420         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
33421         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
33422         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
33423         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
33424         Call CHECK_THREAD_SYSINFO instead of doing an assert.
33426         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33427         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
33428         on [__NR_futex].
33429         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
33430         broken out of ...
33431         (__pthread_mutex_init): ... here.  Call it.
33432         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
33433         Conditionalize PI cases on [__NR_futex].
33434         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
33435         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
33436         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
33438         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
33439         conditional on [SIGSETXID].
33440         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
33441         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
33442         is defined.  Likewise for SIGSETXID.
33443         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
33444         Conditionalize definitions on [SIGSETXID].
33445         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
33446         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
33447         unblocking on [SIGCANCEL].
33449         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
33450         [__NR_set_robust_list].
33452 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33454         * string/strcoll_l.c (get_next_seq): Fix up formatting.
33455         (do_compare): Likewise.
33457 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
33459         [BZ #15884]
33460         * string/strcoll_l.c: Don't include stdio.h.
33461         (coll_seq): Remove members idxarr and rulearr.
33462         (get_next_seq_cached): Remove function.
33463         (get_next_seq): Likewise.
33464         (get_next_seq_nocache): Rename to get_next_seq.
33465         (do_compare): Remove function.
33466         (do_compare_nocache): Rename to do_compare.
33467         (STRCOLL): Remove weight and rules cache.
33469 2014-10-16  Roland McGrath  <roland@hack.frob.com>
33471         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
33472         * sysdeps/arm/sfp-machine.h: ... to here.
33473         * sysdeps/arm/Implies: Remove arm/soft-fp.
33475 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
33477         * conform/data/sys/utsname.h-data (*_t): Allow.
33478         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
33479         [POSIX] (WEXITED): Do not expect constant.
33480         [POSIX] (WSTOPPED): Likewise.
33481         [POSIX] (WNOHANG): Likewise.
33482         [POSIX] (WNOWAIT): Likewise.
33483         [POSIX] (siginfo_t): Do not expect type or elements.
33484         [POSIX] (pid_t): Do not expect type.
33485         [POSIX] (signal.h): Do not allow header.
33486         [POSIX] (sys/resource.h): Likewise.
33487         [POSIX] (si_*): Do not allow pattern.
33488         [POSIX] (W*): Likewise.
33489         [POSIX] (P_*): Likewise.
33490         [POSIX] (BUS_*): Likewise.
33491         [POSIX] (CLD_*): Likewise.
33492         [POSIX] (FPE_*): Likewise.
33493         [POSIX] (ILL_*): Likewise.
33494         [POSIX] (POLL_*): Likewise.
33495         [POSIX] (SEGV_*): Likewise.
33496         [POSIX] (SI_*): Likewise.
33497         [POSIX] (TRAP_*): Likewise.
33498         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
33499         variable.
33501 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33503         [BZ #12926]
33504         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
33505         infinite loop when __recvmsg returns 0.
33507 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
33509         * CANCEL-FCT-WAIVE: Remove file.
33510         * CANCEL-FILE-WAIVE: Likewise.
33512         [BZ #14132]
33513         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
33514         instead of INTVARDEF.
33515         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
33516         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
33517         rtld_hidden_data_def instead of INTVARDEF.
33518         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
33519         * elf/dl-deps.c (expand_dst): Likewise.
33520         * elf/dl-load.c (_dl_dst_count): Likewise.
33521         (_dl_dst_substitute): Likewise.
33522         (decompose_rpath): Likewise.
33523         (_dl_init_paths): Likewise.
33524         (open_path): Likewise.
33525         (_dl_map_object): Likewise.
33526         * elf/rtld.c (dl_main): Likewise.
33527         (process_dl_audit): Likewise.
33528         (process_envvars): Likewise.
33529         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
33530         Remove declaration.
33531         (__libc_enable_secure): Use rtld_hidden_proto.
33533 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33535         * elf/dl-load.c
33536         (add_path): New function broken out of _dl_rtld_di_serinfo.
33537         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
33539 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
33541         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
33542         parentheses around macro arguments.
33543         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
33544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
33545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
33546         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
33547         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
33548         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
33549         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
33550         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
33551         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
33552         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
33553         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
33554         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
33555         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
33556         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
33557         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
33558         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
33559         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
33560         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
33561         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
33562         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
33563         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
33564         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
33565         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
33566         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
33567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
33568         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
33569         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
33570         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
33571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
33572         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
33573         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
33574         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
33575         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
33576         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
33577         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
33578         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
33579         Likewise.
33580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
33581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
33582         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
33583         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
33584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
33585         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
33586         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
33587         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
33588         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
33589         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
33590         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
33591         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
33592         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
33593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
33594         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
33595         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
33596         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
33597         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
33598         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
33599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
33600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
33601         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
33602         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
33603         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
33604         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
33605         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
33606         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
33607         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
33608         (_FP_FRAC_SRS_1): Likewise.
33609         (_FP_FRAC_CLZ_1): Likewise.
33610         (_FP_MUL_MEAT_1_imm): Likewise.
33611         (_FP_MUL_MEAT_1_wide): Likewise.
33612         (_FP_MUL_MEAT_1_hard): Likewise.
33613         (_FP_SQRT_MEAT_1): Likewise.
33614         (_FP_FRAC_ASSEMBLE_1): Likewise.
33615         (_FP_FRAC_DISASSEMBLE_1): Likewise.
33616         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
33617         (__FP_CLZ_2): Likewise.
33618         (_FP_MUL_MEAT_2_wide): Likewise.
33619         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33620         (_FP_MUL_MEAT_2_gmp): Likewise.
33621         (_FP_MUL_MEAT_2_120_240_double): Likewise.
33622         (_FP_SQRT_MEAT_2): Likewise.
33623         (_FP_FRAC_ASSEMBLE_2): Likewise.
33624         (_FP_FRAC_DISASSEMBLE_2): Likewise.
33625         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
33626         (_FP_FRAC_CLZ_4): Likewise.
33627         (_FP_MUL_MEAT_4_wide): Likewise.
33628         (_FP_MUL_MEAT_4_gmp): Likewise.
33629         (_FP_SQRT_MEAT_4): Likewise.
33630         (_FP_FRAC_ASSEMBLE_4): Likewise.
33631         (_FP_FRAC_DISASSEMBLE_4): Likewise.
33632         * soft-fp/op-common.h (_FP_CMP): Likewise.
33633         (_FP_CMP_EQ): Likewise.
33634         (_FP_CMP_UNORD): Likewise.
33635         (_FP_TO_INT): Likewise.
33636         (_FP_FROM_INT): Likewise.
33637         [!__FP_CLZ] (__FP_CLZ): Likewise.
33638         (_FP_DIV_HELP_imm): Likewise.
33639         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
33640         Likewise.
33641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
33642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
33643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
33644         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
33645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
33646         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33647         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33648         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
33649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
33650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
33651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
33652         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
33653         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
33654         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
33655         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
33656         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
33657         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
33658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
33659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
33660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
33661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
33662         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
33663         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
33664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33666         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
33667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
33668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
33669         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
33670         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
33671         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
33672         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
33673         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
33674         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
33675         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
33676         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
33677         (FP_UNPACK_RAW_SP): Likewise.
33678         (FP_PACK_RAW_S): Likewise.
33679         (FP_PACK_RAW_SP): Likewise.
33680         (FP_UNPACK_S): Likewise.
33681         (FP_UNPACK_SP): Likewise.
33682         (FP_UNPACK_SEMIRAW_S): Likewise.
33683         (FP_UNPACK_SEMIRAW_SP): Likewise.
33684         (FP_PACK_S): Likewise.
33685         (FP_PACK_SP): Likewise.
33686         (FP_PACK_SEMIRAW_S): Likewise.
33687         (FP_PACK_SEMIRAW_SP): Likewise.
33688         (_FP_SQRT_MEAT_S): Likewise.
33689         (FP_CMP_S): Likewise.
33690         (FP_CMP_EQ_S): Likewise.
33691         (FP_CMP_UNORD_S): Likewise.
33692         (FP_TO_INT_S): Likewise.
33693         (FP_FROM_INT_S): Likewise.
33695         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
33697         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
33698         (FP_EX_INVALID_IMZ): Likewise.
33699         (FP_EX_INVALID_IMZ_FMA): Likewise.
33700         (FP_EX_INVALID_ISI): Likewise.
33701         (FP_EX_INVALID_ZDZ): Likewise.
33702         (FP_EX_INVALID_IDI): Likewise.
33703         (FP_EX_INVALID_SQRT): Likewise.
33704         (FP_EX_INVALID_CVI): Likewise.
33705         (FP_EX_INVALID_VC): Likewise.
33706         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
33707         "invalid" exceptions.
33708         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
33709         (_FP_ADD_INTERNAL): Likewise.
33710         (_FP_MUL): Likewise.
33711         (_FP_FMA): Likewise.
33712         (_FP_DIV): Likewise.
33713         (_FP_CMP_CHECK_NAN): Likewise.
33714         (_FP_SQRT): Likewise.
33715         (_FP_TO_INT): Likewise.
33716         (FP_EXTEND): Likewise.
33718 2014-10-09  Allan McRae  <allan@archlinux.org>
33720         * po/fr.po: Update French translation from translation project.
33722 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
33724         [BZ #14132]
33725         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
33726         of INTDEF.
33727         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
33728         (__cxa_atexit): Use libc_hidden_proto.
33729         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
33731         [BZ #14132]
33732         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
33733         declaration.
33734         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
33735         [!_ISOMAC] (__iswspace_l_internal): Likewise.
33736         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
33737         [!_ISOMAC] (__iswctype_internal): Likewise.
33738         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
33739         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
33740         alias.
33741         (fcntl): Remove __fcntl_internal alias.
33742         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
33743         __connect_internal alias.
33744         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
33745         Likewise.
33747         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
33748         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
33749         FP_DENORM_ZERO.
33750         (_FP_CHECK_FLUSH_ZERO): New macro.
33751         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
33752         (_FP_CMP): Likewise.
33753         (_FP_CMP_EQ): Likewise.
33754         (_FP_TO_INT): Do not set inexact for subnormal arguments if
33755         FP_DENORM_ZERO.
33756         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
33757         (FP_TRUNC): Likewise.
33759         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
33760         treated as invalid conversion, not as normal exponent.
33762         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
33763         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
33764         (_FP_CMP_EQ): Likewise.
33765         (_FP_CMP_UNORD): Likewise.
33766         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
33767         (FP_CMP_EQ_D): Likewise.
33768         (FP_CMP_UNORD_D): Likewise.
33769         * soft-fp/extended.h (FP_CMP_E): Likewise.
33770         (FP_CMP_EQ_E): Likewise.
33771         (FP_CMP_UNORD_E): Likewise.
33772         * soft-fp/quad.h (FP_CMP_Q): Likewise.
33773         (FP_CMP_EQ_Q): Likewise.
33774         (FP_CMP_UNORD_Q): Likewise.
33775         * soft-fp/single.h (FP_CMP_S): Likewise.
33776         (FP_CMP_EQ_S): Likewise.
33777         (FP_CMP_UNORD_S): Likewise.
33778         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
33779         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
33780         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
33781         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
33782         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
33783         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
33784         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
33785         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
33786         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
33787         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
33788         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
33789         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
33790         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
33791         to FP_CMP_Q.
33792         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
33793         FP_CMP_Q.
33794         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
33795         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
33796         FP_CMP_EQ_Q.
33797         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
33798         FP_CMP_Q.
33799         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
33800         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
33801         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
33802         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
33803         FP_CMP_EQ_Q.
33804         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
33805         FP_CMP_Q.
33806         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
33807         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
33808         FP_CMP_EQ_Q.
33809         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
33810         FP_CMP_Q.
33811         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
33812         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
33813         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
33814         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
33815         FP_CMP_EQ_Q.
33817         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
33818         a subnormal result, set the underflow exception if trapping on
33819         underflow is enabled.
33820         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
33821         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
33822         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
33823         redefine to 0.
33824         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
33825         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33826         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33827         * soft-fp/extendxftf2.c (__extendxftf2): Use
33828         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
33830         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
33831         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
33832         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33833         FP_HANDLE_EXCEPTIONS.
33834         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
33835         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33836         FP_HANDLE_EXCEPTIONS.
33837         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
33838         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33839         FP_HANDLE_EXCEPTIONS.
33840         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
33841         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33842         FP_HANDLE_EXCEPTIONS.
33844 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
33846         [BZ #14132]
33847         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
33848         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
33849         use INTUSE.
33850         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
33851         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
33852         Remove alias.
33853         (__adjtimex): Define using libc_hidden_ver.
33854         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
33855         Remove declaration.
33856         (ntp_gettime): Call __adjtimex directly.
33857         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
33858         Remove declaration.
33859         (ntp_gettimex): Call __adjtimex directly.
33860         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
33861         __adjtimex_internal alias.
33863 2014-10-08  Roland McGrath  <roland@hack.frob.com>
33865         [BZ #17460]
33866         * nscd/nscd.c (more_help): Rewrite list of tables collection
33867         using xstrdup and asprintf.
33869         * nscd/nscd_conf.c: Remove local xstrdup declaration.
33871 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33872             Roland McGrath  <roland@hack.frob.com>
33874         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
33875         (do_lookup_unique): ... local function 'enter' here; update callers.
33877 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
33879         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
33880         compat_symbol calls on [SHARED].
33881         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
33882         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
33883         Remove.
33884         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33885         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
33886         (oldsetrlimit): Remove.
33887         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33889         (lchown): New syscall entry.
33890         (oldsetrlimit): Remove.
33891         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33892         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
33893         (oldsetrlimit): Remove.
33894         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33896         [BZ #14138]
33897         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
33898         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
33899         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
33900         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
33901         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33902         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
33903         (fchown): Likewise.
33904         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
33905         (fchown): Likewise.
33906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
33907         Likewise.
33909 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33911         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
33912         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
33913         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
33914         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
33915         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
33916         Likewise.
33917         (__old_sem_post): Likewise.
33919 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
33921         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
33922         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
33923         HAVE_CLOCK_GETTIME_VSYSCALL macros.
33924         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
33925         Use INLINE_VSYSCALL macro.
33926         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
33927         __vdso_clock_gettime.
33928         * sysdeps/unix/sysv/linux/tile/init-first.c
33929         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
33930         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
33931         __vdso_clock_gettime.
33933         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
33934         to set up frame more cleanly.
33936         * sysdeps/tile/memcmp.c: New file.
33938         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
33940         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33941         * sysdeps/tile/tilegx/strcasestr.c: New file.
33942         * sysdeps/tile/tilegx/strnlen.c: New file.
33943         * sysdeps/tile/tilegx/strstr.c: New file.
33945         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33947 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33949         * nptl/tst-setuid3.c: Write errors to stdout.
33951 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33953         * elf/dl-deps.c
33954         (preload): New functions broken out of _dl_map_object_deps.
33955         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33957 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33959         [BZ #14138]
33960         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33961         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33963 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33965         * sysdeps/mips/strcmp.S: New.
33967 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33969         [BZ #14138]
33970         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33971         (linkat): Likewise.
33972         (mkdirat): Likewise.
33973         (readlinkat): Likewise.
33974         (renameat): Likewise.
33975         (symlinkat): Likewise.
33976         (unlinkat): Likewise.
33977         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33978         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33979         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33980         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33981         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33982         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33983         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33985 2014-09-30  Will Newton  <will.newton@linaro.org>
33987         * math/math.h: Define long double math functions if
33988         _LIBC_TEST is defined.
33989         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33991         * localedata/Makefile: Move assignment to tests-special
33992         into an ifdef testing run-built-tests.
33993         * timezone/Makefile: Likewise.
33995 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33997         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33998         with $(BASH) not $(SHELL).
34000 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
34001             Matthew LeGendre  <legendre1@llnl.gov>
34003         [BZ #17411]
34004         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34005         l_reloc_result.
34007 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34009         * stdio-common/printf_fp.c
34010         (hack_digit): New function, broken out of ...
34011         (__printf_fp): ... local function here.  Update call sites.
34012         hack_digit now takes an additional parameter that is a pointer
34013         to a struct of the referenced locals.  Those locals moved inside
34014         the struct and references updated.
34016 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
34018         * aclocal.m4: Require autoconf 2.69.
34019         * configure: Regenerated.
34020         * sysdeps/aarch64/configure: Likewise.
34021         * sysdeps/alpha/configure: Likewise.
34022         * sysdeps/arm/armv7/configure: Likewise.
34023         * sysdeps/arm/configure: Likewise.
34024         * sysdeps/ia64/configure: Likewise.
34025         * sysdeps/mach/configure: Likewise.
34026         * sysdeps/mips/configure: Likewise.
34027         * sysdeps/s390/configure: Likewise.
34028         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34031         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34032         file.
34033         * sysdeps/ia64/configure.ac: Likewise.
34035 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
34037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34038         specify symbol version for ld.so.  Do not include entry for
34039         libpthread.
34040         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34041         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34042         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34044         [BZ #14171]
34045         * Makeconfig [$(build-shared) = yes]
34046         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34047         makefiles.
34048         [$(build-shared) = yes && $(soversions.mk-done) = t]
34049         ($(common-objpfx)gnu/lib-names.h): Remove rule.
34050         [$(build-shared) = yes && $(soversions.mk-done) = t]
34051         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
34052         to Makerules.
34053         [$(build-shared) = yes && $(soversions.mk-done) = t]
34054         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34055         here.
34056         [$(build-shared) = yes && $(soversions.mk-done) = t]
34057         (common-generated): Don't append gnu/lib-names.h and
34058         gnu/lib-names.stmp here.
34059         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34060         (lib-names-h-abi): New variable.
34061         [$(build-shared) = yes && $(soversions.mk-done) = t]
34062         (lib-names-stmp-abi): Likewise.
34063         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34064         abi-variants] (before-compile): Append
34065         $(common-objpfx)$(lib-names-h-abi).
34066         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34067         abi-variants] (common-generated): Append gnu/lib-names.h.
34068         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34069         abi-variants] (install-others-nosubdir): Depend on
34070         $(inst_includedir)/$(lib-names-h-abi).
34071         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34072         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34073         [$(build-shared) = yes && $(soversions.mk-done) = t]
34074         ($(common-objpfx)$(lib-names-h-abi)): New rule.
34075         [$(build-shared) = yes && $(soversions.mk-done) = t]
34076         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34077         [$(build-shared) = yes && $(soversions.mk-done) = t]
34078         (common-generated): Append $(lib-names-h-abi) and
34079         $(lib-names-stmp-abi).
34080         * scripts/lib-names.awk: Do not handle multi being set.
34081         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34082         Remove variable.
34083         (abi-lp64_be-ld-soname): Likewise.
34084         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34085         Likewise.
34086         (abi-hard-ld-soname): Likewise.
34087         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34088         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34089         Remove variable.
34090         (abi-o32_hard-ld-soname): Likewise.
34091         (abi-o32_soft_2008-ld-soname): Likewise.
34092         (abi-o32_hard_2008-ld-soname): Likewise.
34093         (abi-n32_soft-ld-soname): Likewise.
34094         (abi-n32_hard-ld-soname): Likewise.
34095         (abi-n32_soft_2008-ld-soname): Likewise.
34096         (abi-n32_hard_2008-ld-soname): Likewise.
34097         (abi-n64_soft-ld-soname): Likewise.
34098         (abi-n64_hard-ld-soname): Likewise.
34099         (abi-n64_soft_2008-ld-soname): Likewise.
34100         (abi-n64_hard_2008-ld-soname): Likewise.
34101         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34102         Likewise.
34103         (abi-64-v2-ld-soname): Likewise.
34104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34105         ld.so entries.
34106         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34107         variable.
34108         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34109         entry.
34110         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34111         variable.
34112         (abi-64-ld-soname): Likewise.
34113         (abi-x32-ld-soname): Likewise.
34114         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34115         entry.
34116         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34118 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
34120         [BZ #14138]
34121         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34122         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34123         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34124         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34125         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34126         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34127         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34128         syscall entry for GLIBC_2.2 symbol version.
34129         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34130         Likewise.
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34132         (setrlimit): Likewise.
34133         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34134         Likewise.
34136 2014-09-23  Will Newton  <will.newton@linaro.org>
34138         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34139         _LINUX_ARM_SYSDEP_H include guard too.
34140         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34141         define.
34143 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34145         * sysdeps/unix/sysv/linux/eventfd.c:
34146         Make first argument unsigned.
34147         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34148         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34150 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
34152         [BZ #16852]
34153         * socket/recvmmsg.c (recvmmsg): Drop const argument.
34154         * socket/sys/socket.h: Likewise.
34155         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34157 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34159         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34161 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
34163         * time/tst-ftime.c: New test.
34164         * time/Makefile (tests): Add tst-ftime.
34166 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
34168         * soft-fp/extended.h: Fix comment formatting.
34169         * soft-fp/op-1.h: Likewise.
34170         * soft-fp/op-2.h: Likewise.
34171         * soft-fp/op-4.h: Likewise.
34172         * soft-fp/op-8.h: Likewise.
34173         * soft-fp/op-common.h: Likewise.
34174         * soft-fp/soft-fp.h: Likewise.
34176         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34178 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
34180         [BZ #6652]
34181         * Makeconfig (soversions-default-setname): Remove variable.
34182         ($(common-objpfx)soversions.i): Don't pass default_setname to
34183         soversions.awk.
34184         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34185         oldest_abi to abi-versions.awk.
34186         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34187         * config.make.in (oldest-abi): Remove variable.
34188         * configure.ac (--enable-oldest-abi): Remove configure option.
34189         * configure: Regenerated.
34190         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34191         text.
34192         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34193         * scripts/soversions.awk: Do not handle default_setname variable.
34194         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34195         variable.
34196         * sysdeps/mach/hurd/configure: Regenerated.
34197         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34198         variable.
34199         * sysdeps/unix/sysv/linux/configure: Regenerated.
34201 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34203         * elf/Makefile (CFLAGS-interp.c): Remove.
34204         ($(elf-objpfx)runtime-linker.h): Generate header with linker
34205         path string.
34206         * elf/interp.c: Include generated runtime-linker.h
34208         * Makerules (lib%.so): Don't include $(+interp) in
34209         prerequisites.
34210         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34211         * dlfcn/eval.c: Remove file.
34213         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34214         macros.
34216         [BZ #17266]
34217         * misc/sys/cdefs.h: Define __extern_always_inline for clang
34218         4.2 and newer.
34220         [BZ #17370]
34221         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34223 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34224             Jakub Jelinek  <jakub@redhat.com>
34226         [BZ #17266]
34227         * libio/stdio.h: Check definition of __fortify_function
34228         instead of __extern_always_inline to include bits/stdio2.h.
34229         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
34230         check if __extern_always_inline is defined.
34231         [__USE_MISC || __USE_XOPEN]: Likewise.
34232         [__USE_ISOC99] Likewise.
34233         * misc/sys/cdefs.h (__fortify_function): Define only if
34234         __extern_always_inline is defined.
34235         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
34236         __extern_always_inline and __extern_inline only for g++-4.3
34237         and newer or a compatible gcc.
34239 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
34241         [BZ #17371]
34242         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34243         last change to handle zero prefix length.
34245 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34247         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
34248         _SC_REGEX_VERSION.
34250         * posix/getconf.c (vars): Add _POSIX_IPV6 and
34251         _POSIX_RAW_SOCKETS.
34253 2014-09-13  Allan McRae  <allan@archlinux.org>
34255         * po/ru.po: Update Russian translation from translation project.
34257 2014-09-12  Roland McGrath  <roland@hack.frob.com>
34259         * locale/programs/locale.c (show_locale_vars): Inline local function
34260         into its sole call site.  Clean up some style nits.
34261         (print_item): New function, broken out of ...
34262         (show_info): ... local function here.  Clean up style nits.
34264         * locale/programs/ld-ctype.c (set_one_default): New function, broken
34265         out of ...
34266         (set_class_defaults): ... local function set_default here.
34267         Define set_default as a macro locally to pass constant parameters.
34268         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
34269         rather than a shared local.
34271         * stdlib/rpmatch.c (try): New function, broken out of ...
34272         (rpmatch): ... local function here.  Also, prototypify definition.
34274 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
34276         * scripts/soversions.awk: Do not handle configuration names.
34277         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
34278         vendor and os variables to soversions.awk.
34279         * configure.ac: Do not modify gnu-* host_os.
34280         * configure: Regenerated
34281         * shlib-versions: Remove first column with configuration names.
34282         * nptl/shlib-versions: Likewise.
34283         * nptl_db/shlib-versions: Likewise.
34284         * sysdeps/hppa/shlib-versions: Likewise.
34285         * sysdeps/m68k/shlib-versions: Likewise.
34286         * sysdeps/mach/hurd/shlib-versions: Likewise.
34287         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
34288         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
34289         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
34290         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
34291         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
34292         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
34293         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
34294         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
34295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34296         Likewise.
34297         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34298         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34299         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34300         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34301         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34302         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
34303         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34304         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34307         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
34308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34309         Regenerated.
34310         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
34311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34312         Condition symbol version definitions on [HAVE_ELFV2_ABI].
34314         * shlib-versions: Remove OS-specific entries.  Moved to files in
34315         sysdeps.
34316         * sysdeps/mach/hurd/shlib-versions: New file.
34317         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34319         * nptl/shlib-versions: Remove architecture-specific entries.
34320         Moved to files in sysdeps.
34321         * shlib-versions: Likewise.
34322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
34323         file.
34324         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34325         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34326         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34327         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34329         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
34330         (UDP_NO_CHECK6_RX): Likewise.
34332 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34334         * sysdeps/posix/sysconf.c (__sysconf): Spell
34335         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
34337 2014-08-12  Florian Weimer  <fweimer@redhat.com>
34339         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
34340         loading.
34341         * iconv/Versions (__gconv_transliterate): Export for use from
34342         gconv modules.
34343         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
34344         (struct __gconv_trans_data, __gconv_trans_fct,
34345         __gconv_trans_context_fct, __gconv_trans_query_fct,
34346         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
34347         definitions.
34348         (struct __gconv_step_data): Remove __trans member.
34349         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
34350         longer hidden.  Remove unused trans_data argument.
34351         * iconv/gconv_int.h (struct trans_struct): Remove definition.
34352         (__gconv_translit_find): Remove declaration.
34353         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
34354         prototype.
34355         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
34356         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
34357         trans_data argument.  Add hidden definition.
34358         (__gconv_translit_find): Remove.
34359         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
34360         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
34361         * iconv/skeleton.c: Remove transliteration initialization.
34362         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
34363         __gconv_step_data initialization.
34364         * libio/iofwide.c (__libio_translit_): Remove.
34365         (_IO_fwide): Adjust struct __gconv_step_data initialization.
34366         * wcsmbs/btowc.c (__btowc): Likewise.
34367         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34368         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34369         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
34370         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
34371         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
34372         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
34373         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
34374         * wcsmbs/wctob.c (wctob): Likewise.
34376 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34378         [BZ #16194]
34379         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
34380         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
34381         register usage.
34382         * sysdeps/x86/Makefile: Adjust.
34384 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34385             Roland McGrath  <roland@hack.frob.com>
34387         * locale/weight.h: Add include guard.
34388         (findidx): Make static rather than auto; take new parameters
34389         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
34390         * locale/weightwc.h: Likewise.
34391         * posix/fnmatch_loop.c
34392         (FCT): Change type of EXTRA from int32_t to wint_t.
34393         Don't include either header inside the function.
34394         Call FINDIDX rather than findidx, and pass new arguments.
34395         #undef FINDIDX at the end of the file.
34396         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
34397         FINDIDX before including fnmatch_loop.c for the non-wide version.
34398         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
34399         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
34400         for the wide version.
34401         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
34402         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
34403         Pass new arguments to findidx.
34404         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
34405         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
34406         Don't #include it inside the function.  Pass new arguments to findidx.
34407         * posix/regex_internal.h
34408         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
34409         (re_string_elem_size_at): Don't #include it inside the function.
34410         Pass new arguments to findidx.
34411         * string/strcoll_l.c: #include WEIGHT_H at top level.
34412         (get_next_seq): Don't #include it inside the function.
34413         Pass new arguments to findidx.
34414         (get_next_seq_nocache): Likewise.
34415         * string/strxfrm_l.c: #include WEIGHT_H at top level.
34416         (STRXFRM): Don't #include it inside the function.
34417         Pass new arguments to findidx.
34419 2014-09-11  Florian Weimer  <fweimer@redhat.com>
34421         [BZ #17344]
34422         * malloc/malloc.c (unlink): Turn asserts into a call to
34423         malloc_printerr.
34425 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
34427         [BZ #17370]
34428         * libio/wfileops (do_ftell_wide): Free OUT.
34430 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
34432         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
34434 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34436         [BZ #17363]
34437         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
34438         group if the current group is empty.
34440 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34442         * benchtests/bench-memset.c (test_main): Add more test from size
34443         from 32 to 512 bytes.
34444         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34445         Add POWER8 memset object.
34446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34447         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
34448         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
34449         implementation.
34450         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
34451         Likewise.
34452         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
34453         multiarch POWER8 memset optimization.
34454         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
34455         POWER8 memset optimization.
34457         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34458         Remove bzero multiarch objects.
34459         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
34460         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
34461         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
34462         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
34463         Remove define.
34464         [__bzero]: Redefine to specific name.
34465         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
34466         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
34467         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
34468         define.
34469         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34470         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34472 2014-09-10  Florian Weimer  <fweimer@redhat.com>
34474         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
34475         warnings into errors.
34477         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
34478         __cxa_thread_atexit_impl prototype.
34480 2014-09-09  Steve Ellcey  <sellcey@mips.com>
34482         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
34483         Fix capitalization of error message.
34485 2014-09-09  Steve Ellcey  <sellcey@mips.com>
34487         * sysdeps/mips/preconfigure: Modify ABI tests.
34489 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
34491         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
34493 2014-09-07  Roland McGrath  <roland@hack.frob.com>
34494             Carlos O'Donell  <carlos@systemhalted.org>
34496         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
34497         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
34498         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
34499         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
34500         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
34501         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
34502         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
34503         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
34504         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
34505         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
34506         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
34507         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
34508         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
34509         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
34510         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
34511         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
34512         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
34513         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
34514         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
34515         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
34516         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
34517         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
34518         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
34519         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
34520         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
34521         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
34522         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
34523         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
34524         Deconditionalize the code that was previously under [RESET_PID].
34525         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
34526         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
34527         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
34528         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
34529         include sysdep.h.
34531 2014-09-08  Allan McRae  <allan@archlinux.org>
34533         * version.h (RELEASE): Set to "development".
34534         (VERSION): Set to "2.20.90"
34536 2014-09-07  Allan McRae  <allan@archlinux.org
34538         * version.h (RELEASE): Set to "stable".
34539         (VERSION): Set to "2.20"
34540         * include/features.h (__GLIBC_MINOR__): Set to 20.
34542         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
34543         Liebler.
34545         * po/ko.po: Update Korean translation from translation project.
34547 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
34549         [BZ #17354]
34550         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
34551         macro for handling signed relocations.
34553 2014-09-03  Florian Weimer  <fweimer@redhat.com>
34555         [BZ #17325]
34556         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
34557         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
34558         assert.
34559         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
34560         * iconvdata/ibm935.c (BODY): Likewise.
34561         * iconvdata/ibm937.c (BODY): Likewise.
34562         * iconvdata/ibm939.c (BODY): Likewise.
34563         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
34564         assert.
34565         * iconvdata/Makefile (iconv-test.out): Pass module list to test
34566         script.
34567         * iconvdata/run-iconv-test.sh: New test loop for checking for
34568         decoder crashers.
34570 2014-09-02  Khem Raj  <raj.khem@gmail.com>
34572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
34573         libm_hidden_ver.
34575 2014-09-01  Allan McRae  <allan@archlinux.org>
34577         * po/eo.po: Update Esperanto translation from translation project.
34579         * po/ca.po: Update Catalan translation from translation project.
34581 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34583         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
34584         __proc_dostop call.
34586 2014-08-27  Mark Wielaard  <mjw@redhat.com>
34588         [BZ #17319]
34589         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
34590         to call set_thread_area instead of hand written asm.
34591         (__NR_set_thread_area): Removed define.
34592         (TLS_FLAG_WRITABLE): Likewise.
34593         (__ASSUME_SET_THREAD_AREA): Remove check.
34594         (TLS_EBX_ARG): Remove define.
34595         (TLS_LOAD_EBX): Likewise.
34597 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34599         Simplify atomicity of socket creation in bind.
34601         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
34602         looking up the name after linking the file.
34604 2014-08-27  Allan McRae  <allan@archlinux.org>
34606         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34608 2014-08-26  Florian Weimer  <fweimer@redhat.com>
34610         [BZ #17187]
34611         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
34612         trans_compare, open_translit, __gconv_translit_find):
34613         Remove module loading code.
34615 2014-08-26  Allan McRae  <allan@archlinux.org>
34617         * po/vi.po: Update Vietnamese translation from translation project.
34619         * po/uk.po: Update Ukrainian translation from translation project.
34621         * po/fr.po: Update French translation from translation project.
34623         * po/ru.po: Update Russian translation from translation project.
34625         * po/pl.po: Update Polish translation from translation project.
34627         * po/cs.po: Update Czech translation from translation project.
34629         * po/de.po: Update German translation from translation project.
34631         * po/bg.po: Update Bulgarian translation from translation project.
34633         * po/sv.po: Update Sweedish translation from translation project.
34635         * po/nl.po: Update Dutch translation from translation project.
34637         * po/es.po: Update Spanish translation from translation project.
34639 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34641         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
34643         * catgets/Makefile (CPPFLAGS-gencat): Remove.
34644         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
34645         (CPPFLAGS-iconvconfig): Likewise.
34646         * timezone/Makefile (CPPFLAGS-zic): Likewise.
34648         * include/libc-symbols.h: Remove unnecessary check for
34649         NOT_IN_libc.
34650         * nptl/pthreadP.h: Likewise.
34651         * sysdeps/aarch64/setjmp.S: Likewise.
34652         * sysdeps/alpha/setjmp.S: Likewise.
34653         * sysdeps/arm/sysdep.h: Likewise.
34654         * sysdeps/i386/setjmp.S: Likewise.
34655         * sysdeps/m68k/setjmp.c: Likewise.
34656         * sysdeps/posix/getcwd.c: Likewise.
34657         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34658         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34659         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34660         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34661         * sysdeps/sh/sh3/setjmp.S: Likewise.
34662         * sysdeps/sh/sh4/setjmp.S: Likewise.
34663         * sysdeps/unix/alpha/sysdep.h: Likewise.
34664         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34666         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34667         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34670         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34672         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34673         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34674         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34675         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34677         * sysdeps/x86_64/setjmp.S: Likewise.
34679 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
34681         [BZ #17263]
34682         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
34683         <stdint.h>.
34684         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
34685         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
34687 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34689         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
34691         [BZ #17262]
34692         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
34693         and __x86_64__ when disabling x87 inline functions.
34695 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34697         [BZ #17259]
34698         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
34699         asm statement with __cpuid_count.
34701 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
34703         * configure.ac: Change __ehdr_start code to dereference the struct.
34704         Run readelf on the output to look for relocations.
34705         * configure: Regenerated.
34707 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
34709         [BZ #17261]
34710         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
34711         value to 0.
34712         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
34714 2014-08-12  Roland McGrath  <roland@hack.frob.com>
34716         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
34718 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
34720         [BZ #16892]
34721         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
34722         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
34724 2014-08-12  Sean Anderson  <seanga2@gmail.com>
34726         * malloc/malloc.c: Fix typo in comment.
34728 2014-08-09  Allan McRae  <allan@archlinux.org>
34730         * Regenerate libc.po.
34732 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
34734         * intl/tst-gettext2.sh: Check every lang file for creation.
34736 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
34738         * sysdeps/aarch64/fpu/math_private.h
34739         (libc_feholdsetround_noex_aarch64_ctx): New function.
34741 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
34743         * sysdeps/arm/armv6/strcpy.S (strcpy):
34744         Fix performance issue in misaligned cases.
34746 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34748         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
34749         Move definition from termios.h.
34750         (struct termio): Likewise.
34751         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34752         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34753         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34754         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34755         Likewise.
34756         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
34757         Move definition to ioctl-types.h
34758         (struct termio): Likewise.
34759         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34760         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34761         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34762         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34763         Likewise.
34765 2014-08-05  Richard Henderson  <rth@redhat.com>
34767         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
34768         exceptions.
34769         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
34770         Add fraiseexcpt.
34771         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
34772         Use __feraiseexcept.
34773         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
34774         Protect libm symbols with IS_IN_libm.
34776         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
34778 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
34780         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
34782 2014-08-04  Will Newton  <will.newton@linaro.org>
34784         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
34785         file.
34787 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
34789         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
34790         variants for each function.
34792 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34794         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
34795         appended ...
34796         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
34797         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
34798         appended ...
34799         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
34800         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
34801         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
34802         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
34803         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
34804         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
34805         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
34806         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
34807         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
34808         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
34809         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
34810         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
34811         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
34812         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
34813         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
34814         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
34815         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
34816         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
34817         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
34818         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
34819         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
34820         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
34821         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
34822         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
34823         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
34824         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
34825         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
34826         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
34827         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
34828         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
34829         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
34830         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
34831         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
34832         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
34833         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
34834         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
34835         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
34836         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
34837         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
34838         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
34839         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
34840         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
34841         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
34842         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
34843         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
34844         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
34845         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
34846         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
34847         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
34848         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
34849         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
34850         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
34851         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
34852         Update #include.
34853         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
34854         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
34856 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34858         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
34859         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
34860         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
34861         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
34862         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
34863         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
34865 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34867         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
34868         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
34869         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34870         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
34872 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34874         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
34875         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
34876         (__libc_vfork): Define function under this name.
34877         (__vfork): Define as an alias.
34878         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
34879         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
34881 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34883         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
34884         that was previously under [RESET_PID].
34885         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
34887 2014-08-04  Andreas Schwab  <schwab@suse.de>
34889         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
34891 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
34893         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
34894         (main): Likewise.
34896 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34898         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
34900 2014-08-01  Richard Henderon  <rth@redhat.com>
34902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
34903         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
34904         typo in exact zero test.
34905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34906         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34909 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34911         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
34912         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
34913         * sysdeps/arm/sysdep.h: ... here.
34914         [!__ASSEMBLER__]: Include <stdint.h>.
34916 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34918         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
34919         (HAVE_WCTYPE_H): Likewise.
34920         (HAVE_ISWCTYPE): Likewise.
34921         (ENABLE_NLS): Likewise.
34922         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
34923         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
34925         * posix/regex_internal.c: Check if DEBUG is defined and is
34926         set.
34928         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
34929         (HAVE_MBSRTOWCS): Likewise.
34930         * posix/fnmatch.c: Include string.h unconditionally.
34932 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34934         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
34935         reversal.
34937 2014-07-31  Roland McGrath  <roland@hack.frob.com>
34939         * sysdeps/generic/safe-fatal.h: New file.
34940         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
34941         * nptl/forward.c: Include it.
34942         (__pthread_unwind): Use __safe_fatal as default action, rather
34943         than a bogus use of INTERNAL_SYSCALL that could never work.
34945         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34946         * configure.ac (libc_cv_builtin_trap): New test.
34947         * configure: Regenerated.
34948         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34949         (ABORT_INSTRUCTION): Define using __builtin_trap.
34951         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34952         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34953         * sysdeps/nptl/nptl-signals.h: New file.
34954         * nptl/pthreadP.h: Include <nptl-signals.h>.
34956 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34958         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34959         (ONE_DIRECTION): Define.
34960         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34961         (ONE_DIRECTION): Define.
34962         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34963         (ONE_DIRECTION): Define.
34965 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34967         * sysdeps/s390/Makefile: Delete file.
34968         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34969         * sysdeps/s390/__longjmp.c: Delete file.
34970         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34971         Remove fields __flags and __reserved.
34972         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34973         and add versioning.
34974         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34975         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34976         * sysdeps/s390/rtld-setjmp.S: Likewise.
34977         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34978         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34979         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34980         * sysdeps/s390/s390-32/setjmp.S: ... here.
34981         Add versioning.
34982         (__sigsetjmp): Remove setting __flags field.
34983         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34984         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34985         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34986         * sysdeps/s390/s390-64/setjmp.S: ... here.
34987         Add versioning.
34988         (__sigsetjmp): Remove setting __flags field.
34989         * sysdeps/s390/setjmp.S: Delete file.
34990         * sysdeps/s390/sigjmp.c: Likewise.
34991         * sysdeps/s390/v1-longjmp.c: Likewise.
34992         * sysdeps/s390/v1-setjmp.h: Likewise.
34993         * sysdeps/s390/v1-sigjmp.c: Likewise.
34994         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34995         Remove v1-longjmp_chk.
34996         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34997         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34998         Include debug/longjmp_chk.c and add versioning.
34999         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35000         Include nptl/pt-longjmp.c and add versioning.
35001         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35002         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35003         Include __longjmp.c.
35004         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35005         Move to ...
35006         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35007         (__getcontext): Remove setting __flags field.
35008         Add versioning.
35009         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35010         Don't restore upper high grps.
35011         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35012         Likewise.
35013         (__swapcontext): Remove setting uc_flags field.
35014         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35015         Delete file.
35016         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35017         Include __longjmp.c.
35018         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35019         Move to ...
35020         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35021         (__getcontext): Remove setting __flags field.
35022         Add versioning.
35023         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35024         (__swapcontext): Remove setting uc_flags field.
35025         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35026         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35027         Remove fields uc_high_gprs and __reserved.
35028         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35029         New file with reverted content.
35030         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35031         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35032         Regenerated.
35033         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35034         Regenerated.
35036 2014-07-31  Andreas Schwab  <schwab@suse.de>
35038         * config.h.in (HAVE_IFUNC): Define to 0.
35039         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35040         definedness.
35042 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
35044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35045         memmove-avx-unaligned, memcpy-avx-unaligned and
35046         mempcpy-avx-unaligned.
35047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35048         Add tests for AVX memcpy functions.
35049         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35050         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35051         memcpy_chk.
35052         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35053         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35054         memmove_chk.
35055         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35056         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35057         mempcpy_chk.
35058         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35059         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35060         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35062 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35064         [BZ #17213]
35065         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35066         powerpc64le.
35068 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
35070         [BZ #16839]
35071         * manual/llio.texi: Add section about open file description locks.
35072         * manual/examples/ofdlocks.c: Example of open file description
35073         lock usage.
35074         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35075         F_OFD_SETLK, and F_OFD_SETLKW.
35077 2014-07-23  Allan McRae  <allan@archlinux.org>
35079         * po/es.po: Update Spanish translation from translation project.
35081 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
35083         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35085 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
35087         [BZ #17078]
35088         * sysdeps/arm/dl-machine.h (elf_machine_rela)
35089         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35090         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35092 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
35094         [BZ #17088]
35095         * math/fesetenv.c (__fesetenv)
35096         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35097         * math/feupdateenv.c (__feupdateenv)
35098         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35100         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35101         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35102         (__ASSUME_SOCKETCALL): Do not define.
35104         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35105         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35106         (__ASSUME_SOCKETCALL): Do not define.
35107         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35108         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35109         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35110         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35111         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35112         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35113         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35114         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35116         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35117         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35118         (__ASSUME_SOCKETCALL): Do not define.
35119         (__ASSUME_IPC64): Define unconditionally.
35120         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35121         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35122         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35123         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35124         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35125         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35126         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35127         Likewise.
35129         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35130         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35131         (__ASSUME_SOCKETCALL): Do not define.
35132         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35133         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35134         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35135         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35136         (__ASSUME_REQUEUE_PI): Define unconditionally.
35137         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35138         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35139         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35140         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35141         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35142         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35144         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35145         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35146         (__ASSUME_SOCKETCALL): Do not define.
35147         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35148         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35149         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35150         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35152         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35154         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35155         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35156         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35157         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35158         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35159         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35160         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35161         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35162         (__ASSUME_GETCPU_SYSCALL): Likewise.
35164         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35165         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
35166         cases for individual architectures.
35167         * sysdeps/gnu/configure: Regenerated.
35168         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35169         LIBC_SLIBDIR_RTLDDIR.
35170         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35171         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35172         LIBC_SLIBDIR_RTLDDIR.
35173         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35175         LIBC_SLIBDIR_RTLDDIR.
35176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35177         Regenerated.
35178         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35179         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35180         file.
35181         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35182         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35183         file.
35184         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35185         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35186         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35187         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35189         * sysdeps/aarch64/shlib-versions: Move to ...
35190         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35191         * sysdeps/alpha/shlib-versions: Move to ...
35192         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35193         * sysdeps/arm/shlib-versions: Move to ...
35194         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35195         * sysdeps/hppa/shlib-versions: Move all contents except for
35196         libgcc_s entry to ...
35197         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
35198         entry from ...
35199         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
35200         * sysdeps/ia64/shlib-versions: Move to ...
35201         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
35202         entry from ...
35203         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
35204         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35205         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35206         * sysdeps/microblaze/shlib-versions: Move to ...
35207         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35208         * sysdeps/mips/shlib-versions: Move to ...
35209         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
35210         entry from ...
35211         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
35212         * sysdeps/tile/shlib-versions: Move to ...
35213         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35214         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35215         from ...
35216         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
35217         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35218         entry from ...
35219         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
35221 2014-07-17  Will Newton  <will.newton@linaro.org>
35223         * sysdeps/arm/bits/atomic.h
35224         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
35225         (__arch_compare_and_exchange_bool_16_int): Likewise.
35226         (__arch_compare_and_exchange_bool_64_int): Likewise.
35228         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
35229         into an #else block.
35231 2014-07-16  Roland McGrath  <roland@hack.frob.com>
35233         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
35234         just Linux configurations.  Test empirically that the compiler sets
35235         __ARM_EABI__, rather than using the tuple to decide.
35236         * sysdeps/arm/preconfigure: Regenerated.
35237         * sysdeps/unix/sysv/linux/arm/configure: File removed.
35238         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
35239         contents appended ...
35240         * sysdeps/arm/configure.ac: ... here.
35241         * sysdeps/arm/configure: Regenerated.
35243 2014-07-15  Roland McGrath  <roland@hack.frob.com>
35245         * nptl/pthread_kill.c: New file.
35246         * nptl/pthread_sigmask.c: New file.
35247         * nptl/pthread_sigqueue.c: New file.
35249         * sysdeps/nptl/lowlevellock.h: New file.
35250         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
35251         * sysdeps/nptl/lowlevellock-futex.h: New file.
35253         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
35254         Remove dead declarations.
35256 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
35258         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
35259         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
35260         config-cflags-avx2.
35261         * sysdeps/x86_64/configure.ac: Likewise.
35262         * sysdeps/i386/configure: Regenerated.
35263         * sysdeps/x86_64/configure: Likewise.
35264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35265         memset-avx2 only if config-cflags-avx2 is yes.
35266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35267         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
35268         defined.
35269         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
35270         only if HAVE_AVX2_SUPPORT is defined.
35271         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35273 2014-07-14  Alan Modra  <amodra@gmail.com>
35275         [BZ #17153]
35276         * elf/elf.h (DT_PPC64_NUM): Correct value.
35277         * NEWS: Add to fixed bug list.
35279 2014-07-13  Jim Meyering  <meyering@fb.com>
35281         [BZ 17150]
35282         regex: don't deref NULL upon heap allocation failure
35283         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
35284         failure in one more place.
35285         To trigger the segfault, configure grep -with-included-regex,
35286         build it, and run these commands:
35287         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
35289 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
35291         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35293 2014-07-11  Richard Henderson  <rth@redhat.com>
35295         * sysdeps/aarch64/libm-test-ulps: Update.
35297 2014-07-10  Florian Weimer  <fweimer@redhat.com>
35299         [BZ #17135]
35300         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
35301         * nptl/allocatestack.c (__nptl_setxid_error): New function.
35302         (__nptl_setxid): Initialize error member.  Call
35303         __nptl_setxid_error.
35304         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
35305         * nptl/descr.h (struct xid_command): Add error member.
35306         * nptl/tst-setuid3.c: New file.
35307         * nptl/Makefile (tests): Add it.
35309 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35311         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
35312         New define.
35313         (__lll_trylock): Use __lll_base_trylock.
35314         (__lll_cond_trylock): Likewise.
35316 2014-07-10  Roland McGrath  <roland@hack.frob.com>
35318         * nptl/pthread_create.c (start_thread): Use atomic_or and
35319         lll_futex_wake directly rather than lll_robust_dead.
35320         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
35321         (lll_robust_dead): Macro removed.
35322         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
35323         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
35324         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
35325         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35326         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35327         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
35328         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
35329         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35330         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35331         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35332         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35333         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35334         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35335         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35338         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
35339         Use atomic_compare_and_exchange_val_acq directly rather than
35340         lll_robust_trylock.
35341         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
35342         (__lll_robust_trylock, lll_robust_trylock): Removed.
35343         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
35344         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
35345         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35346         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35347         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
35348         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
35349         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35350         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35351         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35352         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35353         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35354         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35355         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35356         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35358 2014-07-02  Florian Weimer  <fweimer@redhat.com>
35360         * manual/locale.texi (Locale Names): New section documenting
35361         locale name syntax.  Adjust menu and node chaining accordingly.
35362         (Choosing Locale): Reference Locale Names, Locale Categories.
35363         Mention setting LC_ALL=C.  Reflect that name syntax is now
35364         documented.
35365         (Locale Categories): New section title.  Reference Locale Names.
35366         LC_ALL is an environment variable, but not a category.
35367         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
35368         description, now in Locale Name.  Reference that section.  Locale
35369         name syntax is now documented.
35371 2014-07-02  Florian Weimer  <fweimer@redhat.com>
35373         [BZ #17137]
35374         * locale/findlocale.c (name_present, valid_locale_name): New
35375         functions.
35376         (_nl_find_locale): Use the loc_name variable to store name
35377         candidates.  Call name_present and valid_locale_name to check and
35378         validate locale names.  Return an error if the locale is invalid.
35380 2014-07-02  Florian Weimer  <fweimer@redhat.com>
35382         * locale/setlocale.c (setlocale): Use strdup for allocating
35383         composite name copy.
35385 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35387         Sync up with gnulib.
35388         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
35389         [!_LIBC && ENABLE_NLS]: Include gettext.h.
35390         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
35391         and _GL_ARG_NONNULL.
35392         [USE_UNLOCKED_IO]: Include unlocked-io.h.
35393         [!_LIBC]: Include code for Windows and Cygwin.
35394         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
35395         Include prototype for int strerror_r.
35396         [!_LIBC] (is_open): New function.
35397         (flush_stdout): New function.
35398         (print_errno_message): Use it.
35399         (error): Likewise.
35400         (error_at_line): Likewise.
35401         (error_tail) Add function attribute macros.  Use
35402         __builtin_expect.
35404         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
35406         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
35408         * io/ftw.c: Include sys/param.h unconditionally.
35410         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
35412         [BZ #17125]
35413         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
35414         libc_freeres_ptr.
35415         (freecache): New function to free CACHE on exit.
35417         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
35418         initialization.
35420 2014-07-09  David S. Miller  <davem@davemloft.net>
35422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35424         * sysdeps/sparc/nptl/internaltypes.h: Delete.
35425         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
35426         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
35427         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
35428         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
35429         * sysdeps/sparc/nptl/sem_init.c: Likewise.
35430         * sysdeps/sparc/nptl/sem_post.c: Likewise.
35431         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
35432         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
35433         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
35434         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
35435         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
35436         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
35438 2014-07-09  Andreas Schwab  <schwab@suse.de>
35440         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
35441         output.
35442         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
35443         (do_test): Likewise.
35445         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35447 2014-07-09  Will Newton  <will.newton@linaro.org>
35449         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
35450         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
35451         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35452         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35453         * sysdeps/hppa/start.S (_start): Likewise.
35455 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35457         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
35459         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
35460         defined.
35462 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35464         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
35465         after checking that it is non-NULL.
35467         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
35469 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35471         * sysdeps/powerpc/memmove.c: Remove file.
35472         * sysdeps/powerpc/powerpc32/power4/memcopy.h
35473         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
35474         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35475         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
35476         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
35477         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
35478         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
35479         string memmove instead of removed powerpc one.
35481         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35482         [weak_alias]: Fix compiler warning due trailing data.
35483         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
35484         [weak_alias]: Likewise.
35485         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
35486         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
35488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35489         (__libc_ifunc_impl_list): Add memmove functions.
35491 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35493         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
35494         Remove code.
35495         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
35496         Likewise.
35497         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
35498         Likewise.
35499         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
35500         Likewise.
35501         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
35502         Likewise.
35503         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
35504         Likewise.
35505         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
35506         Likewise.
35507         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
35508         Likewise.
35509         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
35510         Likewise.
35511         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
35512         Likewise.
35513         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
35514         Likewise.
35515         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
35516         Likewise.
35517         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
35518         Likewise.
35519         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
35520         Likewise.
35521         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
35522         Likewise.
35523         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
35524         Likewise.
35525         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
35526         Likewise.
35528 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35530         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
35531         to avoid alignment traps in non-cacheable memory.
35532         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
35535         multiarch objects.
35536         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
35537         file: multiarch power7 memmove.
35538         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
35539         multiarch default memmove.
35540         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
35541         multiarch memove for powerpc32/power4.
35543         * string/bcopy.c: Use full path to include memmove.c.
35544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
35545         multiarch objects.
35546         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
35547         bcopy for powerpc64.
35548         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
35549         bcopy for powerpc64.
35550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
35551         and memmove implementations.
35552         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
35553         optimized multiarch memmove for POWER7/powerpc64.
35554         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
35555         default multiarch memmove for powerpc64.
35556         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
35557         multiarch for powerpc64.
35558         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
35559         for POWER7/powerpc64.
35560         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
35561         memmove for POWER7/powerpc64.
35563         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
35564         glibc default one.
35566         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
35567         __ELF_NATIVE_CLASS equal to 64.
35569 2014-07-07  Roland McGrath  <roland@hack.frob.com>
35571         * sysdeps/nptl/lowlevellock.h: File removed.
35573         * NEWS: NPTL is no longer an add-on!
35574         * nptl/internaltypes.h: Moved ...
35575         * sysdeps/nptl/internaltypes.h: ... here.
35576         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
35577         * sysdeps/nptl/fork.c: Likewise.
35578         * sysdeps/nptl/gai_misc.h: Likewise.
35579         * sysdeps/nptl/librt-cancellation.c: Likewise.
35580         * sysdeps/nptl/jmp-unwind.c: Likewise.
35581         * sysdeps/nptl/setxid.h: Likewise.
35582         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
35583         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
35584         * sysdeps/unix/sysv/linux/arm/Implies: New file.
35585         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
35586         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
35587         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
35588         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
35589         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
35590         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
35591         * sysdeps/unix/sysv/linux/mips/Implies: New file.
35592         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
35593         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
35594         * sysdeps/unix/sysv/linux/sh/Implies: New file.
35595         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
35596         * sysdeps/unix/sysv/linux/tile/Implies: New file.
35597         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
35598         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
35599         * nptl/Makeconfig: Moved ...
35600         * sysdeps/nptl/Makeconfig: ... here.
35601         * nptl/configure: File removed.
35602         * nptl/ANNOUNCE: File removed.
35603         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
35604         * sysdeps/unix/sysv/linux/configure: Regenerated.
35606         * nptl/Makefile (routines): Add libc_pthread_init,
35607         libc_multiple_threads, register-atfork and unregister-atfork.
35608         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
35609         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
35610         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
35611         pthread-pi-defines.sym, structsem.sym.
35612         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
35613         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
35614         [$(subdir) = nptl] (tests): Add tst-setgetname.
35615         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
35616         * sysdeps/unix/sysv/linux/sigaction.c: Just include
35617         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
35618         [!LIBC_SIGACTION]: Remove aliases.
35619         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35620         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35621         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35622         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
35623         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35624         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
35625         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35626         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35627         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35628         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
35629         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
35630         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
35631         __libc_allocate_rtsig_private.
35632         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
35633         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
35634         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
35635         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
35636         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
35637         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
35638         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
35639         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
35640         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
35641         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
35642         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
35643         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
35644         * nptl/internaltypes.h: ... here.
35645         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
35646         * sysdeps/nptl/jmp-unwind.c: ... here.
35647         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
35648         * nptl/libc-lowlevellock.c: ... here.
35649         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
35650         * nptl/libc_multiple_threads.c: ... here.
35651         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
35652         * nptl/libc_pthread_init.c: ... here.
35653         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
35654         * nptl/lowlevelbarrier.sym: ... here.
35655         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
35656         * nptl/lowlevelcond.sym: ... here.
35657         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
35658         * nptl/lowlevellock.c: ... here.
35659         * nptl/lowlevellock.h: Moved ...
35660         * sysdeps/nptl/lowlevellock.h: ... here.
35661         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
35662         * nptl/lowlevelrobustlock.c: ... here.
35663         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
35664         * nptl/lowlevelrobustlock.sym: ... here.
35665         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
35666         * nptl/lowlevelrwlock.sym: ... here.
35667         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
35668         * nptl/pt-fork.c: ... here.
35669         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
35670         * nptl/pthread-pi-defines.sym: ... here.
35671         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
35672         * nptl/pthread_attr_getaffinity.c: ... here.
35673         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
35674         * nptl/pthread_attr_setaffinity.c: ... here.
35675         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
35676         * nptl/pthread_mutex_cond_lock.c: ... here.
35677         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35678         Update #include.
35679         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
35680         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
35681         * nptl/pthread_once.c: ... here, replacing old file.
35682         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
35683         * nptl/pthread_yield.c: ... here.
35684         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
35685         * nptl/register-atfork.c: ... here.
35686         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
35687         * nptl/sem_post.c: ... here.
35688         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
35689         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
35690         * nptl/sem_timedwait.c: ... here.
35691         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
35692         * nptl/sem_trywait.c: ... here.
35693         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
35694         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
35695         * nptl/sem_wait.c: ... here.
35696         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
35697         * nptl/structsem.sym: ... here.
35698         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
35699         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
35700         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
35701         * nptl/unregister-atfork.c: ... here.
35702         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
35703         * nptl/unwindbuf.sym: ... here.
35704         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
35705         * sysdeps/nptl/fork.c: ... here.
35706         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
35707         * sysdeps/nptl/fork.h: ... here.
35708         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
35709         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
35710         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
35711         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
35712         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
35713         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
35714         * sysdeps/unix/sysv/linux/getpid.c: ... here.
35715         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
35716         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
35717         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
35718         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
35719         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
35720         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
35721         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
35722         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
35723         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
35724         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
35725         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
35726         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
35727         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
35728         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
35729         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
35730         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
35731         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
35732         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
35733         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
35734         * sysdeps/unix/sysv/linux/raise.c: ... here.
35735         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
35736         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
35737         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
35738         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
35739         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
35740         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
35741         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
35742         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
35743         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
35744         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
35745         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
35746         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
35747         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
35748         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
35749         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
35751 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35753         * sysdeps/generic/memcopy.h: Add comment for
35754         MEMCPY_OK_FOR_FWD_MEMMOVE.
35756 2014-07-04  Will Newton  <will.newton@linaro.org>
35758         * string/memchr.c: Merge from gnulib.
35759         [_LIBC]: Remove conditionals.
35760         (__ptr_t): Remove define.
35761         (LONG_MAX_32_BITS): Likewise.
35762         (LONG_MAX): Likewise.
35763         (MEMCHR): Use ANSI prototype and optimize algorithm.
35765         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
35767 2014-07-03  Roland McGrath  <roland@hack.frob.com>
35769         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
35770         (lll_futex_timed_wait_bitset): Fix syscall argument count.
35772         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
35773         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
35774         in a bare environment with no <stdlib.h> installed.
35775         * sysdeps/nptl/configure: Regenerated.
35777         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
35779         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
35780         AC_EGREP_CPP for kernel header checks, so they only succeed if
35781         including <linux/version.h> actually works right.
35782         * sysdeps/unix/sysv/linux/configure: Regenerated.
35784         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
35785         value so it's not diagnosed as unused.
35787         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
35788         thing) with "ifeq ($(subdir),rt)".
35790 2014-07-03  Richard Henderson  <rth@redhat.com>
35792         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
35793         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
35794         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
35796         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
35797         (math_force_eval): New.
35799         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
35800         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
35802         * sysdeps/alpha/fpu/s_round.c: Remove file.
35803         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
35805         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
35806         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
35807         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
35808         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
35809         (_dl_start, print_statistics): Likewise.
35810         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
35811         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
35813         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35814         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35815         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35816         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35817         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35818         (HP_SMALL_TIMING_AVAIL): Define.
35819         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35820         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35821         (HP_SMALL_TIMING_AVAIL): Define.
35822         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35823         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35825         * sysdeps/aarch64/hp-timing.h: New file.
35827         * sysdeps/generic/hp-timing.h: Remove dead comment.
35828         * sysdeps/generic/hp-timing-common.h: New file.
35829         * sysdeps/alpha/hp-timing.h: Include it.
35830         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
35831         * sysdeps/i386/i686/hp-timing.h: Likewise.
35832         * sysdeps/ia64/hp-timing.h: Likewise.
35833         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35834         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35835         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35836         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35837         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
35838         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
35839         (hp_timing_t): New.
35841         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
35842         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
35843         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
35844         * elf/rtld.c (_dl_start_final): Likewise.
35845         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
35846         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35847         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35848         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35849         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35850         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35851         (HP_TIMING_DIFF_INIT): Remove.
35852         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35853         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35854         (HP_TIMING_DIFF_INIT): Remove.
35855         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35856         * sysdeps/i386/i686/hp-timing.c: Remove file.
35857         * sysdeps/x86_64/hp-timing.c: Remove file.
35858         * sysdeps/ia64/hp-timing.c: Remove file.
35859         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
35860         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
35861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
35862         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
35864         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
35865         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
35866         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
35867         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35869         (HP_TIMING_ACCUM): Remove.
35870         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35871         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
35872         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35874         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
35875         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
35876         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
35877         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
35878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
35879         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35880         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
35881         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35883         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
35885 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
35887         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
35889 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35891         Sync up with gettext.
35892         * intl/loadmsgcat.c: Define O_BINARY if not defined.
35893         [_MSC_VER]: Include malloc.h
35894         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
35895         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
35896         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
35897         TEMP_FAILURE_RETRY.  Cast return of alloca.
35898         [!_LIBC] Call gl_rwlock_init.
35899         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
35901 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35903         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
35904         before checking its value.
35906 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35908         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
35910         * debug/memcpy_chk.c: Don't include pagecopy.h.
35911         * debug/mempcpy_chk.c: Likewise.
35912         * string/memcpy.c: Likewise.
35913         * string/memmove.c: Likewise.
35914         * sysdeps/powerpc/memmove.c: Likewise.
35915         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
35916         definition of PAGE_COPY_FWD_MAYBE here...
35917         * sysdeps/generic/pagecopy.h: ... from here.
35918         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
35920 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35921             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35923         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
35924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
35925         optimizations.
35926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35927         (__libc_ifunc_impl_list): Likewise.
35928         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
35929         multiarch strcat for PPC64.
35930         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
35931         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
35933 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35935         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
35937 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35939         * intl/loadmsgcat.c: Remove declaration of
35940         get_sysdep_segment_value.
35941         (get_sysdep_segment_value): Use ISO C style.
35942         (_nl_load_domain): Use ISO C style.  Get rid of redundant
35943         semicolon.  Fix typo and formatting in comment.
35944         (_nl_unload_domain): Use ISO C style.
35946         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35948 2014-07-02  Will Newton  <will.newton@linaro.org>
35950         * malloc/obstack.c: Merge from gnulib master.
35951         [HAVE_CONFIG_H]: Remove conditional code.
35952         [!_LIBC]: Include config.h.
35953         [!ELIDE_CODE]: Don't include inttypes.h, include
35954         stdint.h unconditionally.
35955         (print_and_abort): Mark as _Noreturn.
35956         (_obstack_allocated_p): Mark as __attribute_pure__.
35957         (obstack_free): Rename to __obstack_free.
35958         [!__attribute__]: Remove conditional code.
35959         * malloc/obstack.h: Merge from gnulib master.
35960         [__cplusplus]: Move conditional down.
35961         [!__attribute_pure__]: Define __attribute_pure__ here
35962         if it is not already defined.
35963         (_obstack_memory_used): Mark as __attribute_pure__.
35964         [!__obstack_free]: Define as obstack_free.
35965         [__GNUC__]: Remove check for ancient NeXT gcc.
35967 2014-07-02  Will Newton  <will.newton@linaro.org>
35968             Paul Eggert  <eggert@cs.ucla.edu>
35970         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35972 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35974         * resolv/gethnamaddr.c: Add comment warning that the file is
35975         not maintained.
35977 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35979         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35980         entries.
35982         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35983         entry for aio_cancel and aio_cancel64.
35984         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35985         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35986         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35987         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35988         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35989         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35990         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35991         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35992         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35993         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35994         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35995         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35996         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35998 2014-07-01  Roland McGrath  <roland@hack.frob.com>
36000         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36001         * nptl/pthread_mutex_lock.c: Likewise.
36002         * nptl/pthread_mutex_timedlock.c: Likewise.
36003         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36005 2014-07-01  Richard henderson  <rth@redhat.com>
36007         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36008         (__isnan, __isnanl): Remove.
36009         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36011         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36013 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36015         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36017 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36019         * resolv/nss_dns/dns-host.c (getanswer_r)
36020         [MULTI_PTRS_ARE_ALIASES]: Remove code.
36022 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
36024         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36025         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36026         undefine.
36027         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36028         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36030 2014-07-01  Roland McGrath <roland@hack.frob.com>
36032         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36033         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36035         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36036         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36038         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36039         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36040         ... here.
36041         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36042         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36044         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36045         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36046         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36047         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36049         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36050         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36051         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36052         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36053         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36054         Moved ...
36055         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36056         ... here.
36057         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36058         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36059         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36060         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36061         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36062         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36063         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36064         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36065         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36066         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36067         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36068         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36069         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36070         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36071         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36072         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36073         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36074         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36075         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36076         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36077         ... here.
36078         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36079         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36080         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36081         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36082         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36083         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36084         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36085         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36087 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
36089         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36090         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36091         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36092         Add sysdep.
36094 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36098 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36100         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36101         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36103         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36105         * sysdeps/arm/libm-test-ulps: Regenerated.
36107 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36108             Roland McGrath <roland@hack.frob.com>
36110         * test-skeleton.c (signal_handler): Kill the whole process group
36111         before killing the child individually.
36112         (main): Report any failure on `setpgid'.
36114 2014-06-30  Roland McGrath  <roland@hack.frob.com>
36116         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36117         from _TLS_H to _ARM_NPTL_TLS_H.
36118         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36119         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36121 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36123         [BZ #16539]
36124         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36125         (__expm1l): Return argument unchanged when small but not
36126         subnormal.
36128         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36129         include macro name.
36130         (_FP_UNPACK_RAW_1_P): Likewise.
36131         (_FP_PACK_RAW_1): Likewise.
36132         (_FP_PACK_RAW_1_P): Likewise.
36133         (_FP_MUL_MEAT_1_wide): Likewise.
36134         (_FP_MUL_MEAT_DW_1_hard): Likewise.
36135         (_FP_MUL_MEAT_1_hard): Likewise.
36136         (_FP_DIV_MEAT_1_imm): Likewise.
36137         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36138         (_FP_DIV_MEAT_1_udiv): Likewise.
36139         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36140         (_FP_UNPACK_RAW_2): Likewise.
36141         (_FP_UNPACK_RAW_2_P): Likewise.
36142         (_FP_PACK_RAW_2): Likewise.
36143         (_FP_PACK_RAW_2_P): Likewise.
36144         (_FP_MUL_MEAT_DW_2_wide): Likewise.
36145         (_FP_MUL_MEAT_2_wide): Likewise.
36146         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36147         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36148         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36149         (_FP_MUL_MEAT_2_gmp): Likewise.
36150         (_FP_DIV_MEAT_2_udiv): Likewise.
36151         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36152         (_FP_FRAC_SRL_4): Likewise.
36153         (_FP_FRAC_SRST_4): Likewise.
36154         (_FP_FRAC_SRS_4): Likewise.
36155         (_FP_UNPACK_RAW_4): Likewise.
36156         (_FP_UNPACK_RAW_4_P): Likewise.
36157         (_FP_PACK_RAW_4): Likewise.
36158         (_FP_PACK_RAW_4_P): Likewise.
36159         (_FP_MUL_MEAT_DW_4_wide): Likewise.
36160         (_FP_MUL_MEAT_4_wide): Likewise.
36161         (_FP_MUL_MEAT_4_gmp): Likewise.
36162         (umul_ppppmnnn): Likewise.
36163         (_FP_DIV_MEAT_4_udiv): Likewise.
36164         (__FP_FRAC_ADD_4): Likewise.
36165         (__FP_FRAC_SUB_3): Likewise.
36166         (__FP_FRAC_SUB_4): Likewise.
36167         (__FP_FRAC_DEC_3): Likewise.
36168         (__FP_FRAC_DEC_4): Likewise.
36169         (__FP_FRAC_ADDI_4): Likewise.
36170         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36171         (_FP_FRAC_SRL_8): Likewise.
36172         (_FP_FRAC_SRS_8): Likewise.
36174         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36175         include macro name.
36176         (FP_UNPACK_RAW_EP): Likewise.
36177         (FP_PACK_RAW_E): Likewise.
36178         (FP_PACK_RAW_EP): Likewise.
36179         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36180         (_FP_ISSIGNAN): Likewise.
36181         (_FP_ADD_INTERNAL): Likewise.
36182         (_FP_FMA): Likewise.
36183         (_FP_CMP): Likewise.
36184         (_FP_SQRT): Likewise.
36185         (_FP_TO_INT): Likewise.
36186         (_FP_FROM_INT): Likewise.
36187         (FP_EXTEND): Likewise.
36188         (_FP_DIV_MEAT_N_loop): Likewise.
36190 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36192         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36193         throughout.
36195 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
36197         [BZ #17097]
36198         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36199         result with correct sign in case of exponents that produce
36200         overflow except for X very close to 1.
36202 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
36204         mktime: merge #if/#ifdef usage from glibc
36205         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36206         as that works with both Glibc's and Gnulib's style.
36207         See thread starting at Siddhesh Poyarekar's bug report at:
36208         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36210 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36212         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36213         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36214         * sysdeps/tile/tilegx/memmove.c: Remove file.
36216 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
36218         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36219         abi-name definition.
36220         * scripts/soversions.awk: Do not handle or generate ABI lines.
36221         * shlib-versions: Remove ABI entries.
36222         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36223         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
36225 2014-06-27  Roland McGrath  <roland@hack.frob.com>
36227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
36228         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
36229         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
36230         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
36231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
36232         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
36233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
36234         Moved ...
36235         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
36236         ... here.
36237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
36238         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
36239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
36240         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
36241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
36242         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
36243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
36244         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
36245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
36246         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
36247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
36248         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
36249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
36250         Moved ...
36251         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
36252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
36253         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
36254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
36255         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
36256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
36257         Moved ...
36258         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
36259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
36260         Moved ...
36261         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
36262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
36263         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
36264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
36265         Moved ...
36266         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
36267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
36268         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
36269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
36270         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
36271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
36272         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
36273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
36274         Moved ...
36275         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
36276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
36277         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
36278         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
36279         Moved ...
36280         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
36281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
36282         Moved ...
36283         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
36284         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
36285         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
36286         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
36287         Moved ...
36288         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
36289         ... here.
36290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
36291         Identical file removed.
36292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
36293         Moved ...
36294         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
36295         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
36296         Identical file removed.
36297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
36298         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
36299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
36300         Moved ...
36301         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
36302         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
36303         Identical file removed.
36304         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
36305         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
36306         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
36307         Identical file removed.
36308         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
36309         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
36310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
36311         Identical file removed.
36312         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
36313         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
36314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
36315         Identical file removed.
36316         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
36317         Moved ...
36318         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
36319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
36320         Identical file removed.
36321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
36322         Moved ...
36323         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
36324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
36325         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
36326         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
36327         Identical file removed.
36328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
36329         Moved ...
36330         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
36331         ... here.
36332         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
36333         Identical file removed.
36334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
36335         Moved ...
36336         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
36337         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
36338         Identical file removed.
36339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
36340         Moved ...
36341         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
36342         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
36343         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
36344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
36345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
36346         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
36347         Moved ...
36348         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
36349         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
36350         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
36352         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
36353         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
36354         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
36355         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
36356         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
36358 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
36360         [BZ #17092]
36361         * nscd/nscd.c (monitor_child): Return exit status of child
36362         instead of return value from wait syscall.
36364 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
36366         * configure.ac (libc_commonpagesize): Remove variable.
36367         (libc_relro_required): Likewise.
36368         (libc_cv_z_relro): Remove configure test.
36369         * configure: Regenerated.
36370         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
36371         variable.
36372         (libc_relro_required): Likewise.
36373         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
36374         (libc_relro_required): Likewise.
36375         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
36376         (libc_relro_required): Likewise.
36377         * sysdeps/arm/preconfigure: Regenerated.
36378         * sysdeps/ia64/preconfigure: Remove file.
36379         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
36380         variable.
36381         (libc_relro_required): Likewise.
36383         [BZ #16561]
36384         [BZ #16562]
36385         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
36386         (__ieee754_yn): Set FE_TONEAREST mode internally and then
36387         recompute overflowing results in original rounding mode.
36388         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
36389         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
36390         recompute overflowing results in original rounding mode.
36391         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
36392         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36393         recompute overflowing results in original rounding mode.
36394         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
36395         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36396         recompute overflowing results in original rounding mode.
36397         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
36398         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36399         recompute overflowing results in original rounding mode.
36400         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
36401         (libc_feholdsetround_ctx): New macro.
36402         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
36403         * sysdeps/i386/fpu/libm-test-ulps: Update.
36404         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
36406 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36408         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
36409         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
36410         corresponding .cpsetup call.
36412 2014-06-26  Roland McGrath  <roland@hack.frob.com>
36414         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
36415         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
36416         * sysdeps/arm/Makefile [$(subdir) = csu]
36417         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
36418         (static-only-routines): Add aeabi_read_tp here.
36419         (shared-only-routines): Add libc-aeabi_read_tp here.
36420         (CFLAGS-libc-start.c): Add -fexceptions here.
36421         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
36422         (sysdep_routines, static-only-routines, shared-only-routines):
36423         Don't add to these here.
36424         (CFLAGS-libc-start.c): Likewise.
36426         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
36427         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36428         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
36429         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36430         * sysdeps/arm/Makefile [$(subdir) = rt]
36431         (librt-sysdep_routines, librt-shared-only-routines):
36432         Append rt-aeabi_unwind_cpp_pr1 here.
36433         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
36434         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
36435         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
36436         (libpthread-sysdep_routines, libpthread-shared-only-routines):
36437         Append nptl-aeabi_unwind_cpp_pr1 here.
36438         (tests): Filter out tst-cleanupx4 here.
36439         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
36440         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
36441         Don't do those here.
36443 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36445         * scripts/list-sources.sh: Do not handle ports specially.
36447 2014-06-26  Roland McGrath  <roland@hack.frob.com>
36449         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
36450         * sysdeps/arm/feupdateenv.c: Likewise.
36452         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
36454 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36456         * manual/texinfo.tex: Update to version 2014-05-05.10 with
36457         trailing whitespace removed.
36458         * scripts/config.guess: Update to version 2014-03-23.
36459         * scripts/config.sub: Update to version 2014-05-01
36460         * scripts/install-sh: Update to version 2013-12-25.23.
36461         * scripts/move-if-change: Update from gnulib.
36463 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36465         * debug/memmove_chk.c: Remove pagecopy.h include.
36467 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
36469         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
36470         identical to gnulib mktime.
36472 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36474         * configure.ac: Do not test for machine being rs6000.  Do not test
36475         for powerpc*-*soft.
36476         * configure: Regenerated.
36478         [BZ #11505]
36479         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
36480         test.
36481         * configure: Regenerated.
36482         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
36483         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
36484         Remove configure test.
36485         * sysdeps/arm/configure: Regenerated.
36486         * sysdeps/nptl/configure.ac: Do not check
36487         libc_cv_asm_cfi_directives.
36488         * sysdeps/nptl/configure: Regenerated.
36489         * sysdeps/x86_64/nptl/configure.ac: Remove file.
36490         * sysdeps/x86_64/nptl/configure: Remove generated file.
36491         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
36492         unconditional.
36493         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
36495 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36497         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
36498         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
36499         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
36500         it is defined.
36502         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
36503         instead of whether it is defined.
36504         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
36505         * sysdeps/hppa/dl-machine.h: Likewise.
36506         * sysdeps/ia64/dl-machine.h: Likewise.
36507         * sysdeps/m68k/dl-machine.h: Likewise.
36508         * sysdeps/microblaze/dl-machine.h: Likewise.
36509         * sysdeps/mips/dl-machine.: Likewise.
36510         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36511         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36512         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36513         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36514         * sysdeps/sh/dl-machine.h: Likewise.
36515         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36516         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36517         * sysdeps/tile/dl-machine.h: Likewise.
36518         * sysdeps/x86_64/dl-machine.h: Likewise.
36520         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
36521         code.
36522         (verify_persistent_db): Likewise.
36524 2014-06-26  Roland McGrath  <roland@hack.frob.com>
36526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
36527         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
36528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
36529         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
36530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36531         Moved ...
36532         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
36533         ... here.
36534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
36535         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
36536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
36537         Identical file removed.
36538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
36539         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
36540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
36541         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
36542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
36543         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
36544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
36545         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
36546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
36547         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
36548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36549         Moved ...
36550         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
36551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
36552         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
36553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
36554         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
36555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36556         Moved ...
36557         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
36558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
36559         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
36560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
36561         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
36562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36563         Identical file removed.
36564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
36565         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
36566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
36567         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
36568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36569         Moved ...
36570         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
36571         ... here.
36572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
36573         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
36574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
36575         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
36576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
36577         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
36578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
36579         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
36580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
36581         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
36582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36583         Moved ...
36584         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
36585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
36586         Moved ...
36587         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
36588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
36589         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
36590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36591         Moved ...
36592         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
36593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
36594         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
36596         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
36597         folded into ...
36598         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
36599         * sysdeps/unix/sysv/linux/s390/Versions
36600         (libpthread: GLIBC_2.19): New version set.
36601         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
36602         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
36603         (librt: GLIBC_2.3.3): New version set.
36604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
36605         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
36606         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
36607         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
36608         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
36609         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
36610         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
36611         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
36612         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
36613         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
36614         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
36615         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
36616         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
36617         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
36618         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
36619         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
36620         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
36621         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
36622         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
36623         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
36624         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
36625         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
36626         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
36627         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
36628         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
36629         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
36630         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
36631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
36632         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
36633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
36634         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
36635         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
36636         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
36637         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
36638         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
36639         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
36640         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
36641         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
36642         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
36643         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
36644         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
36645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
36646         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
36647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
36648         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
36650         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
36651         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
36652         (__libc_vfork): Define the function under this name.
36653         [!NOT_IN_libc] (__vfork): Make this an alias.
36654         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
36656         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
36657         (__libc_vfork): Define the function under this name.
36658         [!NOT_IN_libc] (__vfork): Make this an alias.
36659         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36660         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
36661         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
36662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
36663         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
36664         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36666         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
36667         code that was previously under [RESET_PID].
36668         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
36669         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
36670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
36672         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
36673         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
36674         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
36675         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
36676         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
36677         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
36678         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
36679         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
36680         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
36681         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
36682         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
36683         Moved ...
36684         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
36685         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
36686         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
36687         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
36688         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
36689         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
36690         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
36691         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
36692         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
36693         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
36694         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
36695         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
36696         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
36697         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
36698         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
36699         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
36700         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
36701         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
36702         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
36703         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
36704         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
36705         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
36706         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
36707         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
36708         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
36709         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
36710         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
36711         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
36712         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
36714 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36716         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
36717         that was previously under [RESET_PID].
36718         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
36720 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36722         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
36723         not undefine and redefine.
36724         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
36725         [O_CLOEXEC]: Make code unconditional.
36726         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
36727         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
36728         <kernel-features.h>.
36729         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
36730         conditional variable definition.
36731         (shm_open) [O_CLOEXEC]: Make code unconditional.
36732         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
36733         code.
36735         * configure.ac (USE_REGPARMS): Don't define here.
36736         * configure: Regenerated.
36737         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
36738         * sysdeps/i386/configure: Regenerated.
36740         * nptl/createthread.c: Don't include kernel-features.h.
36741         * nptl/pthread_cancel.c: Likewise.
36742         * nptl/pthread_condattr_setclock.c: Likewise.
36743         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
36744         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
36745         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
36746         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
36747         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
36748         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
36749         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
36751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36752         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
36753         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
36754         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
36755         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
36756         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
36757         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
36758         * nscd/gai.c: Likewise.
36759         * nss/nss_db/db-open.c: Likewise.
36760         * sysdeps/generic/ldsodefs.h: Likewise.
36761         * sysdeps/sh/nptl/tls.h: Likewise.
36762         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36763         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
36764         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
36765         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
36766         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
36767         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36768         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
36769         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36770         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36771         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36772         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36773         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36774         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
36775         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
36776         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
36777         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
36778         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
36779         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
36780         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
36781         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
36782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
36783         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
36784         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
36785         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
36786         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
36787         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
36788         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
36789         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
36790         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36791         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
36792         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
36793         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
36794         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
36795         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36796         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36797         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36798         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36799         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
36800         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
36801         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
36802         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36803         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
36804         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
36805         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36806         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
36807         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
36808         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
36809         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
36810         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
36811         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
36812         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
36813         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
36814         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
36815         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36816         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
36817         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36818         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36819         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
36820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
36822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
36823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
36824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
36825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
36826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
36827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
36828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
36831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
36832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
36833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
36834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
36840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
36841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
36842         * sysdeps/unix/sysv/linux/pread.c: Likewise.
36843         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
36844         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
36845         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
36846         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
36847         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
36848         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
36849         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
36850         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
36851         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
36852         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
36853         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
36854         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
36855         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
36856         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
36857         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
36858         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36859         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
36860         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
36861         * sysdeps/unix/sysv/linux/system.c: Likewise.
36862         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
36863         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36864         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36865         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36866         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36867         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36868         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36870         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
36871         * configure: Regenerated.
36872         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
36874         * configure.ac (base_machine): Do not set specially for particular
36875         machines here.
36876         * configure: Regenerated.
36877         * sysdeps/powerpc/preconfigure: Move machine and base_machine
36878         settings from configure.ac.
36879         * sysdeps/i386/preconfigure: New file.
36880         * sysdeps/s390/preconfigure: Likewise.
36881         * sysdeps/sh/preconfigure: Likewise.
36882         * sysdeps/sparc/preconfigure: Likewise.
36884 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36886         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
36887         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
36888         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
36889         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
36890         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
36891         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
36892         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
36893         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
36894         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
36895         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
36896         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
36897         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
36898         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
36899         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
36900         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
36901         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
36902         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
36903         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
36904         * sysdeps/sparc/sparc64/Makefile: ... appended here.
36906         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
36907         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
36908         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
36909         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
36910         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
36911         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
36912         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
36913         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
36914         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
36915         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
36916         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
36917         * sysdeps/sparc/sparc32/sem_post.c: ... here.
36918         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
36919         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
36920         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
36921         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
36922         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
36923         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
36924         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
36925         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
36926         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
36927         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
36928         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
36929         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
36930         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
36931         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
36932         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
36933         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
36934         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
36935         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
36936         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
36937         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
36938         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
36939         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
36940         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
36941         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36942         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36943         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36946         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36948         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36950         Moved ...
36951         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36952         ... here.
36953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36954         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36956         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36958         Moved ...
36959         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36961         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36963         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36965         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36967         Moved ...
36968         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36970         Moved ...
36971         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36973         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36975         Moved ...
36976         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36978         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36980         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36982         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36984         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36986         Moved ...
36987         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36988         ... here.
36989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36990         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36992         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36994         Moved ...
36995         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36997         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36999         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37001         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37003         Moved ...
37004         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37006         Moved ...
37007         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37009         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37011         Moved ...
37012         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37014         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37016         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37018 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37020         * timezone/checktab.awk: Update from tzcode 2014e.
37021         * timezone/private.h: Likewise.
37022         * timezone/tzfile.h: Likewise.
37023         * timezone/zdump.c: Likewise.
37024         * timezone/zic.c: Likewise.
37026         * sysdeps/unix/sysv/linux/kernel-features.h
37027         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37028         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37029         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37030         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37031         Remove conditional code.
37033 2014-06-25  Will Newton  <will.newton@linaro.org>
37035         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37036         (_dl_arm_cap_flags): Add HWCAP2 values.
37037         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37038         (_DL_HWCAP_COUNT): Increase to 37.
37039         (_DL_HWCAP_LAST): New define.
37040         (_DL_HWCAP2_LAST): New define.
37041         (_dl_procinfo): Add support for printing
37042         AT_HWCAP2 entries.
37043         (_dl_string_hwcap): Use _dl_hwcap_string.
37045 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37049 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37051         * README: Do not mention ports directory.
37053         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37054         Remove macro.
37055         * sysdeps/unix/sysv/linux/futimes.c: Do not include
37056         <kernel-features.h>.
37057         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37058         conditional variable definition.
37059         (__futimes): Update comment.
37060         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37061         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37063         [BZ #16560]
37064         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37065         arguments close to 0.
37066         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37067         Likewise.
37068         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37069         Likewise.
37070         * math/auto-libm-test-in: Add more tests of exp10.
37071         * math/auto-libm-test-out: Regenerated.
37072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37074         * sysdeps/unix/sysv/linux/kernel-features.h
37075         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37076         * sysdeps/unix/sysv/linux/readv.c: Do not include
37077         <kernel-features.h>.
37078         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37079         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37080         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37081         unconditional.
37082         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37083         conditional code.
37084         * sysdeps/unix/sysv/linux/writev.c: Do not include
37085         <kernel-features.h>.
37086         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37087         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37088         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37089         unconditional.
37090         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37091         conditional code.
37093 2014-06-25  Will Newton  <will.newton@linaro.org>
37095         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37096         comment changes throughout the file.  Remove checks
37097         for HAVE_*_H definitions that are not required.
37098         (__gen_tempname): Call abort if an unknown kind value is
37099         passed.
37101 2014-06-25  Andreas Schwab  <schwab@suse.de>
37103         [BZ #17086]
37104         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37105         scalbln, scalblnf, scalblnl in libc.
37107 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37109         [BZ #17086]
37110         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37111         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37112         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37114 2014-06-24  Roland McGrath  <roland@hack.frob.com>
37116         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37117         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37118         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37119         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37120         Update #include.
37121         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37122         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37123         Update #include.
37124         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37125         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37126         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37127         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37128         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37129         * sysdeps/x86/bits/pthreadtypes.h: ... here.
37130         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37131         * sysdeps/x86/bits/semaphore.h: ... here.
37132         * sysdeps/x86/nptl/elide.h: Moved ...
37133         * sysdeps/x86/elide.h: ... here.
37134         * sysdeps/x86_64/nptl/Implies: File removed.
37135         * sysdeps/i386/nptl/Implies: File removed.
37137 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
37139         [BZ #16539]
37140         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37141         return the argument for normal arguments with exponent below -64.
37142         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37143         Likewise.
37144         * math/auto-libm-test-in: Add another test of expm1.
37145         * math/auto-libm-test-out: Regenerated.
37147         [BZ #16287]
37148         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37149         calling __erfcl for arguments at least 16.
37150         * math/auto-libm-test-in: Add more tests of erf.
37151         * math/auto-libm-test-out: Regenerated.
37153         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37154         individual architectures.
37155         * sysdeps/unix/sysv/linux/configure: Regenerated.
37156         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37157         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37158         * sysdeps/unix/sysv/linux/powerpc/configure.ac
37159         (ldd_rewrite_script): Define variable.
37160         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37162         file.
37163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37164         generated file.
37165         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37166         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37167         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37168         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37169         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37170         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37171         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37172         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37174 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37176         [BZ #17084]
37177         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37178         Rename member __data.d to __data.__elision_data.
37180 2014-06-24  Wilco  <wdijkstr@arm.com>
37182         * NEWS: Add 16918 to fixed bug list.
37184 2014-06-24  Wilco  <wdijkstr@arm.com>
37186         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37188 2014-06-24  Wilco  <wdijkstr@arm.com>
37190         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37191         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37192         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37193         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37194         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37195         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37196         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37197         Use _FPU_MASK_RM.
37199 2014-06-24  Wilco  <wdijkstr@arm.com>
37201         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37203 2014-06-24  Wilco  <wdijkstr@arm.com>
37205         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37206         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37207         * sysdeps/arm/fesetround.c (fesetround): Remove space.
37208         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37210 2014-06-24  Wilco  <wdijkstr@arm.com>
37212         [BZ #16918]
37213         * sysdeps/arm/feupdateenv.c (feupdateenv):
37214         Rewrite to reduce FPSCR accesses and fix return value.
37216 2014-06-24  Wilco  <wdijkstr@arm.com>
37218         * sysdeps/arm/fclrexcpt.c (feclearexcept):
37219         Optimize to avoid unnecessary FPSCR writes.
37220         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37221         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37222         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37223         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
37225 2014-06-24  Wilco  <wdijkstr@arm.com>
37227         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
37228         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
37229         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
37230         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
37231         Call libc_fetestexcept_vfp.
37232         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
37233         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
37234         __SOFTFP__ ifdef so that they can be built for softfp.
37236 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37238         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
37239         argument type signed char.
37241         * Makerules (check-abi): Dump diff of symlist if the test
37242         fails.
37244 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37246         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
37247         using abort.
37249         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37250         Remove unused variable ST.
37252 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
37254         [BZ #16354]
37255         [BZ #17061]
37256         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
37257         small arguments before calling __expm1.
37258         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
37259         small arguments before calling __expm1f.
37260         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
37261         small arguments before calling __expm1l.
37262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37263         Likewise.
37264         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37265         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
37266         spurious underflow for some cosh tests.
37267         * math/auto-libm-test-out: Regenerated.
37268         * sysdeps/i386/fpu/libm-test-ulps: Update.
37270         [BZ #17050]
37271         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
37272         (__ieee754_y1): Set errno if return value overflows.
37273         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
37274         (__ieee754_y1f): Set errno if return value overflows.
37275         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
37276         (__ieee754_y1l): Set errno if return value overflows.
37277         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
37278         (__ieee754_y1l): Set errno if return value overflows.
37279         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
37280         * math/auto-libm-test-out: Regenerated.
37282         * math/gen-auto-libm-tests.c: Document use of
37283         ignore-zero-inf-sign.
37284         (input_flag_type): Add value flag_ignore_zero_inf_sign.
37285         (input_flags): Add ignore-zero-inf-sign.
37286         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
37287         * math/gen-libm-test.pl (generate_testfile): Handle
37288         ignore-zero-inf-sign.
37289         * math/auto-libm-test-in: Mark some cpow tests with
37290         ignore-zero-inf-sign and some with xfail-rounding.
37291         * math/auto-libm-test-out: Regenerated.
37292         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
37293         * sysdeps/i386/fpu/libm-test-ulps: Update.
37294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37296         [BZ #16315]
37297         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
37298         overflowing or underflowing operations take place with sign of
37299         result.
37300         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37301         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37302         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
37303         (__ieee754_pow): Recompute overflowing and underflowing results in
37304         original rounding mode.
37305         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
37306         (__powl_helper): Allow negative argument X and scale negated value
37307         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
37308         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
37309         overflowing or underflowing operations take place with sign of
37310         result.
37311         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
37312         Include <math.h>.
37313         * math/auto-libm-test-in: Add more tests of pow.
37314         * math/auto-libm-test-out: Regenerated.
37315         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
37316         (pow_tonearest_test_data): Remove.
37317         (pow_test_tonearest): Likewise.
37318         (pow_towardzero_test_data): Likewise.
37319         (pow_test_towardzero): Likewise.
37320         (pow_downward_test_data): Likewise.
37321         (pow_test_downward): Likewise.
37322         (pow_upward_test_data): Likewise.
37323         (pow_test_upward): Likewise.
37324         (main): Don't call removed functions.
37325         * sysdeps/i386/fpu/libm-test-ulps: Update.
37326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37328 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
37331         Moved ...
37332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
37333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37334         Moved ...
37335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
37336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37337         Moved ...
37338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
37339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37340         Moved ...
37341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
37342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37343         File removed.
37344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37345         File removed.
37346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
37347         File removed.
37348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
37349         File removed.
37350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
37351         File removed.
37352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
37353         File removed.
37354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
37355         File removed.
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37357         File removed.
37358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
37359         File removed.
37360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37361         File removed.
37362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
37363         File removed.
37364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
37365         File removed.
37366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
37367         Moved ...
37368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
37369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
37370         Moved ...
37371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
37372         ... here.
37373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
37374         Moved ...
37375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
37376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
37377         Moved ...
37378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
37379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
37380         Moved ...
37381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
37382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
37383         Moved ...
37384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
37385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
37386         Moved ...
37387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
37388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
37389         Moved ...
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
37391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
37392         Moved ...
37393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
37394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
37395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
37396         ... here.
37397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
37398         Moved ...
37399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
37400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37401         Moved ...
37402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
37403         ... here.
37404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
37405         Moved ...
37406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
37407         ... here.
37408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37409         Moved ...
37410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37411         ... here.
37412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37413         Moved ...
37414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
37415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37416         Moved ...
37417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
37418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
37419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
37420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37421         Moved ...
37422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
37423         ... here.
37424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37425         Moved ...
37426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
37427         ... here.
37428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37429         Moved ...
37430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
37431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37432         Moved ...
37433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37435         Moved ...
37436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
37437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37438         Moved ...
37439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
37440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37441         Moved ...
37442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
37443         ... here.
37444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37445         Moved ...
37446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
37447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37448         Moved ...
37449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
37450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37451         Moved ...
37452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
37453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37454         Moved ...
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
37456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
37457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
37458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37459         Moved ...
37460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
37461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37462         Moved ...
37463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
37464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37465         Moved ...
37466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
37467         ... here.
37468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37469         Moved ...
37470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
37471         ... here.
37472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37473         Moved ...
37474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
37475         ... here.
37476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37477         Moved ...
37478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
37479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37480         Moved ...
37481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
37482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37483         Moved ...
37484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
37485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37486         Moved ...
37487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
37488         ... here.
37489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37490         Moved ...
37491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
37492         ... here.
37493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37494         Moved ...
37495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
37496         ... here.
37497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37498         Moved ...
37499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
37500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37501         Moved ...
37502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
37504 2014-06-23  Will Newton  <will.newton@linaro.org>
37505             Wilco  <wdijkstr@arm.com>
37507         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
37508         implementation.  Include get-rounding-mode.h.
37509         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
37510         [!libc_feholdsetround_noex_ctx]: Define
37511         libc_feholdsetround_noex_ctx.
37512         [!libc_feholdsetround_noexf_ctx]: Define
37513         libc_feholdsetround_noexf_ctx.
37514         [!libc_feholdsetround_noexl_ctx]: Define
37515         libc_feholdsetround_noexl_ctx.
37516         (libc_feholdsetround_ctx): New function.
37517         (libc_feresetround_ctx): New function.
37518         (libc_feholdsetround_noex_ctx): New function.
37519         (libc_feresetround_noex_ctx): New function.
37521 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37523         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
37524         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
37525         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
37526         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
37527         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
37528         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
37530         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
37531         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
37532         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
37533         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
37534         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
37535         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
37536         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
37537         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
37538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
37539         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
37540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
37541         Moved ...
37542         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
37543         ... here.
37544         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
37545         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
37546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
37547         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
37548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
37549         Moved ...
37550         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
37551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
37552         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
37553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
37554         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
37555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
37556         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
37557         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
37558         Moved ...
37559         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
37560         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
37561         Moved ...
37562         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
37563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
37564         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
37565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
37566         Moved ...
37567         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
37568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
37569         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
37570         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
37571         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
37572         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
37573         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
37574         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
37575         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
37576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
37577         Moved ...
37578         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
37579         ... here.
37580         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
37581         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
37582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
37583         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
37584         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
37585         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
37586         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
37587         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
37588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
37589         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
37590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
37591         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
37592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
37593         Moved ...
37594         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
37595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
37596         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
37597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
37598         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
37599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
37600         Moved ...
37601         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
37602         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
37603         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
37604         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
37605         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
37607         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
37608         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
37609         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
37610         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
37611         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
37612         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
37613         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
37614         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
37615         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
37616         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
37617         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
37618         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
37619         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
37620         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
37621         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
37622         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
37623         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
37624         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
37625         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
37626         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
37627         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
37628         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
37629         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
37630         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
37631         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
37632         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
37633         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
37634         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
37636 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
37638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
37639         (FALLOC_FL_COLLAPSE_RANGE): New macro.
37640         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
37641         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
37642         (IPV6_PMTUDISC_INTERFACE): Likewise.
37643         (IPV6_PMTUDISC_OMIT): Likewise.
37645 2014-06-23  Andreas Schwab  <schwab@suse.de>
37647         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
37648         Remove unused errout label.
37650 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37652         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
37653         macro: hardware supports Vector Crypto instructions.
37655 2014-06-23  Will Newton  <will.newton@linaro.org>
37657         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
37658         rather than __builtin_expect.
37660         * elf/dl-lookup.c (undefined_msg): Remove variable.
37661         (_dl_lookup_symbol_x): Replace undefined_msg with string
37662         literal.
37664         * elf/dl-lookup.c (do_lookup_unique): New function.
37665         (do_lookup_x): Move STB_GNU_UNIQUE handling code
37666         to a separate function.
37668 2014-06-23  Andreas Schwab  <schwab@suse.de>
37670         [BZ #17079]
37671         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
37672         before reading the next line.
37674 2014-06-23  Will Newton  <will.newton@linaro.org>
37676         * test-skeleton.c (signal_handler): Use printf and %m
37677         rather than perror.  Use printf rather than fprintf to
37678         stderr.  Use puts rather than fputs to stderr.
37679         (main): Likewise.
37681 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
37683         * nscd/nscd.c (thread_info_t): Remove typedef.
37684         (thread_info): Remove variable.
37686 2014-06-21  Allan McRae  <allan@archlinux.org>
37688         * NEWS: Mention CVE-2014-4043.
37690 2014-06-20  Roland McGrath  <roland@hack.frob.com>
37692         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
37693         * nptl/smp.h: ... here.
37695         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
37697         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
37698         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
37699         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
37700         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
37702         * nptl/allocatestack.c: Include <stack-aliasing.h>.
37703         * nptl/stack-aliasing.h: New file.
37704         * sysdeps/i386/i686/stack-aliasing.h: New file.
37705         * sysdeps/i386/i686/nptl/Makefile: File removed.
37706         * sysdeps/x86_64/stack-aliasing.h: New file.
37707         * sysdeps/x86_64/nptl/Makefile
37708         (CFLAGS-pthread_create.c): Variable removed.
37710         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
37711         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
37712         old file.
37713         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
37714         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
37715         old file.
37717 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
37719         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37720         (__ASSUME_SIGFRAME_V2): Remove macro.
37721         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
37722         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
37723         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
37724         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
37725         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
37726         Declare as function.  Remove conditional macro definitions.
37727         (__default_rt_sa_restorer): Likewise.
37728         (__default_sa_restorer_v1): Remove declaration.
37729         (__default_sa_restorer_v2): Likewise.
37730         (__default_rt_sa_restorer_v1): Likewise.
37731         (__default_rt_sa_restorer_v2): Likewise.
37732         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
37733         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
37734         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
37736 2014-06-20  Roland McGrath  <roland@hack.frob.com>
37738         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
37739         (libpthread-routines): Add sysdep.
37740         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
37741         * sysdeps/unix/sysv/linux/sparc/Versions
37742         (libpthread: GLIBC_2.3.3): New version set.
37743         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
37744         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
37745         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
37746         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
37747         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
37748         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
37749         Moved ...
37750         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
37751         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
37752         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
37753         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
37754         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
37755         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
37756         * sysdeps/sparc/nptl/sem_init.c: ... here.
37757         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
37758         * sysdeps/sparc/nptl/sem_post.c: ... here.
37759         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
37760         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
37761         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
37762         * sysdeps/sparc/nptl/sem_wait.c: ... here.
37763         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
37764         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
37765         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
37766         (libpthread-routines): Add cpu_relax.
37767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
37768         File removed.
37769         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
37770         (librt: GLIBC_2.3.3): New version set.
37771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
37772         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
37773         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
37774         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
37775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
37776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
37777         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
37778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
37779         Moved ...
37780         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
37781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
37782         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
37783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
37784         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
37785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
37786         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
37787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
37788         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
37789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
37790         Moved ...
37791         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
37792         Update #include.
37793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
37794         Moved ...
37795         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
37796         Update #include.
37797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
37798         Moved ...
37799         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
37800         Update #include.
37801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
37802         Moved ...
37803         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
37804         Update #include.
37805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
37806         Moved ...
37807         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
37808         Update #include.
37809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
37810         Moved ...
37811         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
37812         Update #include.
37813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
37814         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
37815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
37816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
37817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
37818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
37819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
37820         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
37821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
37822         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
37823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37824         Moved ...
37825         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
37826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
37827         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
37828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
37829         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
37831 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37833         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
37834         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
37835         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37836         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
37837         * nscd/nscd.c: Likewise.
37838         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
37839         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
37840         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
37841         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
37843         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
37844         <kernel-features.h>.
37845         (init_mq_netlink): Remove conditional have_sock_cloexec
37846         definitions.  Remove code conditional on have_sock_cloexec < 0.
37847         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
37848         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
37849         * sysdeps/unix/sysv/linux/opensock.c: Do not include
37850         <kernel-features.h>.
37851         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
37852         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
37854 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37857         Add tests for memset_chk and memset.
37859         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
37860         with AVX2_Usable.
37862 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37864         [BZ #16046]
37865         * elf/tst-dl-iter-static.c: New file.
37866         * elf/Makefile (tests-static): Add tst-dl-iter-static.
37868         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
37869         error.
37871 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37873         * sysdeps/unix/sysv/linux/kernel-features.h
37874         (__ASSUME_F_GETOWN_EX): Remove macro.
37875         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
37876         <kernel-features.h>.
37877         (miss_F_GETOWN_EX): Remove variable or macro.
37878         (do_fcntl): Do not check miss_F_GETOWN_EX.
37879         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
37881         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
37882         Remove macro.
37883         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
37884         [!__ASSUME_AT_RANDOM]: Remove conditional code.
37885         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
37887         * sysdeps/unix/sysv/linux/kernel-features.h
37888         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
37889         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
37890         [ADJ_OFFSET_SS_READ]: Make code unconditional.
37891         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
37893 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37895         [BZ #17075]
37896         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
37897         Fix calculation of the symbol's value.
37898         * sysdeps/arm/tst-armtlsdescloc.c: New file.
37899         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
37900         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
37901         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
37902         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
37903         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
37904         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
37905         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
37906         (modules-names): Add `tst-armtlsdescmod',
37907         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
37908         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
37909         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37910         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
37911         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
37912         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37913         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
37914         ($(objpfx)tst-armtlsdescloc): New dependency.
37915         ($(objpfx)tst-armtlsdescextnow): Likewise.
37916         ($(objpfx)tst-armtlsdescextlazy): Likewise.
37917         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
37918         TLS scheme support.
37919         * sysdeps/arm/configure: Regenerate.
37921 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37923         * include/fcntl.h (__atfct_seterrno): Remove prototype.
37924         (__atfct_seterrno_2): Likewise.
37925         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
37926         <kernel-features.h>.
37927         (__ASSUME_ATFCTS): Do not undefine and redefine.
37928         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
37929         (__have_atfcts): Remove conditional definition.
37930         (__fxstatat([__NR_fstatat64]: Make code unconditional.
37931         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
37932         unreachable if [__ASSUME_ATFCTS].
37933         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
37934         not undefine and redefine.
37935         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
37936         <kernel-features.h>.
37937         (faccessat) [__NR_faccessat]: Make code unconditional.
37938         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
37939         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
37940         <kernel-features.h>.
37941         (fchmodat) [__NR_fchmodat]: Make code unconditional.
37942         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37943         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37944         <kernel-features.h>.
37945         (fchownat) [__NR_fchownat]: Make code unconditional.
37946         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37947         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37948         <kernel-features.h>.
37949         (futimesat) [__NR_futimesat]: Make code unconditional.
37950         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37951         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37952         <kernel-features.h>.
37953         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37954         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37955         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37956         <kernel-features.h>.
37957         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37958         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37959         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37960         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37961         <kernel-features.h>.
37962         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37963         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37964         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37965         <kernel-features.h>.
37966         (linkat) [__NR_linkat]: Make code unconditional.
37967         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37968         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37969         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37970         <kernel-features.h>.
37971         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37972         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37973         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37974         <kernel-features.h>.
37975         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37976         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37977         * sysdeps/unix/sysv/linux/openat.c: Do not include
37978         <kernel-features.h>.
37979         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37980         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37981         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37982         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37983         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37984         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37985         <kernel-features.h>.
37986         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37987         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37988         result of INLINE_SYSCALL directly, not via int variable.
37989         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37990         <kernel-features.h>.
37991         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37992         (renameat) [__NR_renameat]: Make code unconditional.
37993         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37994         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37995         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37996         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37997         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37998         (__ASSUME_ATFCTS): Do not undefine and redefine.
37999         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38000         <kernel-features.h>.
38001         (symlinkat) [__NR_symlinkat]: Make code unconditional.
38002         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38003         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38004         <kernel-features.h>.
38005         (unlinkat) [__NR_unlinkat]: Make code unconditional.
38006         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38007         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38008         (__ASSUME_ATFCTS): Do not undefine and redefine.
38009         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38010         <kernel-features.h>.
38011         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38012         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38013         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38014         <kernel-features.h>.
38015         (__xmknodat) [__NR_mknodat]: Make code unconditional.
38016         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38018 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38020         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38022 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
38024         [BZ #17069]
38025         * posix/regcomp.c (parse_reg_exp): Deallocate partially
38026         constructed tree before returning error.
38027         * posix/bug-regexp36.c: Expand test case.
38029 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38031         [BZ #6803]
38032         * math/libm-test.inc (scalbln_test_date):
38033         Add errno expectations.
38034         * math/w_scalblnf.c: New File.
38035         Add wrapper which checks for setting errno to ERANGE.
38036         Add weak_alias for corresponding scalbln function.
38037         * math/w_scalbln.c: Likewise.
38038         * math/w_scalblnl.c: Likewise.
38039         * math/Makefile (libm-calls): Add w_scalbln.
38040         * sysdeps/ieee754/flt-32/s_scalblnf.c:
38041         Remove weak_alias for corresponding scalbln function.
38042         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38043         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38044         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38045         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38046         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38047         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38048         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38049         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38050         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38051         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38052         Remove long_double_symbol for scalblnl function in libm, libc.
38053         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38054         Add wrapper which checks for setting errno to ERANGE.
38055         Add long_double_symbol for scalblnl function in libm, libc.
38056         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38057         Remove long_double_symbol for scalblnl in libm.
38058         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38059         Add wrapper which checks for setting errno to ERANGE.
38060         Add long_double_symbol for scalblnl function in libm.
38061         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38062         Do not use wrapper because of own implementation.
38064 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
38066         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38067         3 bytes for __pad1 for x32.
38068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38070 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
38071             H.J. Lu  <hongjiu.lu@intel.com>
38073         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38074         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38075         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38076         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38077         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38079 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
38081         [BZ #17069]
38082         * posix/regcomp.c (parse_expression): Deallocate partially
38083         constructed tree before returning error.
38084         * posix/Makefile.c (tests): Add bug-regex36.
38085         (generated): Add bug-regex36.mtrace.
38086         (tests-special): Add $(objpfx)bug-regex36-mem.out
38087         (bug-regex36-ENV): New variable.
38088         ($(objpfx)bug-regex36-mem.out): New rule.
38089         * posix/bug-regex36.c: New file.
38091 2014-06-19  Will Newton  <will.newton@linaro.org>
38093         * malloc/malloc.c (systrim): If extra is zero then return
38094         early.
38096 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38098         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38100 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
38102         * sysdeps/aarch64/strchr.S: New file.
38104 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38106         [BZ #17022]
38107         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38108         from arguments -2 or below.
38109         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38110         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38112 2014-06-18  Andreas Schwab  <schwab@suse.de>
38114         [BZ #17062]
38115         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38116         of a bracket expr not to run off the end of the string.
38117         * posix/Makefile (tests): Add tst-fnmatch3.
38118         * posix/tst-fnmatch3.c: New file.
38120 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38122         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38123         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38124         [$(cross-compiling) = no]: Likewise.
38125         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38126         [$(cross-compiling) = no]: Likewise.
38128 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38130         [BZ #17031]
38131         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38132         double, adjusted for any remainder from the high double.
38133         * math/libm-test.inc (nearbyint): Add tests.
38134         (rint): Likewise.
38136 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38138         * nptl/sysdeps/powerpc/Makefile: Moved ...
38139         * sysdeps/powerpc/nptl/Makefile: ... here.
38140         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38141         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38142         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38143         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38144         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38145         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38146         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38147         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38148         * nptl/sysdeps/powerpc/tls.h: Moved ...
38149         * sysdeps/powerpc/nptl/tls.h: ... here.
38151 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
38153         [BZ #16681]
38154         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38155         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38156         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38157         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38158         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38159         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38160         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38161         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38162         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38164 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
38166         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38168 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
38170         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38171         defined operator.
38173         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38174         $TIMEOUTFACTOR.
38176 2014-06-16  Florian Weimer  <fweimer@redhat.com>
38178         [BZ #17058]
38179         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38180         non-executed part of the test.
38182 2014-06-16  Andreas Schwab  <schwab@suse.de>
38184         * string/bits/string2.h (strdup, strndup): Update feature guard.
38186 2014-06-14  David S. Miller  <davem@davemloft.net>
38188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38190 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
38192         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38193         that was previously under [RESET_PID].
38194         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38196         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38197         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38198         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38199         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38200         (__libc_vfork): New strong alias.
38201         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38203 2014-06-14 Andi Kleen  <ak@linux.intel.com>
38205         * sysdeps/generic/elide.h: New file.
38207 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38209         * Makefile (installed-headers): Adjust path of pthread.h header.
38211 2014-06-13  Roland McGrath  <roland@hack.frob.com>
38213         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38214         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38215         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38216         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38218         * nptl/sysdeps/s390/Makefile: Moved ...
38219         * sysdeps/s390/nptl/Makefile: ... here.
38220         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38221         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38222         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38223         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
38224         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
38225         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
38226         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
38227         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
38228         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
38229         * sysdeps/s390/nptl/pthreaddef.h: ... here.
38230         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38231         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
38232         * nptl/sysdeps/s390/tls.h: Moved ...
38233         * sysdeps/s390/nptl/tls.h: ... here.
38235         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
38236         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
38238 2014-06-13  David S. Miller  <davem@davemloft.net>
38240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
38241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
38242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
38243         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
38244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
38245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
38246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
38247         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
38248         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
38249         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
38250         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
38251         Remove RESET_PID cpp guards.
38252         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
38253         Remove RESET_PID cpp guards.
38254         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
38256 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
38258         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
38259         __sp to uintptr_t.
38261 2014-06-13  Andi Kleen  <ak@linux.intel.com>
38263         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
38264         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
38265         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
38266         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
38267         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
38268         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
38269         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
38270         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
38271         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
38272         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
38273         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
38274         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
38275         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
38276         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
38277         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
38278         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
38279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
38280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
38281         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
38282         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
38284         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
38285         (pthread_rwlock_rdlock): Add elision.
38286         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
38287         (pthread_rwlock_wrlock): Add elision.
38288         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
38289         (pthread_rwlock_trywrlock): Add elision.
38290         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
38291         (pthread_rwlock_tryrdlock): Add elision.
38292         * nptl/pthread_rwlock_unlock.c: Include elide.h.
38293         (pthread_rwlock_tryrdlock): Add elision unlock.
38294         * nptl/sysdeps/pthread/pthread.h:
38295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
38296         (PTHREAD_RWLOCK_INITIALIZER,
38297         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
38298         Handle new elision field.
38299         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
38300         * sysdeps/arm/nptl/bits/pthreadtypes.h
38301         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38302         * sysdeps/sh/nptl/bits/pthreadtypes.h
38303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38304         * sysdeps/tile/nptl/bits/pthreadtypes.h
38305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38306         * sysdeps/a/nptl/bits/pthreadtypes.h
38307         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38308         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38309         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38310         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38312         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
38313         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38314         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38316         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38317         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38318         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38319         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38320         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38322         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
38323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38324         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
38325         (elision_init): Set try_xbegin to zero when no RTM.
38326         * sysdeps/x86/nptl/bits/pthreadtypes.h
38327         (pthread_rwlock_t): Change __pad1 to __rwelision.
38328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38330 2014-06-13  Andi Kleen  <ak@linux.intel.com>
38332         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
38333         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
38334         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
38335         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
38337 2014-06-13  Meador Inge  <meadori@codesourcery.com>
38339         [BZ #16996]
38340         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
38341         that the cached result has been set before returning it.
38343 2014-06-12  Roland McGrath  <roland@hack.frob.com>
38345         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
38346         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
38347         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
38348         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
38349         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
38350         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
38352         * nptl/sysdeps/sparc/Makefile: Moved ...
38353         * sysdeps/sparc/nptl/Makefile: ... here.
38354         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
38355         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
38356         * nptl/sysdeps/sparc/tls.h: Moved ...
38357         * sysdeps/sparc/nptl/tls.h: ... here.
38358         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
38359         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
38360         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
38361         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
38362         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
38363         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
38364         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
38365         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
38366         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
38367         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
38368         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
38369         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
38370         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
38371         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
38372         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
38373         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
38374         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
38375         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
38376         Update #include.
38377         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
38378         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
38379         Update #include.
38380         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
38381         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
38382         Update #include.
38383         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
38384         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
38385         Update #include.
38387         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
38389         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
38390         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
38392         * sysdeps/pthread/posix-timer.h: Include <list.h>.
38393         (struct list_links): Type removed.
38394         (struct thread_node, struct timer_node): Replace struct list_links
38395         with struct list_head.
38396         (list_unlink_ip): Likewise.
38397         * sysdeps/pthread/timer_routines.c
38398         (timer_free_list, thread_free_list, thread_active_list): Likewise.
38399         (list_append, list_insbefore): Likewise.
38400         (list_init): Function removed.
38401         (thread_init, init_module): Use INIT_LIST_HEAD instead.
38402         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
38403         * sysdeps/pthread/Makefile: ... here, new file.
38405         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
38406         * sysdeps/nptl/Implies: ... here.
38407         * sysdeps/unix/sysv/linux/Implies: Add nptl.
38408         * nptl/sysdeps/pthread/list.h: Moved ...
38409         * include/list.h: ... here.
38410         * nptl/sysdeps/pthread/createthread.c: Moved ...
38411         * nptl/createthread.c: ... here.
38412         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
38413         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
38414         * nptl/pt-longjmp.c: ... here.
38415         * nptl/sysdeps/pthread/Makefile: Moved ...
38416         * sysdeps/nptl/Makefile: ... here.
38417         * nptl/sysdeps/pthread/Subdirs: Moved ...
38418         * sysdeps/nptl/Subdirs: ... here.
38419         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
38420         * sysdeps/nptl/aio_misc.h: ... here.
38421         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
38422         * sysdeps/nptl/bits/libc-lock.h: ... here.
38423         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
38424         * sysdeps/nptl/bits/libc-lockP.h: ... here.
38425         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
38426         * sysdeps/nptl/bits/stdio-lock.h: ... here.
38427         * nptl/sysdeps/pthread/configure: Moved ...
38428         * sysdeps/nptl/configure: ... here.
38429         * nptl/sysdeps/pthread/configure.ac: Moved ...
38430         * sysdeps/nptl/configure.ac: ... here.
38431         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
38432         * sysdeps/nptl/gai_misc.h: ... here.
38433         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
38434         * sysdeps/nptl/librt-cancellation.c: ... here.
38435         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
38436         * sysdeps/nptl/malloc-machine.h: ... here.
38437         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
38438         * sysdeps/nptl/pthread-functions.h: ... here.
38439         * nptl/sysdeps/pthread/pthread.h: Moved ...
38440         * sysdeps/nptl/pthread.h: ... here.
38441         * nptl/sysdeps/pthread/setxid.h: Moved ...
38442         * sysdeps/nptl/setxid.h: ... here.
38443         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
38444         * sysdeps/nptl/sigfillset.c: ... here.
38445         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
38446         * sysdeps/nptl/tcb-offsets.h: ... here.
38447         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
38448         * sysdeps/nptl/tst-mqueue8x.c: ... here.
38449         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
38450         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
38451         * nptl/sysdeps/pthread/allocalim.h: Moved ...
38452         * sysdeps/pthread/allocalim.h: ... here.
38453         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
38454         * sysdeps/pthread/bits/sigthread.h: ... here.
38455         * nptl/sysdeps/pthread/flockfile.c: Moved ...
38456         * sysdeps/pthread/flockfile.c: ... here.
38457         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
38458         * sysdeps/pthread/ftrylockfile.c: ... here.
38459         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
38460         * sysdeps/pthread/funlockfile.c: ... here.
38461         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
38462         * sysdeps/pthread/posix-timer.h: ... here.
38463         * nptl/sysdeps/pthread/timer_create.c: Moved ...
38464         * sysdeps/pthread/timer_create.c: ... here.
38465         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
38466         * sysdeps/pthread/timer_delete.c: ... here.
38467         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
38468         * sysdeps/pthread/timer_getoverr.c: ... here.
38469         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
38470         * sysdeps/pthread/timer_gettime.c: ... here.
38471         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
38472         * sysdeps/pthread/timer_routines.c: ... here.
38473         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
38474         * sysdeps/pthread/timer_settime.c: ... here.
38475         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
38476         * sysdeps/pthread/tst-timer.c: ... here.
38477         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
38478         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
38480         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
38481         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
38483         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
38484         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
38485         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
38486         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
38487         Update #include target.
38488         * nptl/sysdeps/i386/i686/Makefile: Moved ...
38489         * sysdeps/i386/i686/nptl/Makefile: ... here.
38490         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
38491         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
38492         Update #include target.
38493         * nptl/sysdeps/i386/i686/tls.h: Moved ...
38494         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
38495         * nptl/sysdeps/i386/Makefile: Moved ...
38496         * sysdeps/i386/nptl/Makefile: ... here.
38497         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
38498         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
38499         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
38500         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
38501         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
38502         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
38503         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
38504         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
38505         * sysdeps/i386/nptl/pthreaddef.h: ... here.
38506         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
38507         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
38508         * nptl/sysdeps/i386/tls.h: Moved ...
38509         * sysdeps/i386/nptl/tls.h: ... here.
38511         * sysdeps/sh/Makefile [$(subdir) = csu]
38512         (gen-as-const-headers): Add tcb-offsets.sym.
38513         * nptl/sysdeps/sh/Makefile: File removed.
38514         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
38515         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
38516         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
38517         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
38518         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
38519         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
38520         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
38521         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
38522         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
38523         * sysdeps/sh/nptl/pthreaddef.h: ... here.
38524         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
38525         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
38526         * nptl/sysdeps/sh/tls.h: Moved ...
38527         * sysdeps/sh/nptl/tls.h: ... here.
38528         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
38529         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
38530         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
38531         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
38532         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
38533         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
38534         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
38535         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
38536         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
38537         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
38538         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
38539         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
38540         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
38541         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
38542         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
38543         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
38544         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
38545         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
38546         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
38547         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
38548         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
38549         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
38550         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
38551         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
38552         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
38553         Moved ...
38554         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
38555         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
38556         Moved ...
38557         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
38558         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
38559         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
38560         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
38561         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
38562         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
38563         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
38564         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
38565         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
38566         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
38567         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
38568         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
38569         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
38570         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
38571         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
38572         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
38573         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
38574         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
38575         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
38577 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38579         * posix/spawn_faction_addopen.c: Include string.h.
38581 2014-06-11  Roland McGrath  <roland@hack.frob.com>
38583         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
38584         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
38585         * nptl/sysdeps/x86_64/Makefile: Moved ...
38586         * sysdeps/x86_64/nptl/Makefile: ... here.
38587         * nptl/sysdeps/x86_64/configure: Moved ...
38588         * sysdeps/x86_64/nptl/configure: ... here.
38589         * nptl/sysdeps/x86_64/configure.ac: Moved ...
38590         * sysdeps/x86_64/nptl/configure.ac: ... here.
38591         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
38592         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
38593         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
38594         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
38595         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
38596         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
38597         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
38598         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
38599         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
38600         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
38601         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
38602         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
38603         * nptl/sysdeps/x86_64/tls.h: Moved ...
38604         * sysdeps/x86_64/nptl/tls.h: ... here.
38605         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
38606         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
38607         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
38608         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
38610         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
38612 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38616 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
38618         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
38619         type.
38620         [POSIX] (off_t): Likewise.
38621         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
38622         [POSIX] (S_ISBLK): Require macro.
38623         [POSIX] (S_ISCHR): Likewise.
38624         [POSIX] (S_ISDIR): Likewise.
38625         [POSIX] (S_ISFIFO): Likewise.
38626         [POSIX] (S_ISREG): Likewise.
38627         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
38628         optional-macro.
38629         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
38630         type.
38631         [POSIX] (time_t): Likewise.
38632         [POSIX] (timer_t): Likewise.
38634 2014-06-11  Florian Weimer  <fweimer@redhat.com>
38636         [BZ #17048]
38637         * posix/spawn_int.h (struct __spawn_action): Make the path string
38638         non-const to support deallocation.
38639         * posix/spawn_faction_addopen.c
38640         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
38641         * posix/spawn_faction_destroy.c
38642         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
38643         path in all spawn_do_open actions.
38644         * posix/tst-spawn.c (do_test): Exercise the copy operation in
38645         posix_spawn_file_actions_addopen.
38647 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
38649         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
38650         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
38651         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
38652         conditional code always true.
38653         (__libc_vfork): New alias.
38655 2014-06-11  Roland McGrath  <roland@hack.frob.com>
38657         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38658         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
38660         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
38662         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38663         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
38665         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
38666         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
38668         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38669         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
38671 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38673         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
38674         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
38675         multiarch strcmp for PPC64.
38676         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
38677         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
38678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
38679         multiarch optimizations.
38680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38681         (__libc_ifunc_impl_list): Likewise.
38683 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38685         * benchtests/scripts/validate_benchout.py: New script.
38686         * benchtests/Makefile (bench-func): Call it.
38687         * benchtests/scripts/benchout.schema.json: New file.
38689 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
38691         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
38692         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
38693         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
38694         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
38695         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
38696         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
38697         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
38698         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
38699         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
38700         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
38701         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
38702         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
38703         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
38704         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
38705         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
38706         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
38707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
38708         Moved ...
38709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
38710         ... here.
38711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
38712         Moved ...
38713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
38714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
38715         Moved ...
38716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
38717         ... here.
38718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
38719         Moved ...
38720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
38721         ... here.
38722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
38723         Moved ...
38724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
38725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
38726         Moved ...
38727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
38728         ... here.
38729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
38730         Moved ...
38731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
38732         ... here.
38733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
38734         Moved ...
38735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
38736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
38737         Moved ...
38738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
38739         ... here.
38740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
38741         Moved ...
38742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
38743         ... here.
38744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
38745         Moved ...
38746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
38747         ... here.
38748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
38749         Moved ...
38750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
38751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
38752         Moved ...
38753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
38754         ... here.
38755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
38756         Moved ...
38757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
38758         ... here.
38759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
38760         Moved ...
38761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
38762         ... here.
38763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
38764         Moved ...
38765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
38766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
38767         Moved ...
38768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
38769         ... here.
38770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
38771         Moved ...
38772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
38773         ... here.
38774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
38775         Moved ...
38776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
38777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
38778         Moved ...
38779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
38780         ... here.
38781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
38782         Moved ...
38783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
38784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
38785         Moved ...
38786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
38787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
38788         Moved ...
38789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
38790         ... here.
38791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
38792         Moved ...
38793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
38794         ... here.
38795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
38796         Moved ...
38797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
38798         ... here.
38799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
38800         Moved ...
38801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
38802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
38803         Moved ...
38804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
38805         ... here.
38806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
38807         Moved ...
38808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
38809         ... here.
38810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
38811         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
38812         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
38813         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
38814         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
38815         Moved ...
38816         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
38817         ... here.
38818         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
38819         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
38820         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
38821         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
38822         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
38823         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
38824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
38825         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
38826         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
38827         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
38828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
38829         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
38830         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
38831         Moved ...
38832         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
38833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
38834         Moved ...
38835         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
38836         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
38837         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
38838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
38839         Moved ...
38840         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
38841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
38842         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
38843         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
38844         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
38845         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
38846         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
38848 2014-06-10  Wilco  <wdijkstr@arm.com>
38850         * math/test-fenv-return.c: New file.
38851         * math/Makefile: Add new test test-fenv-return.
38853 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
38855         [BZ #17042]
38856         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
38857         when x - 1 is zero.
38858         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
38859         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
38860         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
38861         0.0L for an argument of 1.0L.
38862         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
38863         Likewise.
38864         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
38865         value when x - 1 is zero.
38866         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
38867         * sysdeps/i386/fpu/libm-test-ulps: Update.
38868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38870 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
38872         [BZ #15119]
38873         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
38875 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38877         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
38878         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
38880 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38882         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38883         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
38885         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38886         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
38888         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38889         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
38891         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38892         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
38894         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
38895         if not already defined.
38896         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
38897         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
38898         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
38899         (TLS_INIT_TP): Use it.
38900         (TLS_DEFINE_INIT_TP): New macro.
38901         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
38903 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
38905         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
38906         constant.
38907         [POSIX] (IXANY): Likewise.
38908         [POSIX] (OLCUC): Likewise.
38909         [POSIX || POSIX2008] (CBAUD): Do not allow.
38910         [POSIX || POSIX2008] (DEFECHO): Likewise.
38911         [POSIX || POSIX2008] (ECHOCTL): Likewise.
38912         [POSIX || POSIX2008] (ECHOKE): Likewise.
38913         [POSIX || POSIX2008] (ECHOPRT): Likewise.
38914         [POSIX || POSIX2008] (EXTA): Likewise.
38915         [POSIX || POSIX2008] (EXTB): Likewise.
38916         [POSIX || POSIX2008] (FLUSHO): Likewise.
38917         [POSIX || POSIX2008] (LOBLK): Likewise.
38918         [POSIX || POSIX2008] (PENDIN): Likewise.
38919         [POSIX || POSIX2008] (SWTCH): Likewise.
38920         [POSIX || POSIX2008] (VDISCARD): Likewise.
38921         [POSIX || POSIX2008] (VDSUSP): Likewise.
38922         [POSIX || POSIX2008] (VLNEXT): Likewise.
38923         [POSIX || POSIX2008] (VREPRINT): Likewise.
38924         [POSIX || POSIX2008] (VSTATUS): Likewise.
38925         [POSIX || POSIX2008] (VWERASE): Likewise.
38926         (B*): Change to B[0123456789]*.
38927         * conform/data/time.h-data [POSIX || UNIX98]
38928         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
38929         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38930         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
38931         [POSIX] (tm_*): Do not allow.
38933 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
38935         * Makefile (install): Don't set LANGUAGE.
38936         * Makefile.in (install): Likewise.
38937         * assert/Makefile (test-assert-ENV): Remove variable.
38938         (test-assert-perr-ENV): Likewise.
38939         * elf/Makefile (neededtest4-ENV): Likewise.
38940         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38941         [$(cross-compiling) = no]: Don't set LANGUAGE.
38942         * io/ftwtest-sh (LANG): Remove variable.
38943         * libio/Makefile (tst-widetext-ENV): Likewise.
38944         * manual/install.texi (Running make install): Don't refer to
38945         environment settings for make install.
38946         * INSTALL: Regenerated.
38947         * nptl/tst-tls6.sh: Don't set LANG.
38948         * posix/globtest.sh (LANG): Remove variable.
38949         * string/Makefile (tester-ENV): Likewise.
38950         (inl-tester-ENV): Likewise.
38951         (noinl-tester-ENV): Likewise.
38952         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38953         [$(cross-compiling) = no]: Don't set LANGUAGE.
38954         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38955         without explicit environment settings.
38957 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38959         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38960         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38961         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38962         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38964 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38966         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38967         other files in the crypt directory.
38968         * crypt/crypt.c: Remove duplicate includes.
38969         * crypt/crypt-entry.c: Likewise.
38970         * crypt/crypt_util.c: Likewise.
38972 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38974         * Makeconfig (run-program-env): New variable.
38975         (run-program-prefix-before-env): Likewise.
38976         (run-program-prefix-after-env): Likewise.
38977         (run-program-prefix): Define in terms of new variables.
38978         (built-program-cmd-before-env): New variable.
38979         (built-program-cmd-after-env): Likewise.
38980         (built-program-cmd): Define in terms of new variables.
38981         (test-program-prefix-before-env): New variable.
38982         (test-program-prefix-after-env): Likewise.
38983         (test-program-prefix): Define in terms of new variables.
38984         (test-program-cmd-before-env): New variable.
38985         (test-program-cmd-after-env): Likewise.
38986         (test-program-cmd): Define in terms of new variables.
38987         * Rules (make-test-out): Use $(run-program-env).
38988         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38989         (help): Do not mention environment variables.  Mention
38990         --timeoutfactor option.
38991         (timeoutfactor): New variable.
38992         (blacklist_exports): Remove function.
38993         (exports): Remove variable.
38994         (command): Do not include ${exports}.
38995         * manual/install.texi (Configuring and compiling): Do not mention
38996         test wrappers preserving environment variables.  Mention that last
38997         assignment to a variable must take precedence.
38998         * INSTALL: Regenerated.
38999         * benchtests/Makefile (run-bench): Use $(run-program-env).
39000         * catgets/Makefile ($(objpfx)test1.cat): Use
39001         $(built-program-cmd-before-env), $(run-program-env) and
39002         $(built-program-cmd-after-env).
39003         ($(objpfx)test2.cat): Do not specify environment variables
39004         explicitly.
39005         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39006         $(run-program-env) and $(built-program-cmd-after-env).
39007         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39008         $(run-program-env) and $(test-program-cmd-after-env).
39009         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39010         explicitly.
39011         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39012         run_program_env and test_program_cmd_after_env arguments.
39013         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39014         * elf/tst-pathopt.sh: Use run_program_env argument.
39015         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39016         $(test-wrapper-env) and $(run-program-env).
39017         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39018         run_program_env arguments.
39019         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39020         * intl/Makefile ($(objpfx)tst-gettext.out): Use
39021         $(test-program-prefix-before-env), $(run-program-env) and
39022         $(test-program-prefix-after-env).
39023         ($(objpfx)tst-gettext2.out): Likewise.
39024         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39025         run_program_env and test_program_prefix_after_env arguments.
39026         * intl/tst-gettext2.sh: Likewise.
39027         * intl/tst-gettext4.sh: Do not set environment variables
39028         explicitly.
39029         * intl/tst-gettext6.sh: Likewise.
39030         * intl/tst-translit.sh: Likewise.
39031         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39032         $(test-program-prefix-before-env), $(run-program-env) and
39033         $(test-program-prefix-after-env).
39034         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39035         run_program_env and test_program_prefix_after_env arguments.
39036         * math/Makefile (run-regen-ulps): Use $(run-program-env).
39037         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39038         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
39039         explicitly with each use of ${test_wrapper_env}.
39040         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39041         $(test-program-prefix-before-env), $(run-program-env) and
39042         $(test-program-prefix-after-env).
39043         * posix/tst-getconf.sh: Do not set environment variables
39044         explicitly.
39045         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39046         run_program_env and test_program_prefix_after_env arguments.
39047         * stdio-common/tst-printf.sh: Do not set environment variables
39048         explicitly.
39049         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39050         $(test-program-prefix-before-env), $(run-program-env) and
39051         $(test-program-prefix-after-env).
39052         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39053         run_program_env and test_program_prefix_after_env arguments.
39054         Split $test calls into $test_pre and $test.
39055         * timezone/Makefile (build-testdata): Use
39056         $(built-program-cmd-before-env), $(run-program-env) and
39057         $(built-program-cmd-after-env).
39059 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39061         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39062         strlen for non SHARED builds.
39064 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39066         * nptl/allocatestack.c (check_list): Inlined function...
39067         (__reclaim_stacks): ... here.
39069 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39071         [BZ #15698]
39072         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39073         memory overrun.
39075 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
39077         * Rules (make-test-out): Include
39078         LOCPATH=$(common-objpfx)localedata in default environment.
39079         * debug/Makefile (tst-chk1-ENV): Remove variable.
39080         (tst-chk2-ENV): Likewise.
39081         (tst-chk3-ENV): Likewise.
39082         (tst-chk4-ENV): Likewise.
39083         (tst-chk5-ENV): Likewise.
39084         (tst-chk6-ENV): Likewise.
39085         (tst-lfschk1-ENV): Likewise.
39086         (tst-lfschk2-ENV): Likewise.
39087         (tst-lfschk3-ENV): Likewise.
39088         (tst-lfschk4-ENV): Likewise.
39089         (tst-lfschk5-ENV): Likewise.
39090         (tst-lfschk6-ENV): Likewise.
39091         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39092         (tst-iconv7-ENV): Likewise.
39093         * intl/Makefile (LOCPATH-ENV): Likewise.
39094         (tst-codeset-ENV): Likewise.
39095         (tst-gettext3-ENV): Likewise.
39096         (tst-gettext5-ENV): Likewise.
39097         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39098         (tst-fopenloc-ENV): Likewise.
39099         (tst-fgetws-ENV): Remove variable.
39100         (tst-ungetwc1-ENV): Likewise.
39101         (tst-ungetwc2-ENV): Likewise.
39102         (bug-ungetwc2-ENV): Likewise.
39103         (tst-swscanf-ENV): Likewise.
39104         (bug-ftell-ENV): Likewise.
39105         (tst-fgetwc-ENV): Likewise.
39106         (tst-fseek-ENV): Likewise.
39107         (tst-ftell-partial-wide-ENV): Likewise.
39108         (tst-ftell-active-handler-ENV): Likewise.
39109         (tst-ftell-append-ENV): Likewise.
39110         * posix/Makefile (tst-fnmatch-ENV): Likewise.
39111         (tst-regexloc-ENV): Likewise.
39112         (bug-regex1-ENV): Likewise.
39113         (tst-regex-ENV): Likewise.
39114         (tst-regex2-ENV): Likewise.
39115         (bug-regex5-ENV): Likewise.
39116         (bug-regex6-ENV): Likewise.
39117         (bug-regex17-ENV): Likewise.
39118         (bug-regex18-ENV): Likewise.
39119         (bug-regex19-ENV): Likewise.
39120         (bug-regex20-ENV): Likewise.
39121         (bug-regex22-ENV): Likewise.
39122         (bug-regex23-ENV): Likewise.
39123         (bug-regex25-ENV): Likewise.
39124         (bug-regex26-ENV): Likewise.
39125         (bug-regex30-ENV): Likewise.
39126         (bug-regex32-ENV): Likewise.
39127         (bug-regex33-ENV): Likewise.
39128         (bug-regex34-ENV): Likewise.
39129         (bug-regex35-ENV): Likewise.
39130         (tst-rxspencer-ENV): Likewise.
39131         (tst-rxspencer-no-utf8-ENV): Likewise.
39132         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39133         (tst-sscanf-ENV): Likewise.
39134         (tst-swprintf-ENV): Likewise.
39135         (tst-swscanf-ENV): Likewise.
39136         (test-vfprintf-ENV): Likewise.
39137         (scanf13-ENV): Likewise.
39138         (bug14-ENV): Likewise.
39139         (tst-grouping-ENV): Likewise.
39140         * stdlib/Makefile (tst-strtod-ENV): Likewise.
39141         (tst-strtod3-ENV): Likewise.
39142         (tst-strtod4-ENV): Likewise.
39143         (tst-strtod5-ENV): Likewise.
39144         (testmb2-ENV): Likewise./
39145         * string/Makefile (tst-strxfrm-ENV): Likewise.
39146         (tst-strxfrm2-ENV): Likewise.
39147         (bug-strcoll1-ENV): Likewise.
39148         (test-strcasecmp-ENV): Likewise.
39149         (test-strncasecmp-ENV): Likewise.
39150         * time/Makefile (tst-strptime-ENV): Likewise.
39151         (tst-ftime_l-ENV): Likewise.
39152         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39153         (tst-mbrtowc-ENV): Likewise.
39154         (tst-wcrtomb-ENV): Likewise.
39155         (tst-mbrtowc2-ENV): Likewise.
39156         (tst-c16c32-1-ENV): Likewise.
39157         (tst-mbsnrtowcs-ENV): Likewise.
39159 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39161         * manual/resource.texi (How to get information about the memory
39162         subsystem?): Fix typo.
39163         Reported by Peon de la Parra Ivan <peon@keba.com>
39165 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
39167         [BZ #16882]
39168         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39169         (pthread_spin_lock): Branch out of spin loop to proper location.
39170         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39171         (pthread_spin_lock): Likewise.
39173         * nptl/tst-spin4.c: New test.
39174         * nptl/Makefile (tests): Add tst-spin4.
39176 2014-06-03  Andreas Schwab  <schwab@suse.de>
39178         [BZ #15946]
39179         * resolv/res_send.c (send_dg): Reload file descriptor after
39180         calling reopen.
39182 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
39184         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39186 2014-06-03  Richard Henderson  <rth@redhat.com>
39188         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39189         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39190         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39191         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
39192         in the SAVE_PID block.
39193         (__libc_vfork): New alias.
39194         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39196         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39197         child in registers, not on the stack.  Remove RESET_PID conditionals.
39198         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39200 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39202         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39204 2014-06-03  Wilco  <wdijkstr@arm.com>
39206         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39207         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39208         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39209         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39210         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39211         Likewise.
39213 2014-06-03  Wilco  <wdijkstr@arm.com>
39215         * sysdeps/aarch64/fpu/math_private.h
39216         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39217         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39218         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39219         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39220         Fix declarations.
39222 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39224         * crypt/crypt-private.h: Include ufc-crypt.h.
39225         (__b64_from_24bit): Declare extern.
39226         * crypt/crypt_util.c(__b64_from_24bit): New function.
39227         (b64t): New static const variable.
39228         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
39229         (b64t): Remove variable.
39230         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
39231         * crypt/sha256-crypt.c: Include crypt-private.h.
39232         (b64t): Remove variable.
39233         (__sha256_crypt_r): Remove b64_from_24bit and replace
39234         with __b64_from_24bit.
39235         * crypt/sha512-crypt.c: Likewise.
39237 2014-06-02  Roland McGrath  <roland@hack.frob.com>
39239         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
39240         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
39241         Label the code __libc_vfork rather than __vfork.
39242         [!NOT_IN_libc] (vfork): Define as weak alias.
39243         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
39244         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
39245         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
39247 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39249         * malloc/malloc.c (malloc_info): Fix format specifier for
39250         n_mmaps.
39252 2014-06-02  Wilco  <wdijkstr@arm.com>
39254         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
39255         FPCR write.
39257 2014-06-02  Wilco  <wdijkstr@arm.com>
39259         [BZ #17009]
39260         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
39261         Rewrite to reduce FPCR/FPSR accesses.
39263 2014-06-01  David S. Miller  <davem@davemloft.net>
39265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39267 2014-05-31  David S. Miller  <davem@davemloft.net>
39269         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
39270         to occur in round to nearest mode when |x| >= 2.0
39272 2014-05-30  Richard Henderson  <rth@twiddle.net>
39274         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
39275         (PSEUDO_RET_NOERRNO): Remove.
39276         (ret): Don't redefine.
39277         (ret_NOERRNO): Define in terms of ret.
39278         (ret_ERRVAL): Likewise.
39280         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
39281         use of PSEUDO_RET; perform the error check directly.
39283 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
39285         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
39286         with __int128_t.
39288 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39290         * malloc/malloc (malloc_info): Fix formatting.
39292 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39293             Roland McGrath  <roland@hack.frob.com>
39295         * malloc/malloc (malloc_info): Also print mmapped statistics.
39297 2014-05-30  Roland McGrath  <roland@hack.frob.com>
39299         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
39300         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
39302 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
39304         * malloc/malloc.c (malloc_info): Inline mi_arena.
39306 2014-05-29  Richard Henderson  <rth@twiddle.net>
39308         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
39309         Remove comma before expanding ASM_ARGS_##nr.
39310         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
39311         Make _x0 a strict output; make _x8 a strict input; adjust expansion
39312         of ASM_ARGS_##nr.
39313         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
39314         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
39315         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
39316         (ASM_ARGS_1): Add leading comma.
39318         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
39319         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
39320         to __errno_location.
39321         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
39322         Remove the expected plt for __errno_location.
39324         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39325         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
39326         call to __read_tp.
39328         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39329         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
39330         it and break it down.
39331         (DOCARGS_0, DOCARGS_1): Do nothing.
39332         (DOCARGS_2): Update to store into the new stack frame.
39333         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
39334         (UNDOCARGS_1): Update to restore from the new stack frame.
39335         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
39336         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
39338         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39339         (SINGLE_THREAD_P): New parameter for result regno.
39340         (PSEUDO): Update to match; use cbz instead of beq.
39342         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39343         Use ENTRY to define the _nocancel entry point.  Share the syscall
39344         and syscall error check paths with the cancel path.
39345         (PSEUDO_END): New.
39347         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
39348         whitespace; tabs before and after asm mnemonics.
39350 2014-05-29  Eric Wong  <normalperson@yhbt.net>
39352         [BZ #15132]
39353         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39354         Call fstat64 or stat64 internally, depending on arguments passed.
39355         Replace stat buffer argument with file descriptor argument.
39356         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
39357         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
39358         Pass fd to __internal_statvfs instead of calling fstat64.
39359         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
39360         Pass fd to __internal_statvfs64 instead of calling fstat64.
39361         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
39362         Pass -1 to __internal_statvfs instead of calling stat64.
39363         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
39364         Pass -1 to __internal_statvfs64 instead of calling stat64.
39366 2014-05-28  Roland McGrath  <roland@hack.frob.com>
39368         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
39369         that was previously under [RESET_PID].
39370         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
39372         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
39373         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
39375 2014-05-27  Roland McGrath  <roland@hack.frob.com>
39377         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
39379         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
39380         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
39382 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
39384         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
39386 2014-05-27  Andreas Schwab  <schwab@suse.de>
39388         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
39389         TLS_INIT_TP macro.
39390         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
39391         * elf/rtld.c (init_tls, dl_main): Likewise.
39392         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
39393         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
39394         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
39395         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
39396         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
39397         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
39398         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
39399         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
39400         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
39401         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
39402         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
39403         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
39404         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
39405         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
39406         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
39407         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
39408         * sysdeps/generic/tls.h: Update description.
39410 2014-05-27  Will Newton  <will.newton@linaro.org>
39412         [BZ #16990]
39413         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
39414         and restore r2 rather than just restoring.
39416 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39418         [BZ #16724]
39419         * libio/tst-ftell-append.c: New test case.
39420         * libio/Makefile (tests): Add test case.
39421         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
39422         append mode.
39423         * libio/wfileops.c (do_ftell_wide): Likewise.
39425 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39429         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
39430         ...
39431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
39432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39433         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
39434         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
39435         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
39436         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
39437         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
39438         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
39439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
39440         Moved ...
39441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
39442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39443         Moved ...
39444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
39445         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
39446         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
39447         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
39448         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
39449         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
39450         ...
39451         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
39452         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
39453         Moved ...
39454         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
39455         here.
39456         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
39457         ...
39458         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
39459         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
39460         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
39462         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
39463         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
39464         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
39465         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
39467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
39468         merge into ...
39469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
39470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
39471         ...
39472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
39473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
39474         ...
39475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
39476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39477         Moved ...
39478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
39479         here.
39480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39481         Moved ...
39482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
39483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39484         Moved ...
39485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
39487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
39488         conditional [RESET_PID].
39489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
39490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
39491         removed.
39492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
39493         removed.
39495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
39496         <tcb-offsets.h>.
39497         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39498         (__libc_vfork): New strong alias.
39499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
39500         removed.
39501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
39502         Removed.
39504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
39505         <tcb-offsets.h>.
39506         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
39507         (__libc_vfork): New strong alias.
39508         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
39509         removed.
39510         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
39511         removed.
39513 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
39515         * malloc/malloc.c (mi_arena): New function.
39516         (malloc_info): Remove nested function mi_arena. Call non-nosted
39517         function mi_arena.
39519 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39521         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
39522         by insrwi.
39523         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
39524         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
39525         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
39526         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
39527         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
39528         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
39529         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
39531 2014-05-26  Andreas Schwab  <schwab@suse.de>
39533         [BZ #16984]
39534         * locale/programs/repertoire.c (repertoire_read): Add slash
39535         between I18NPATH element and file name.
39536         * locale/programs/locfile.c (locfile_read): Likewise.
39538 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
39540         * nptl/pthread_mutexattr_settype.c
39541         (__pthread_mutexattr_settype):
39542         Disable lock elision for PTHREAD_MUTEX_NORMAL.
39544 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
39546         * nptl/tst-mutex5 (do_test):
39547         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
39549 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39551         * benchtests/README: Document 'init' directive.
39552         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
39553         BENCH_INIT.
39554         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
39555         (parse_file): Recognize 'init' directive.
39557 2014-05-26  Kyle McMartin  <kyle@redhat.com>
39559         [BZ #16796]
39560         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
39561         alignment of struct pthread.
39563 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39565         [BZ #16878]
39566         * nscd/netgroupcache.c (addgetnetgrentX): Look for
39567         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
39568         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
39569         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
39571 2014-05-25  Richard Henderson  <rth@twiddle.net>
39573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39574         (SINGLE_THREAD_P_PIC): Remove.
39575         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
39576         (SINGLE_THREAD_P_PIC): Remove.
39578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
39579         branch to syscall error ...
39580         (PSEUDO): ... here.
39581         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
39582         from __local_syscall_error to .Lsyscall_error.
39583         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
39584         (SYSCALL_ERROR): Update label name.
39586         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39587         Do not use DOARGS/UNDOARGS.
39588         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
39589         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
39590         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
39591         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
39592         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
39594         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
39595         block comment.
39597         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
39598         define if !NOT_IN_libc.
39599         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
39600         define with non-default symbol versions.
39602 2014-05-23  Richard Henderson  <rth@twiddle.net>
39604         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
39605         (vfork, __vfork): Define via compat_symbol.
39607         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
39608         [!HAVE_IFUNC] (vfork_compat): Remove.
39609         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
39611 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
39613         [BZ #16978]
39614         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
39615         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
39616         variable.
39618 2014-05-23  Richard Henderson  <rth@twiddle.net>
39620         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
39621         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
39622         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
39623         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
39625         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
39626         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
39627         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
39628         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
39629         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
39630         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
39631         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
39632         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
39633         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
39634         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
39635         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
39636         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
39637         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
39638         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
39639         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
39640         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
39641         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
39642         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
39643         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
39644         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
39645         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
39646         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
39647         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
39648         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
39649         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
39650         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
39651         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
39652         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
39653         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
39654         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
39655         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
39656         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
39657         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
39658         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
39659         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
39660         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
39661         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
39662         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
39663         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
39664         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
39665         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
39666         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
39667         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
39668         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
39669         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
39670         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
39671         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
39672         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
39673         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
39674         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
39675         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
39676         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
39677         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
39678         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
39679         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
39680         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
39682         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
39683         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
39684         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
39685         before exiting on error.
39686         (__libc_vfork): New strong alias.
39687         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
39688         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
39690         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
39691         that was previously under [RESET_PID].
39692         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
39694         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
39696 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
39698         [BZ #16977]
39699         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
39700         value when x - 1 is zero.
39701         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
39702         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
39703         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
39704         0.0L for an argument of 1.0L.
39705         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
39706         Likewise.
39707         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
39708         value when x - 1 is zero.
39709         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
39710         * sysdeps/i386/fpu/libm-test-ulps: Update.
39711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39713 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39715         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
39716         alphasort and versionsort.
39718 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39720         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
39721         macro.
39722         [copysignf]: Likewise.
39724 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39726         * crypt/md5-crypt.c: Fix formatting.
39728 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39730         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
39731         (b64_from_24bit): New function.
39733 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39735         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
39736         libc_hidden_builtin_def to ifunc.
39737         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39738         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
39740 2014-05-21  Roland McGrath  <roland@hack.frob.com>
39742         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
39743         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
39745 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
39747         * nscd/Depend (linuxthreads): Remove.
39748         (nptl): Add.
39749         * resolv/Depend (linuxthreads): Remove.
39750         * rt/Depend (linuxthreads): Remove.
39752         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
39753         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
39754         $(common-objpfx)elf/.
39755         (link-libc-before-gnulib): Likewise.
39756         (elfobjdir): Remove variable.
39757         * Makefile (install): Use $(elf-objpfx) instead of
39758         $(common-objpfx)elf/.
39759         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
39760         $(elfobjdir)/.
39761         (link-libc-deps): Likewise.
39762         ($(common-objpfx)libc.so): Likewise.
39763         ($(common-objpfx)linkobj/libc.so): Likewise.
39764         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
39765         instead of $(common-objpfx)elf/.
39766         (symbolic-link-list): Likewise.
39767         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39768         [$(cross-compiling) = no]: Likewise.
39769         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
39770         $(elfobjdir)/.
39771         (static-gnulib-arch): Likewise.
39772         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39773         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
39774         $(common-objpfx)elf/.
39776 2014-05-21  Richard Henderson  <rth@redhat.com>
39778         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39779         (SINGLE_THREAD_P): Use the correct width load.  Fold
39780         into the ldr offset.
39782         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
39783         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
39785 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
39787         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
39788         (libgcc_s_resume): Use __attribute_used__.
39789         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
39790         Likewise.
39792 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39794         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
39795         optimization when used with float constants.
39797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39799 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
39801         [BZ #16915]
39802         * locale/nl_langinfo_l.c: Make direct reference to every
39803         _nl_current_CATEGORY symbol.
39804         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
39805         (tests-static): Add tst-langinfo-static.
39806         (tests-special): Add tst-langinfo-static.out.
39807         ($(objpfx)tst-langinfo.out): Redirect output.
39808         ($(objpfx)tst-langinfo-static.out): New.
39809         * localedata/tst-langinfo.sh: Send output to stdout.
39810         * localedata/tst-langinfo-static.c: New file.
39812         [BZ #16965]
39813         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
39814         when the shift amount is modulo the limb size.
39816 2014-05-20  Richard Henderson  <rth@redhat.com>
39818         [BZ #16967]
39819         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
39820         Change type of sa_flags from unsigned int to int.
39822         [BZ #16966]
39823         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
39825         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
39827 2014-05-20  Will Newton  <will.newton@linaro.org>
39829         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39830         Test the return value of the system call in the nocancel case.
39832 2014-05-20  Will Newton  <will.newton@linaro.org>
39833             Yvan Roux  <yvan.roux@linaro.org>
39835         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
39836         #include of asm/ptrace.h.
39837         (PTRACE_GET_THREAD_AREA): Remove #undef.
39838         (PTRACE_GETHBPREGS): Likewise.
39839         (PTRACE_SETHBPREGS): Likewise.
39840         (struct user_regs_struct): New structure.
39841         (struct user_fpsimd_struct): New structure.
39842         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
39843         #include of asm/ptrace.h and second #include of sys/user.h.
39844         (PTRACE_GET_THREAD_AREA): Remove #undef.
39845         (PTRACE_GETHBPREGS): Likewise.
39846         (PTRACE_SETHBPREGS): Likewise.
39847         (ELF_NGREG): Use new struct user_regs_struct.
39848         (elf_fpregset_t): Use new struct user_fpsimd_struct.
39850 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39852         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
39853         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
39855 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
39857         [BZ #16958]
39858         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
39859         membar to avoid block loads/stores to overlap previous stores.
39861 2014-05-17  Richard Henderson  <rth@redhat.com>
39863         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
39864         Create the __##syscall_name##_nocancel entry point.
39865         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
39866         Remove; let the sysdep-cancel.h code create it.
39868 2014-05-17  David S. Miller  <davem@davemloft.net>
39870         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
39871         Protect with __USE_GNU.
39872         (TIOCSET_TEMPT): Likewise.
39873         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39874         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
39875         these are already provided in bits/ioctl-types.h
39877 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39879         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
39880         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
39882         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
39883         Use wait4 regardless of [__NR_waitpid].
39885 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39887         PR libgcc/60166
39888         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39889         (_FP_NANSIGN_Q): Set the quiet bit.
39891 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
39893         * benchtests/Makefile
39894         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
39895         not $(common-objpfx)math/libm.so.
39896         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
39897         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
39898         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
39899         $(common-objpfx)dlfcn/libdl.so.
39900         ($(objpfx)tst-audit8): Depend on $(libm), not
39901         $(common-objpfx)math/libm.so.
39902         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
39903         not $(common-objpfx)dlfcn/libdl.so.
39904         * math/Makefile
39905         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39906         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
39907         [$(build-shared) = yes].
39908         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
39909         $(common-objpfx)nptl/libpthread.so.
39910         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
39911         $(common-objpfx)math/libm.so$(libm.so-version) or
39912         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
39913         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
39914         $(common-objpfx)dlfcn/libdl.so.
39915         * setjmp/Makefile (link-libm): Remove variable.
39916         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
39917         * stdio-common/Makefile (link-libm): Remove variable.
39918         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
39919         * stdlib/Makefile (link-libm): Remove variable.
39920         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
39921         ($(objpfx)tst-strtod-round): Likewise.
39922         ($(objpfx)tst-tininess): Likewise.
39923         ($(objpfx)tst-strtod-underflow): Likewise.
39924         ($(objpfx)tst-strtod6): Likewise.
39925         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
39926         $(libdl), not $(common-objpfx)nptl/libpthread.so and
39927         $(common-objpfx)dlfcn/libdl.so.
39929 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39931         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
39932         BSD terminal modes definitions.
39934 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39936         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
39937         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
39939         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
39940         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
39941         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39942         Don't do #include_next.
39943         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39944         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39945         Don't do #include_next.
39946         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39947         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39948         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39949         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39951 2014-05-16  Allan McRae  <allan@archlinux.org>
39953         * po/sv.po: Update Swedish translation from translation project.
39955         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39956         in sed expression.
39958 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39960         [BZ #16917]
39961         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39962         errno if the TIOCGPTN ioctl fails with an error different than
39963         EINVAL.
39964         * login/tst-ptsname.c: New file.
39965         * login/Makefile (tests): Add tst-ptsname.
39967         [BZ #16943]
39968         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39969         and prlimit64.
39971 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39973         [BZ #16849]
39974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39975         herrno to return EAI_AGAIN.
39977 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39979         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39980         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39981         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39982         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39983         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39984         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39985         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39986         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39987         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39988         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39989         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39990         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39991         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39992         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39993         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39994         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39995         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39996         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39997         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39998         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39999         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40000         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40001         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40002         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40003         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40004         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40005         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40006         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40007         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40008         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40010         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40012         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40014         Moved ...
40015         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40017         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40019         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40021         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40023         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40025         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40027         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40029         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40031         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40033         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40035         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40037         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40039         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40041         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40043         Moved ...
40044         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40046         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40048         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40050         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40052         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40054         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40056         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40058         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40060         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40062         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40064         Moved ...
40065         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40067         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40069         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40070         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40071         (libpthread-sysdep_routines): Add elision-related stuff here instead.
40072         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40073         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40074         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40075         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40076         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40077         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40078         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40079         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40080         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40081         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40082         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40083         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40084         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40085         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40086         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40087         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40088         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40089         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40090         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40091         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40092         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40093         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40094         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40095         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40096         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40097         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40098         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40099         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40101         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40102         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40104         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40105         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40106         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40107         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40108         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40109         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40110         Moved ...
40111         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40112         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40113         Moved ...
40114         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40116         Moved ...
40117         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40118         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40119         Moved ...
40120         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40121         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40122         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40123         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40124         Moved ...
40125         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40126         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40127         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40128         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40129         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40130         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40131         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40132         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40133         Moved ...
40134         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40135         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40136         Moved ...
40137         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40138         ... here.
40139         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40140         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40141         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40142         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40144         Moved ...
40145         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40146         ... here.
40147         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40148         Moved ...
40149         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40150         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40151         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40152         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40153         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40154         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40155         Moved ...
40156         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40157         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40158         Moved ...
40159         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40161         Moved ...
40162         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40163         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40164         Moved ...
40165         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40166         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40167         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40168         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40169         Moved ...
40170         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40171         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40172         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40173         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40174         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40175         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40176         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40177         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40178         Moved ...
40179         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40180         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40181         Moved ...
40182         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40183         ... here.
40184         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40185         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40186         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40187         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40189         Moved ...
40190         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40191         ... here.
40192         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40193         Moved ...
40194         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40195         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40196         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40197         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40198         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40199         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40200         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40201         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40202         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40203         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40204         Moved ...
40205         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40206         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40207         Moved ...
40208         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40209         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40210         Moved ...
40211         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40212         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40213         Moved ...
40214         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40215         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40216         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40217         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40218         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40219         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40220         Moved ...
40221         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40222         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40223         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
40224         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
40225         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
40226         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
40227         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
40228         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
40229         Moved ...
40230         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
40231         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40232         Moved ...
40233         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40234         ... here.
40235         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
40236         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
40237         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
40238         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
40239         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40240         Moved ...
40241         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40242         ... here.
40243         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
40244         Moved ...
40245         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
40246         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
40247         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
40248         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
40249         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
40250         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
40251         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
40252         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
40253         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
40254         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
40255         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
40257         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
40258         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
40260         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
40261         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
40263         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
40264         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
40265         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
40266         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
40267         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
40268         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
40269         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
40270         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
40271         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
40272         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
40273         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
40274         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
40275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
40276         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
40277         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
40278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
40279         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
40280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
40281         Moved ...
40282         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
40283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
40284         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
40285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
40286         Moved ...
40287         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
40288         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
40289         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
40290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
40291         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
40292         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
40293         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
40294         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
40295         Moved ...
40296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
40297         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
40298         Moved ...
40299         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
40300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
40301         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
40302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
40303         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
40304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
40305         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
40306         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
40307         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
40308         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
40309         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
40310         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
40311         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
40312         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
40313         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
40314         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
40315         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
40317         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
40318         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
40319         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
40320         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
40321         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
40323         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
40324         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
40325         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
40326         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
40327         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
40328         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
40329         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
40330         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
40331         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
40332         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
40334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
40335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
40337         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
40338         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
40339         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
40340         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
40341         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
40342         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
40343         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
40344         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
40345         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
40346         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
40347         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
40348         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
40349         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
40350         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
40351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
40352         Update #include.
40353         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
40354         Likewise.
40355         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40356         Likewise.
40357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40358         Likewise.
40359         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40360         Likewise.
40361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
40362         Likewise.
40363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
40364         Likewise.
40365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
40366         Likewise.
40367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
40368         Likewise.
40369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
40370         Likewise.
40371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
40372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
40373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
40374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
40375         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
40376         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
40377         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
40378         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
40379         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
40380         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
40381         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
40382         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
40383         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
40384         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
40385         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
40387         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
40388         that was previously under [RESET_PID].
40389         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40390         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
40391         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
40393         * sysdeps/i386/nptl/Implies: New file.
40394         * sysdeps/x86_64/nptl/Implies: New file.
40395         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
40396         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
40397         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
40398         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
40400         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
40401         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40402         (__libc_vfork): New strong alias.
40403         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
40404         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
40406         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
40407         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40408         (__libc_vfork): New strong alias.
40409         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
40410         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
40412         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
40413         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40414         (__libc_vfork): New strong alias.
40415         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
40416         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
40417         * nptl/pt-vfork.c: New file.
40418         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
40419         (libpthread: GLIBC_2.20): New version set (empty).
40421 2014-05-14  Will Newton  <will.newton@linaro.org>
40423         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
40424         rather than #if.
40426 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
40428         [BZ #16564]
40429         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
40430         arguments with exponent 65 or above.
40431         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
40432         arguments 0x1p113L or above.
40433         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
40434         to arguments 0x1p107L or above.
40435         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
40436         positive arguments with exponent 65 or above.
40437         * math/auto-libm-test-in: Add more tests of log1p.
40438         * math/auto-libm-test-out: Regenerated.
40440         [BZ #16928]
40441         * math/s_cacos.c (__cacos): Ensure zero real part of result from
40442         non-finite arguments is +0.
40443         * math/s_cacosf.c (__cacosf): Likewise.
40444         * math/s_cacosl.c (__cacosl): Likewise.
40445         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
40446         * sysdeps/i386/fpu/libm-test-ulps: Update.
40447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40449         [BZ #16927]
40450         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
40451         value.
40452         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
40453         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
40454         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
40455         for explicit high bit of mantissa when testing for argument equal
40456         to 1.
40457         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
40458         * sysdeps/i386/fpu/libm-test-ulps: Update.
40459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40461         [BZ #16516]
40462         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
40463         (__erf): Scale by 16 instead of 8 in potentially underflowing
40464         case.  Ensure exception if result actually underflows.
40465         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
40466         (__erff): Scale by 16 instead of 8 in potentially underflowing
40467         case.  Ensure exception if result actually underflows.
40468         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
40469         (efx8): Remove variable.
40470         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40471         case.  Ensure exception if result actually underflows.
40472         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
40473         (efx8): Remove variable.
40474         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40475         case.  Ensure exception if result actually underflows.
40476         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
40477         (efx8): Remove variable.
40478         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40479         case.  Ensure exception if result actually underflows.
40480         * math/auto-libm-test-in: Add more tests of erf.
40481         * math/auto-libm-test-out: Regenerated.
40483 2014-05-14  Andreas Schwab  <schwab@suse.de>
40485         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
40486         Remove code conditionalized on USE___THREAD.
40488         * config.h.in (HAVE_PT_CHOWN): Define as 0.
40489         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
40490         not definedness.
40492 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
40494         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
40495         Define unconditionally.
40496         (__ASSUME_O_CLOEXEC): Likewise.
40497         (__ASSUME_SOCK_CLOEXEC): Likewise.
40498         (__ASSUME_IN_NONBLOCK): Likewise.
40499         (__ASSUME_PIPE2): Likewise.
40500         (__ASSUME_EVENTFD2): Likewise.
40501         (__ASSUME_SIGNALFD4): Likewise.
40502         (__ASSUME_DUP3): Likewise.
40503         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40504         (__ASSUME_DUP3): Do not define.
40505         (__ASSUME_EVENTFD2): Likewise.
40506         (__ASSUME_IN_NONBLOCK): Likewise.
40507         (__ASSUME_O_CLOEXEC): Likewise.
40508         (__ASSUME_PIPE2): Likewise.
40509         (__ASSUME_SIGNALFD4): Likewise.
40510         (__ASSUME_SOCK_CLOEXEC): Likewise.
40511         (__ASSUME_UTIMES): Undefine.
40512         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40513         (__ASSUME_UTIMES): Do not define.
40514         (__ASSUME_O_CLOEXEC): Likewise.
40515         (__ASSUME_SOCK_CLOEXEC): Likewise.
40516         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
40517         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
40518         0x020621].
40519         (__ASSUME_PIPE2): Likewise.
40520         (__ASSUME_EVENTFD2): Likewise.
40521         (__ASSUME_SIGNALFD4): Likewise.
40522         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
40523         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
40524         Do not define.
40525         (__ASSUME_EVENTFD2): Likewise.
40526         (__ASSUME_SIGNALFD4): Likewise.
40527         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40528         (__ASSUME_32BITUIDS): Likewise.
40529         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40530         (__ASSUME_IPC64): Likewise.
40531         (__ASSUME_ST_INO_64_BIT): Likewise.
40532         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
40533         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
40534         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40535         (__ASSUME_UTIMES): Do not define.
40536         (__ASSUME_PSELECT): Likewise.
40537         (__ASSUME_PPOLL): Likewise.
40538         (__ASSUME_O_CLOEXEC): Likewise.
40539         (__ASSUME_SOCK_CLOEXEC): Likewise.
40540         (__ASSUME_IN_NONBLOCK): Likewise.
40541         (__ASSUME_PIPE2): Likewise.
40542         (__ASSUME_EVENTFD2): Likewise.
40543         (__ASSUME_SIGNALFD4): Likewise.
40544         (__ASSUME_DUP3): Likewise.
40545         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40546         (__ASSUME_UTIMES): Likewise.
40547         (__ASSUME_O_CLOEXEC): Likewise.
40548         (__ASSUME_SOCK_CLOEXEC): Likewise.
40549         (__ASSUME_IN_NONBLOCK): Likewise.
40550         (__ASSUME_PIPE2): Likewise.
40551         (__ASSUME_EVENTFD2): Likewise.
40552         (__ASSUME_SIGNALFD4): Likewise.
40553         (__ASSUME_DUP3): Likewise.
40554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40555         (__ASSUME_UTIMES): Likewise.
40556         (__ASSUME_O_CLOEXEC): Likewise.
40557         (__ASSUME_SOCK_CLOEXEC): Likewise.
40558         (__ASSUME_IN_NONBLOCK): Likewise.
40559         (__ASSUME_PIPE2): Likewise.
40560         (__ASSUME_EVENTFD2): Likewise.
40561         (__ASSUME_SIGNALFD4): Likewise.
40562         (__ASSUME_DUP3): Likewise.
40563         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
40564         Likewise.
40565         (__ASSUME_UTIMES): Likewise.
40566         (__ASSUME_EVENTFD2): Likewise.
40567         (__ASSUME_SIGNALFD4): Likewise.
40568         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40569         (__ASSUME_O_CLOEXEC): Likewise.
40570         (__ASSUME_SOCK_CLOEXEC): Likewise.
40571         (__ASSUME_IN_NONBLOCK): Likewise.
40572         (__ASSUME_PIPE2): Likewise.
40573         (__ASSUME_EVENTFD2): Likewise.
40574         (__ASSUME_SIGNALFD4): Likewise.
40575         (__ASSUME_DUP3): Likewise.
40576         (__ASSUME_UTIMES): Undefine.
40578         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
40579         feclearexcept.  Remove symbol versioning code.
40580         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
40581         symbol versioning code.
40582         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
40583         symbol versioning code.
40584         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
40585         feupdateenv.  Remove symbol versioning code.
40586         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
40587         fegetexceptflag.  Remove symbol versioning code.
40588         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
40589         fesetexceptflag.  Remove symbol versioning code.
40590         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
40591         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
40592         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
40593         (__posix_fadvise64_l32): Remove prototype.
40594         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
40595         code.
40597 2014-05-13  Roland McGrath  <roland@hack.frob.com>
40599         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
40600         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
40601         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
40602         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
40604 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
40606         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
40607         current working directory
40609 2014-05-13  Roland McGrath  <roland@hack.frob.com>
40611         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
40612         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
40613         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
40614         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
40615         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
40616         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
40617         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
40618         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
40619         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
40620         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
40621         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
40622         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
40623         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
40624         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
40625         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
40626         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
40627         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
40628         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
40629         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
40630         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
40631         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
40632         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
40633         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
40634         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
40635         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
40636         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
40637         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
40638         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
40639         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
40640         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
40641         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
40642         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
40643         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
40644         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
40645         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
40646         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
40647         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
40648         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
40649         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
40650         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
40651         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
40652         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
40654         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
40655         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
40657         * sysdeps/unix/sysv/linux/arm/Makefile
40658         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40659         Add rt-aeabi_unwind_cpp_pr1.
40660         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
40661         Add nptl-aeabi_unwind_cpp_pr1.
40662         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
40663         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
40664         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
40665         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40666         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
40667         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40669         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
40670         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
40671         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
40672         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
40674         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
40675         Deconditionalize the code that was previously under [RESET_PID].
40676         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
40678         * sysdeps/generic/exit-thread.h: New file.
40679         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
40680         * include/unistd.h (__exit_thread): Remove declaration.
40681         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
40682         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
40683         * csu/libc-start.c: Include <exit-thread.h>.
40684         (LIBC_START_MAIN): Pass no argument to __exit_thread.
40685         * nptl/pthread_create.c: Include <exit-thread.h>.
40686         (start_thread): Call __exit_thread in place of __exit_thread_inline.
40687         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
40688         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
40689         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
40690         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
40691         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
40692         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
40693         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
40694         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
40695         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
40696         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
40697         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
40698         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
40699         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
40700         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
40701         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
40702         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
40704 2014-05-13  Andreas Schwab  <schwab@suse.de>
40706         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
40708 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
40710         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40711         (__ASSUME_UTIMES): Do not condition on kernel version.
40712         (__ASSUME_PSELECT): Define unconditionally.
40713         (__ASSUME_PPOLL): Likewise.
40714         (__ASSUME_ATFCTS): Likewise.
40715         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
40716         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
40717         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
40718         (__ASSUME_UTIMENSAT): Define unconditionally.
40719         (__ASSUME_PRIVATE_FUTEX): Likewise.
40720         (__ASSUME_FALLOCATE): Likewise.
40721         (__ASSUME_O_CLOEXEC): Likewise.
40722         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
40723         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
40724         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
40725         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
40726         (__ASSUME_IN_NONBLOCK): Likewise.
40727         (__ASSUME_PIPE2): Likewise.
40728         (__ASSUME_EVENTFD2): Likewise.
40729         (__ASSUME_SIGNALFD4): Likewise.
40730         (__ASSUME_DUP3): Likewise.
40731         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40732         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
40733         (__ASSUME_AT_RANDOM): Likewise.
40734         (__ASSUME_PREADV): Likewise.
40735         (__ASSUME_PWRITEV): Likewise.
40736         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
40737         (__ASSUME_F_GETOWN_EX): Define unconditionally.
40738         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
40739         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40740         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
40741         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40742         (__ASSUME_O_CLOEXEC): Define unconditionally.
40743         (__ASSUME_PSELECT): Do not undefine conditionally.
40744         (__ASSUME_PPOLL): Likewise.
40745         (__ASSUME_ATFCTS): Likewise.
40746         (__ASSUME_SET_ROBUST_LIST): Likewise.
40747         (__ASSUME_UTIMENSAT): Likewise.
40748         (__ASSUME_FDATASYNC): Define unconditionally.
40749         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40750         (__ASSUME_SIGFRAME_V2): Likewise.
40751         )__ASSUME_EVENTFD2): Likewise.
40752         (__ASSUME_SIGNALFD4): Likewise.
40753         (__ASSUME_PSELECT): Do not undefine conditionally.
40754         (__ASSUME_PPOLL): Likewise.
40755         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40756         (__ASSUME_PSELECT): Define unconditionally.
40757         (__ASSUME_PPOLL): Likewise.
40758         (__ASSUME_O_CLOEXEC): Likewise.
40759         (__ASSUME_SOCK_CLOEXEC): Likewise.
40760         (__ASSUME_IN_NONBLOCK): Likewise.
40761         (__ASSUME_PIPE2): Likewise.
40762         (__ASSUME_EVENTFD2): Likewise.
40763         (__ASSUME_SIGNALFD4): Likewise.
40764         (__ASSUME_DUP3): Likewise.
40765         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40766         (__ASSUME_O_CLOEXEC): Likewise.
40767         (__ASSUME_SOCK_CLOEXEC): Likewise.
40768         (__ASSUME_IN_NONBLOCK): Likewise.
40769         (__ASSUME_PIPE2): Likewise.
40770         (__ASSUME_EVENTFD2): Likewise.
40771         (__ASSUME_SIGNALFD4): Likewise.
40772         (__ASSUME_DUP3): Likewise.
40773         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40774         (__ASSUME_EVENTFD2): Likewise.
40775         (__ASSUME_SIGNALFD4): Likewise.
40776         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40778 2014-05-12  Andreas Schwab  <schwab@suse.de>
40780         [BZ #16932]
40781         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
40782         (_nss_nis_gethostbyname4_r): Return error if item length is larger
40783         than maximum RPC packet size.
40784         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
40785         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
40786         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
40787         (_nss_nis_getservbyport_r): Likewise.
40789 2014-05-12  Will Newton  <will.newton@linaro.org>
40791         * malloc/Makefile (tests): Add tst-mallopt.
40792         * malloc/tst-mallopt.c: New file.
40794 2014-05-09  Roland McGrath  <roland@hack.frob.com>
40796         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
40797         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
40799 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40801         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
40802         (tst-tlsmod6.so): Likewise.
40804 2014-05-09  Roland McGrath  <roland@hack.frob.com>
40806         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
40808 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
40810         [BZ #16064]
40811         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
40812         and <dl-procinfo.h>.
40813         (__fegetenv): Save SSE state in envp->__eip if supported.
40814         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
40815         envp->__eip if supported.
40816         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
40817         and <dl-procinfo.h>.
40818         (__fesetenv): Always set __eip, __cs_selector, __opcode,
40819         __data_offset and __data_selector in environment to 0.  Set SSE
40820         state if supported.
40821         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
40822         test-fenv-sse.
40823         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
40824         -mfpmath=sse.
40825         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
40827 2014-05-09  Will Newton  <will.newton@linaro.org>
40829         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
40830         and libc_relro_required for ARM.
40831         * sysdeps/arm/preconfigure: Regenerate.
40833 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
40834             Stefan Liebler  <stli@linux.vnet.ibm.com>
40836         * config.make.in (enable-lock-elision): New Makefile variable.
40837         * configure.ac: Likewise.
40838         * configure: Regenerate.
40839         * sysdeps/s390/configure.ac:
40840         Add check for gcc transactions support.
40841         * sysdeps/s390/configure: Regenerate.
40842         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
40843         Build elision files if enabled.
40844         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
40845         Add lock elision support for s390.
40846         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
40847         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
40848         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
40849         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
40850         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
40851         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
40852         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40853         Likewise.
40854         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
40855         Likewise.
40856         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
40857         Likewise.
40858         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
40859         Likewise.
40860         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
40861         (__lll_timedlock_elision, __lll_lock_elision)
40862         (__lll_unlock_elision, __lll_trylock_elision)
40863         (lll_timedlock_elision, lll_lock_elision)
40864         (lll_unlock_elision, lll_trylock_elision): Add.
40865         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40866         (pthread_mutex_t): Add lock elision support for s390.
40868 2014-05-14  Wilco  <wdijkstr@arm.com>
40870         * sysdeps/arm/fclrexcpt.c: Cleanup.
40871         * sysdeps/arm/fedisblxcpt.c: Cleanup.
40872         * sysdeps/arm/feenablxcpt.c: Cleanup.
40873         * sysdeps/arm/fegetenv.c: Cleanup.
40874         * sysdeps/arm/fegetexcept.c: Cleanup.
40875         * sysdeps/arm/fegetround.c: Cleanup.
40876         * sysdeps/arm/feholdexcpt.c: Cleanup.
40877         * sysdeps/arm/fesetenv.c: Cleanup.
40878         * sysdeps/arm/fesetround.c: Cleanup.
40879         * sysdeps/arm/feupdateenv.c: Cleanup.
40880         * sysdeps/arm/fgetexcptflg.c: Cleanup.
40881         * sysdeps/arm/fraiseexcpt.c: Cleanup.
40882         * sysdeps/arm/fsetexcptflg.c: Cleanup.
40883         * sysdeps/arm/ftestexcept.c: Cleanup.
40884         * sysdeps/arm/get-rounding-mode.h: Cleanup.
40885         * sysdeps/arm/setfpucw.c: Cleanup.
40887 2014-05-09  Will Newton  <will.newton@linaro.org>
40889         * sysdeps/arm/armv7/strcmp.S: New file.
40890         * NEWS: Mention addition of ARMv7 optimized strcmp.
40892 2014-05-08  Roland McGrath  <roland@hack.frob.com>
40894         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
40895         look for %.ac rather than %.in.
40897         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
40898         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
40899         * sysdeps/mach/hurd/configure: Regenerated.
40900         * sysdeps/unix/sysv/linux/configure: Regenerated.
40902         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
40904 2014-05-07  Steve Ellcey  <sellcey@mips.com>
40906         [BZ# 16922]
40907         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
40908         (LONG_SUB): Ditto.
40909         (PTR_SUB): Ditto.
40911 2014-05-07  Andreas Schwab  <schwab@suse.de>
40913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
40914         when skipping over non-matching result from nscd.
40916 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
40918         [BZ #16876]
40919         * nptl/sockperf.c (client): Check socket return value.
40921         [BZ #16877]
40922         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
40923         nscd security class.
40925 2014-05-06  Roland McGrath  <roland@hack.frob.com>
40927         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
40928         * sysdeps/arm/unwind.h: ... here.
40930 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
40932         [BZ# 16916]
40933         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
40934         Define.
40936 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40938         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40939         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
40940         multiarch strncpy for PPC64.
40941         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40942         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40944         multiarch optimizations.
40945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40946         (__libc_ifunc_impl_list): Likewise.
40947         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40948         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40949         multiarch stpncpy for PPC64.
40950         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40951         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40953 2014-05-06  Andreas Schwab  <schwab@suse.de>
40955         [BZ #16912]
40956         * gmon/mcount.c (_MCOUNT_DECL): Use
40957         atomic_compare_and_exchange_bool_acq instead of
40958         catomic_compare_and_exchange_bool_acq.
40960 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40962         * elf/Makefile (others, install-bin): Remove pldd.
40963         (pldd-modules): Variable removed.
40964         ($(objpfx)pldd): Target removed.
40965         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40966         (others, install-bin): Append pldd here.
40967         ($(objpfx)pldd): New target.
40969         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40970         to 0, so the first #if test emitted later doesn't see it undefined.
40971         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40972         * sysdeps/gnu/errlist.c: Regenerated.
40974 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40976         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40977         [libc_hidden_builtin_def]: Define to empty value.
40978         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40979         [libc_hidden_builtin_def]: Likewise.
40980         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40981         [libc_hidden_builtin_def]: Likewise.
40982         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40983         [libc_hidden_builtin_def]: Likewise.
40984         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40985         __redirect_memcpy and define ifunc as default hidden symbol.
40986         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40987         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40989 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40991         * locale/iso-4217.def: Reintroduce XDR currency.
40993 2014-05-04  Allan McRae  <allan@archlinux.org>
40995         * po/eo.po: Update Esperanto translation from translation project.
40997 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40999         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41000         and FEATURE_INDEX_MAX to 1.
41001         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41003 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41005         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41006         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41007         * iconvdata/big5.c (ONE_DIRECTION): Define.
41008         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41009         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41010         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41011         * iconvdata/cp932.c (ONE_DIRECTION): Define.
41012         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41013         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41014         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41015         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41016         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41017         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41018         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41019         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41020         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41021         * iconvdata/gbk.c (ONE_DIRECTION): Define.
41022         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41023         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41024         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41025         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41026         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41027         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41028         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41029         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41030         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41031         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41032         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41033         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41034         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41035         * iconvdata/iso646.c (ONE_DIRECTION): Define.
41036         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41037         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41038         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41039         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41040         * iconvdata/johab.c (ONE_DIRECTION): Define.
41041         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41042         * iconvdata/sjis.c (ONE_DIRECTION): Define.
41043         * iconvdata/t.61.c (ONE_DIRECTION): Define.
41044         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41045         * iconvdata/tscii.c (ONE_DIRECTION): Define.
41046         * iconvdata/uhc.c (ONE_DIRECTION): Define.
41047         * iconvdata/unicode.c (ONE_DIRECTION): Define.
41048         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41049         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41050         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41052 2014-05-01  Roland McGrath  <roland@hack.frob.com>
41054         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41055         (_IO_JUMPS_OFFSET): Define to 0.
41057         * nptl/sysdeps/pthread/bits/libc-lock.h
41058         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41059         (__libc_lock_define_initialized_recursive): Always define using
41060         initializer.  Modern compilers treat uninitialized (implicit zero) and
41061         explicit zero initializers the same (i.e. put the datum in bss).
41063 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41065         * nscd/nscd-client.h: Include <string.h>.
41067 2014-05-01  David S. Miller  <davem@davemloft.net>
41069         [BZ #16885]
41070         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41071         multiple zero bytes exist at the end of a string.
41072         Reported by Aurelien Jarno <aurelien@aurel32.net>
41074         * string/test-strcmp.c (check): Add explicit test for situations where
41075         there are multiple zero bytes after the first.
41077 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41079         [BZ #16890]
41080         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41081         when compiling wprintf.
41082         * stdio-common/tstdiomisc.c (t3): New function.
41083         (main): Call it.
41085 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41087         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41088         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41089         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41090         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41092 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41094         * stdlib/longlong.h: Updated from GCC.
41096 2014-05-01  Will Newton  <will.newton@linaro.org>
41097             Bernard Ogden  <bernie.ogden@linaro.org>
41099         * NEWS: Update fixed bug list.
41101         [BZ #15119]
41102         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41104 2014-04-30  David S. Miller  <davem@davemloft.net>
41106         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41107         (libc_feholdexcept_setround_sparc_ctx): New function.
41108         (libc_fesetenv_sparc_ctx): Likewise.
41109         (libc_feupdateenv_sparc_ctx): Likewise.
41110         (libc_feholdsetround_sparc_ctx): Likewise.
41111         (libc_feholdexcept_setround_ctx): Define.
41112         (libc_feholdexcept_setroundf_ctx): Likewise.
41113         (libc_feholdexcept_setroundl_ctx): Likewise.
41114         (libc_fesetenv_ctx): Likewise.
41115         (libc_fesetenvf_ctx): Likewise.
41116         (libc_fesetenvl_ctx): Likewise.
41117         (libc_feupdateenv_ctx): Likewise.
41118         (libc_feupdateenvf_ctx): Likewise.
41119         (libc_feupdateenvl_ctx): Likewise.
41120         (libc_feresetround_ctx): Likewise.
41121         (libc_feresetroundf_ctx): Likewise.
41122         (libc_feresetroundl_ctx): Likewise.
41123         (libc_feholdsetround_ctx): Likewise.
41124         (libc_feholdsetroundf_ctx): Likewise.
41125         (libc_feholdsetroundl_ctx): Likewise.
41127         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41128         with __USE_GNU instead of XOPEN cpp guards.
41130         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41131         0.
41133         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41134         with XOPEN cpp guards.
41136 2014-04-30  Julian Brown  <julian@codesourcery.com>
41138         [BZ #16888]
41139         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41140         handling.
41142 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
41144         [BZ #9894]
41145         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41146         Change to 2.6.32.
41147         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41148         * sysdeps/unix/sysv/linux/configure: Regenerated.
41149         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41150         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41151         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41152         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41153         * README: Update reference to required Linux kernel version.
41154         * manual/install.texi (Linux): Update reference to required Linux
41155         kernel headers version.
41156         * INSTALL: Regenerated.
41158         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41159         header inclusion.
41160         [POSIX] (limits.h): Likewise.
41161         [POSIX] (math.h): Likewise.
41162         [POSIX] (sys/wait.h): Likewise.
41163         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41164         function.
41165         [POSIX] (stddef.h): Do not allow header inclusion.
41167 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41169         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41171 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
41173         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41174         Return immediately after lll_futex_wake.
41176 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41178         [BZ #16791]
41179         * nscd/nscd-client.h (datahead_init_common): Initialize entire
41180         structure.
41181         (datahead_init_pos): Call datahead_init_common early.
41182         (datahead_init_neg): Likewise.
41184         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41185         datahead_init_neg): New functions.
41186         * nscd/aicache.c (addhstaiX): Use them.
41187         * nscd/grpcache.c (cache_addgr): Likewise.
41188         * nscd/hstcache.c (cache_addhst): Likewise.
41189         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41190         * nscd/netgroupcache.c (do_notfound): Likewise.
41191         (addgetnetgrentX): Likewise.
41192         (addinnetgrX): Likewise.
41193         * nscd/pwdcache.c (cache_addpw): Likewise.
41194         * nscd/servicescache.c (cache_addserv): Likewise.
41196 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41197             Atsushi Onoe  <atsushi@onoe.org>
41199         [BZ #14308]
41200         [BZ #12994]
41201         [BZ #13651]
41202         * resolv/res_query.c (__libc_res_nsearch): Return if at least
41203         one response is valid.
41204         * resolv/res_send.c (send_dg): Check for validity of other
41205         response if the current response is a referral.
41207 2014-04-29  Steve Ellcey  <sellcey@mips.com>
41209         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41211 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
41213         [BZ #16823]
41214         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41215         Always divide by positive zero when computing -Inf result.
41216         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41217         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41219 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41221         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41222         FPSCR if value do not change.
41223         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41224         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
41225         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41226         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41227         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
41228         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
41229         function.
41231 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
41233         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
41234         * sysdeps/unix/sysv/linux/hppa: Move directory from
41235         ports/systeps/unix/sysv/linux/hppa.
41236         * README: Update listing for hppa-*-linux-gnu.
41238 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
41240         [BZ #16754]
41241         * manual/stdio.texi (Hook functions): Fix types of stream hook
41242         functions.
41243         [BZ #16854]
41244         * socket/sys/socket.h: Fix typo in comment.
41246 2014-04-28  Wilco  <wdijkstr@arm.com>
41248         * sysdeps/arm/fenv_private.h: New file.
41249         * sysdeps/arm/math_private.h: New file.
41250         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
41252 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
41254         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
41255         with __int128_t.
41256         (La_x86_64_retval): Likewise.
41258 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
41260         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
41261         fpsr if value didn't change.
41262         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
41263         to fpcr if value didn't change.
41264         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
41265         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
41266         fpsr or fpcr if value didn't change.
41267         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41268         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
41269         fpcr if value didn't change.
41270         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
41271         to fpsr if value didn't change.
41273 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41275         * nptl/tst-sem3.c: Use test-skeleton.c
41276         (main): Rename to do_test.  Use return instead of
41277         exit.
41278         * nptl/tst-sem4.c: Use test-skeleton.c
41279         (main): Rename to do_test.
41281 2014-04-22  David S. Miller  <davem@davemloft.net>
41283         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
41284         (struct sigaction): New struct member __glibc_reserved0, change
41285         type of sa_flags to int.
41287 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
41289         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
41290         (COUNT_LEADING_ZEROS_0): Define for AArch64.
41292 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41294         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
41295         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
41297 2014-04-22  Will Newton  <will.newton@linaro.org>
41298             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
41300         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
41301         (__longjmp): Add longjmp and longjmp_target SystemTap
41302         probes.
41303         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
41304         (__sigsetjmp): Add setjmp SystemTap probe.
41306 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
41308         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
41309         match manual order.
41311 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41313         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
41315         * sysdeps/powerpc/fpu/fenv_private.h
41316         (libc_feholdexcept_setroundl_ctx): Define to
41317         libc_feholdexcept_setround_ppc_ctx.
41318         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
41319         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
41320         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
41321         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
41323 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
41325         * sysdeps/aarch64/math-tests.h: New file.
41327 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
41329         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
41330         New.
41331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41332         Check and set bit_AVX2_Usable.
41333         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
41334         macro.
41335         (bit_AVX2): Likewise.
41336         (index_AVX2_Usable): Likewise.
41337         (CPUID_AVX2): Likewise.
41338         (HAS_AVX2): Likewise.
41340 2014-04-17  Will Newton  <will.newton@linaro.org>
41342         * manual/setjmp.texi (System V contexts): Add note that
41343         calling setcontext on a context created by a call to a
41344         signal handler is undefined.  Update text to note that
41345         setcontext from a signal handler is possible but not
41346         recommended.
41348         [BZ #16629]
41349         * stdlib/tst-setcontext.c: Include signal.h.
41350         (main): Check that the signal stack before and
41351         after swapcontext is the same.
41353         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
41354         Re-implement to restore registers in user code and avoid
41355         rt_sigreturn system call.
41357 2014-04-17  Wilco  <wdijkstr@arm.com>
41359         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
41360         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
41361         * math/test-fenv.c: Skip exception trap tests on targets which only
41362         support non-stop mode.
41364 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
41365             Wilco Dijkstra  <wilco.dijkstra@arm.com>
41367         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
41368         (libc_feholdsetround_aarch64_ctx)
41369         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
41370         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
41371         (libc_feresetround_ctx, libc_feresetroundf_ctx)
41372         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
41373         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
41374         (libc_feresetround_noexl_ctx): Define.
41376 2014-04-16  Richard Henderson  <rth@redhat.com>
41378         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
41380         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
41381         unwind tables.
41383         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
41384         const from the non-libc, non-ldso copy.
41386         * sysdeps/alpha/libm-test-ulps: Regenerate.
41388 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
41389             Wilco Dijkstra  <wilco.dijkstra@arm.com>
41391         * sysdeps/aarch64/fpu/math_private.h: New file.
41393 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41395         * sysdeps/aarch64/libm-test-ulps: Regenerate.
41397 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
41399         [BZ #16275]
41400         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
41401         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
41402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
41403         Intel MPX bound registers before _dl_profile_fixup.
41404         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
41405         registers after _dl_profile_fixup.  Save and restore bound
41406         registers bnd0/bnd1 when calling _dl_call_pltexit.
41407         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
41408         (LR_BND_OFFSET): Likewise.
41409         (LRV_BND0_OFFSET): Likewise.
41410         (LRV_BND1_OFFSET): Likewise.
41412 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41414         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
41415         to...
41416         * sysdeps/mach/hurd/i386/tls.h: ... here.
41417         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
41418         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
41419         fields.
41421 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41423         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
41425 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
41427         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41429 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
41431         [BZ #14770]
41432         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
41433         * sysdeps/s390/configure: Regenerate.
41435         [BZ #16824]
41436         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
41437         Set round-to-nearest internally to reduce error accumulation.
41439 2014-04-16  Alan Modra  <amodra@gmail.com>
41441         [BZ #16740]
41442         [BZ #16619]
41443         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
41444         * math/libm-test.inc (frexp_test_data): Add tests.
41445         * NEWS: Update fixed bug list.
41447 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41449         * benchtests/Makefile: Depend on libraries in build directory.
41450         (bench-math): Separate out math tests.
41451         (bench-pthread): Separate out pthread tests.
41452         (bench): Include math and pthread tests.
41454 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
41456         [BZ #16831]
41457         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
41458         _dl_debug_initialize.
41460         * configure.ac: Remove SELinux header check.
41461         * configure: Regenerate.
41462         * nscd/selinux.c (perms): Array of const char* to permission names.
41463         (nscd_request_avc_has_perm): Call security_deny_unknown to find
41464         default policy. Call string_to_security_class and string_to_av_perm to
41465         translate strings. Enforce default policy and call avs_has_perm with
41466         results of translated strings.
41468 2014-04-13  David S. Miller  <davem@davemloft.net>
41470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41472 2014-04-12  Allan McRae  <allan@archlinux.org>
41474         [BZ #16838]
41475         * manual/string.texi (Collation Functions): Fix qsort argument
41476         order in example.
41477         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41479 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
41481         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
41482         Make the test a no-op if there are no exceptions defined.
41484 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
41486         * elf/Makefile (tests): make tst-dlopen-aout conditional on
41487         enable-hardcoded-path-in-tests
41489 2014-04-11  Will Newton  <will.newton@linaro.org>
41491         * benchtests/Makefile (extra-objs): Add json-lib.o.
41492         (bench-func): Tidy up JSON output.
41493         * benchtests/bench-skeleton.c: Include json-lib.h.
41494         (main): Use JSON library functions to do output of
41495         benchmark results.
41496         * benchtests/bench-timing-type.c (main): Output the
41497         timing type simply, leaving formatting to the user.
41498         * benchtests/json-lib.c: New file.
41499         * benchtests/json-lib.h: Likewise.
41501 2014-04-11  Torvald Riegel  <triegel@redhat.com>
41503         [BZ #15215]
41504         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
41505         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
41506         memory barriers.  Add comments.
41507         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
41508         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
41509         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
41510         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
41511         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
41512         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
41514 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41516         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
41517         * sysdeps/s390/s390-64/configure.ac: ... this ...
41518         * sysdeps/s390/configure.ac: ... to here.
41519         * sysdeps/s390/s390-32/configure: Delete file.
41520         * sysdeps/s390/s390-64/configure: Delete file.
41521         * sysdeps/s390/configure: Regenerate.
41523 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
41525         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
41527 2014-04-11  Will Newton  <will.newton@linaro.org>
41529         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
41530         to zero if it is not defined elsewhere.  (mtrim): Test
41531         the value of MALLOC_DEBUG with #if rather than #ifdef.
41533 2014-04-10 Torvald Riegel  <triegel@redhat.com>
41535         * benchtests/pthread_once-inputs: New file.
41536         * benchtests/pthread_once-source.c: New file.
41537         * benchtests/README: Update documentation.
41539 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
41540             H.J. Lu  <hongjiu.lu@intel.com>
41542         [BZ #16275]
41543         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
41544         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
41545         * sysdeps/x86_64/configure: Regenerated.
41546         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
41547         macro.
41548         (REGISTER_SAVE_RAX): Likewise.
41549         (REGISTER_SAVE_RCX): Likewise.
41550         (REGISTER_SAVE_RDX): Likewise.
41551         (REGISTER_SAVE_RSI): Likewise.
41552         (REGISTER_SAVE_RDI): Likewise.
41553         (REGISTER_SAVE_R8): Likewise.
41554         (REGISTER_SAVE_R9): Likewise.
41555         (REGISTER_SAVE_BND0): Likewise.
41556         (REGISTER_SAVE_BND1): Likewise.
41557         (REGISTER_SAVE_BND2): Likewise.
41558         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
41559         bound registers when calling _dl_fixup.
41561 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41563         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
41564         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
41565         of its definition.
41566         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
41567         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
41568         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
41569         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
41570         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
41571         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
41572         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
41574 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
41576         [BZ #15514]
41577         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
41578         pathconf(_PC_NAME_MAX).
41580 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41582         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
41583         Remove macro usage.
41584         (__PTHREAD_SPINS): Move definition to ...
41585         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41586         (__PTHREAD_SPINS): ... here.
41587         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41588         (__PTHREAD_SPIN): Likewise.
41589         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
41590         (__PTHREAD_SPIN): Likewise.
41591         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
41592         (__PTHREAD_SPIN): Likewise.
41593         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
41594         (__PTHREAD_SPIN): Likewise.
41595         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41596         (__PTHREAD_SPIN): Likewise.
41597         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41598         (__PTHREAD_SPIN): Likewise.
41599         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
41600         (__PTHREAD_SPIN): Likewise.
41601         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41602         (__PTHREAD_SPIN): Likewise.
41603         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41604         (__PTHREAD_SPIN): Likewise.
41605         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41606         (__PTHREAD_SPIN): Likewise.
41607         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41608         (__PTHREAD_SPIN): Likewise.
41609         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
41610         (__PTHREAD_SPIN): Likewise.
41612         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
41613         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
41614         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
41615         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
41616         imply folder.
41617         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
41618         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
41619         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
41620         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
41621         correct imply path.
41622         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
41623         strlen symbol for non multi-arch builds.
41624         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
41625         missing hidden_def and weak_alias.
41627 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
41629         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
41631 2014-04-07  Will Newton  <will.newton@linaro.org>
41633         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
41634         and contents.  [!_LIBC] Remove #ifndef and contents.
41635         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
41636         * string/memccpy.c (__memccpy): Use ANSI prototype.
41637         * string/memfrob.c (memfrob): Likewise.
41638         * string/strcoll.c (STRCOLL): Likewise.
41639         * string/strlen.c (strlen): Likewise.
41640         * string/strtok.c (STRTOK): Likewise.
41641         * string/strcat.c: Remove unused #include of memcopy.h.
41642         (strcat): Use ANSI prototype.
41643         * string/strchr.c: Remove unused #include of memcopy.h.
41644         (strchr): Use ANSI prototype.
41645         * string/strcmp.c: Remove unused #include of memcopy.h.
41646         (strcmp): Use ANSI prototype.
41647         * string/strcpy.c: Remove unused #include of memcopy.h.
41648         (strcpy): Use ANSI prototype.
41650 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41652         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
41653         * config.make.in (config-extra-cppflags): Set it from
41654         libc_extra_cppflags.
41655         * configure.ac (libc_extra_cflags): Make it accumulate over
41656         configure fragments.
41657         (libc_extra_cppflags): New flag.
41658         * configure. Regenerate.
41659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
41660         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
41661         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
41662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
41664         [BZ #16815]
41665         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
41666         result for FE_DOWNWARD rounding mode.
41667         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
41668         Likewise.
41669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41671 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
41673         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
41674         in function argument name.
41676 2014-04-03  David Svoboda  <svoboda@cert.org>
41678         [BZ #5666]
41679         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
41680         explicitly.
41682 2014-04-03  Roland McGrath  <roland@hack.frob.com>
41684         * elf/dl-unmap-segments.h: New file.
41685         * sysdeps/generic/ldsodefs.h
41686         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
41687         * elf/dl-close.c: Include <dl-unmap-segments.h>.
41688         * elf/dl-fptr.c: Likewise.
41689         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
41690         * sysdeps/aarch64/tlsdesc.c: Likewise.
41691         * sysdeps/arm/tlsdesc.c: Likewise.
41692         * sysdeps/i386/tlsdesc.c: Likewise.
41693         * sysdeps/tile/dl-runtime.c: Likewise.
41694         * sysdeps/x86_64/tlsdesc.c: Likewise.
41695         * elf/dl-load.h: New file.
41696         * elf/dl-load.c: Include it.
41697         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
41698         Macros moved to dl-load.h.
41699         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
41700         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
41701         Use _dl_unmap_segments in place of __munmap.
41702         Break out segment-mapping loop into ...
41703         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
41705 2014-04-03  Will Newton  <will.newton@linaro.org>
41707         * elf/dl-lookup.c (do_lookup_x): Remove comment
41708         referring to nested function and move variable
41709         declarations down to before first use.
41711 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
41713         [BZ #16799]
41714         [BZ #16800]
41715         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
41716         with 0 numerator.
41717         * math/s_catanf.c (__catanf): Likewise.
41718         * math/s_catanh.c (__catanh): Likewise.
41719         * math/s_catanhf.c (__catanhf): Likewise.
41720         * math/s_catanhl.c (__catanhl): Likewise.
41721         * math/s_catanl.c (__catanl): Likewise.
41722         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
41723         by positive zero when computing -Inf result.
41724         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
41725         (catanh_test): Likewise.
41726         * sysdeps/i386/fpu/libm-test-ulps: Update.
41727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41729         [BZ #16789]
41730         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
41731         instead of using underflowing value in computing result.
41732         * math/s_clog10.c (__clog10): Likewise.
41733         * math/s_clog10f.c (__clog10f): Likewise.
41734         * math/s_clog10l.c (__clog10l): Likewise.
41735         * math/s_clogf.c (__clogf): Likewise.
41736         * math/s_clogl.c (__clogl): Likewise.
41737         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
41738         (clog10_test): Likewise.
41739         * sysdeps/i386/fpu/libm-test-ulps: Update.
41740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41742 2014-04-02  Alan Modra  <amodra@gmail.com>
41744         [BZ #16739]
41745         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
41746         output when value is near a power of two.  Use int64_t for lx and
41747         remove casts.  Use decimal rather than hex exponent constants.
41748         Don't use long double multiplication when double will suffice.
41749         * math/libm-test.inc (nextafter_test_data): Add tests.
41750         * NEWS: Add 16739 and 16786 to bug list.
41752         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
41754         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
41756 2014-04-01  Will Newton  <will.newton@linaro.org>
41758         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
41759         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
41761 2014-04-01  Florian Weimer  <fweimer@redhat.com>
41763         [BZ #13347]
41764         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
41765         * nptl/tst-setuid2.c: New file.
41766         * nptl/Makefile (xtests): Add tst-setuid2.
41768 2014-04-01  Alan Modra  <amodra@gmail.com>
41770         [BZ #16786]
41771         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
41773 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
41775         [BZ #6803]
41776         [BZ #6804]
41777         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
41778         set errno as appropriate.
41779         * math/w_scalbf.c (__scalbf): Likewise.
41780         * math/w_scalbl.c (__scalbl): Likewise.
41781         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
41782         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
41783         * math/libm-test.inc (scalb_test_data): Add errno expectations.
41784         Add more NaN tests.
41786         [BZ #16349]
41787         * math/w_atan2.c: Include <errno.h>.
41788         (__atan2): Set errno for result underflowing to zero.
41789         * math/w_atan2f.c: Include <errno.h>.
41790         (__atan2f): Set errno for result underflowing to zero.
41791         * math/w_atan2l.c: Include <errno.h>.
41792         (__atan2l): Set errno for result underflowing to zero.
41793         * math/auto-libm-test-in: Don't allow missing errno for some atan2
41794         tests.
41795         * math/auto-libm-test-out: Regenerated.
41797 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41799         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41800         Encode instruction correctly in little endian.
41801         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41802         Likewise.
41803         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41804         Likewise.
41805         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41806         Likewise.
41807         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41808         Likewise.
41810 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
41812         [BZ #9894]
41813         * sysdeps/unix/sysv/linux/kernel-features.h
41814         [__sparc__ && !__arch64__ && !__sparc_v9__]
41815         (__ASSUME_SET_ROBUST_LIST): Do not define.
41816         [__sparc__ && !__arch64__ && !__sparc_v9__]
41817         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41818         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
41819         Likewise.
41820         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41821         (__ASSUME_FUTEX_LOCK_PI): Undefine.
41822         (__ASSUME_REQUEUE_PI): Likewise.
41823         (__ASSUME_SET_ROBUST_LIST): Likewise.
41824         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41825         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
41826         Undefine.
41827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41828         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
41829         Likewise.
41830         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
41831         Likewise.
41832         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
41833         Likewise.
41834         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41835         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
41836         Undefine.
41837         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
41838         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
41839         Likewise.
41841         [BZ #16648]
41842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41843         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
41844         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
41846 2014-03-31  Will Newton  <will.newton@linaro.org>
41848         * benchtests/Makefile (bench): Add ffs and ffsll to list
41849         of tests.
41850         * benchtests/ffs-inputs: New file.
41851         * benchtests/ffsll-inputs: Likewise.
41853 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
41855         [BZ #16770]
41856         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
41857         too large before casting to int.
41858         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
41859         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
41860         * math/libm-test.inc (scalb_test_data): Add more tests.
41862 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41864         * benchtests/Makefile (DETAILED_OPT): New make option.
41865         (bench-func): Run benchmark program with -d if DETAILED_OPT is
41866         set.
41867         * benchtests/bench-skeleton.c: Include stdbool.h.
41868         (main): Store and print timings per input.
41869         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
41870         member to each argument value.
41871         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
41872         (_print_arg_data): Initialize per-input timing to 0.
41874         * benchtests/Makefile (timing-type): New binary.
41875         (bench-clean): Also remove bench-timing-type.
41876         (bench): New target for timing-type.
41877         (bench-func): Print output in JSON format.
41878         * benchtests/bench-skeleton.c (main): Print output in JSON
41879         format.
41880         * benchtests/bench-timing-type.c: New file.
41881         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
41882         (TIMING_PRINT_STATS): Remove.
41883         * benchtests/scripts/bench.py (_print_arg_data): Store variant
41884         name separately.
41886         * benchtests/bench-modf.c: Remove.
41887         * benchtests/modf-inputs: New inputs file.
41889 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
41891         [BZ #16362]
41892         * math/s_clog10.c (M_PI_LOG10E): New macro.
41893         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
41894         imaginary parts are 0.
41895         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
41896         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
41897         imaginary parts are 0.
41898         * math/s_clog10l.c (M_PI_LOG10El): New macro.
41899         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
41900         imaginary parts are 0.
41901         * math/libm-test.inc (clog10_test_data): Update expected results
41902         for when real and imaginary parts are 0.
41904 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
41906         * elf/dl-load.c: Finish conversion of __builtin_expect into
41907         __glibc_{un}likely.
41909 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
41911         [BZ #16348]
41912         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
41913         1+x for argument with exponent below -67.
41914         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
41915         Likewise.
41916         * math/auto-libm-test-in: Add more tests of exp.
41917         * math/auto-libm-test-out: Regenerated.
41919 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41921         [BZ #16759]
41922         * inet/getnetgrent_r.c (get_nonempty_val): New function.
41923         (nscd_getnetgrent): Use it.
41925         [BZ #16760]
41926         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
41927         of stpcpy.
41929 2014-03-27  Andi Kleen  <ak@linux.intel.com>
41931         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
41932         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41933         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41934         (lll_robust_unlock): Remove out of line section. Use cfi
41935         intrinsics.
41936         (LLL_STUB_UNWIND_INFO*): Remove.
41937         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
41938         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41939         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41940         (lll_robust_unlock): Remove out of line section. Use cfi
41941         intrinsics.
41942         (LLL_STUB_UNWIND_INFO*): Remove.
41944 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41946         [BZ #16758]
41947         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41948         blank values.
41950 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41952         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41954 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41956         [BZ #16198]
41957         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41958         fnstenv.
41959         * math/test-fenv-preserve.c: New file.
41960         * math/Makefile (tests): Add test-fenv-preserve.
41962 2014-03-26  Will Newton <will.newton@linaro.org>
41964         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41966 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41968         * scripts/versionlist.awk: Partition the version sets and emit all
41969         GLIBC_* (sorted) before all others (sorted).
41971 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41973         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41974         GLIBC_2.2.5 version.
41976 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41978         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41979         calls.
41981         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41982         previous change.
41984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41986 2014-03-25  Andreas Schwab  <schwab@suse.de>
41988         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41989         label to be used after in6ailist is initialized.
41991 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41993         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41994         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41996 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41998         [BZ #16357]
41999         [BZ #16599]
42000         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42001         min_plus_half.
42002         (fp_formats): Update initializers.
42003         (init_fp_formats): Initialize new field.
42004         (output_for_one_input_case): Allow underflow for results up to
42005         min_plus_half.
42006         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42007         * math/auto-libm-test-in: Don't mark some underflows from asin and
42008         atanh as spurious.
42009         * math/auto-libm-test-out: Regenerated.
42010         * sysdeps/i386/fpu/libm-test-ulps: Update.
42011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42013 2014-03-25  Andreas Schwab  <schwab@suse.de>
42015         * libio/Makefile (tst-ftell-partial-wide-ENV)
42016         (tst-ftell-active-handler-ENV): Define.
42018 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
42020         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42022 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42024         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42026 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42028         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42029         * sysdeps/x86_64/fpu/multiarch/e_exp.c
42030         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42032 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42034         [BZ #16634]
42035         * elf/dl-load.c (open_verify): Add mode parameter.
42036         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42037         (open_path): Change from boolean 'secure' to complete flag 'mode'
42038         (_dl_map_object): Adjust.
42039         * elf/Makefile (tests): Add tst-dlopen-aout.
42040         * elf/tst-dlopen-aout.c: New test.
42042 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
42044         [BZ #16714]
42045         * sysdeps/unix/sysv/linux/s390/bits/stat.h
42046         (struct stat): Rename member pad0 to __glibc_reserved0.
42048         [BZ #16712]
42049         * sysdeps/s390/s390-32/bits/wordsize.h
42050         (__WORDSIZE32_SIZE_ULONG): New define.
42051         * sysdeps/s390/s390-64/bits/wordsize.h
42052         (__WORDSIZE32_SIZE_ULONG): Likewise.
42053         * sysdeps/generic/stdint.h (SIZE_MAX):
42054         Define as UL if __WORDSIZE32_SIZE_ULONG.
42056         [BZ #16713]
42057         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42058         (__glibc_reserved0): New variable.
42059         (sa_flags): Change type to int.
42061         * posix/Makefile (before-compile): Use += before-compile instead
42062         of a :=.
42064         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42065         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42067 2014-03-20  Andreas Schwab  <schwab@suse.de>
42069         [BZ #16743]
42070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42071         non-matching result from nscd.
42073 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42075         * scripts/bench.py: Moved to ...
42076         * benchtests/scripts/bench.py: ... here.
42077         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42079 2014-03-24  Andreas Schwab  <schwab@suse.de>
42081         [BZ #16002]
42082         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42083         alloca_account and account alloca use for struct in6ailist.
42085 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42087         [BZ #16284]
42088         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42089         rounding mode to recompute results that overflow to infinity or
42090         underflow to zero.
42091         * math/auto-libm-test-in: Don't mark tests as expected to fail for
42092         bug 16284.
42093         * math/auto-libm-test-out: Regenerated.
42094         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42095         (ccosh_test): Likewise.
42096         (csin_test_data): Use plus_oflow.
42097         (csin_test): Use ALL_RM_TEST.
42098         (csinh_test_data): Use plus_oflow.
42099         (csinh_test): Use ALL_RM_TEST.
42100         * sysdeps/i386/fpu/libm-test-ulps: Update.
42101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42103 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
42105         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42106         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42107         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42109         [BZ #16731]
42110         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42111         when x - 1 is zero.
42112         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42113         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42114         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42115         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42116         argument is 1.
42117         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42118         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42119         zero.
42120         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42121         * sysdeps/i386/fpu/libm-test-ulps: Update.
42122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42124 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42126         * scripts/bench.pl: Remove file.
42127         * scripts/bench.py: New benchmark script.
42128         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42129         * benchtests/README: Mention python dependency.
42130         * scripts/pylintrc: New file.
42131         * scripts/pylint: New file.
42133         * bits/mathdef.h: Use #ifdef instead of #if.
42134         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42135         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42136         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42137         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42138         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42139         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42141 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42142             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42144         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42146         and strpbrk-ppc64 objects.
42147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42148         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42149         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42150         multiarch strpbrk for POWER7.
42151         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42152         multiarch strpbrk for PPC64.
42153         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42154         ifunc selector.
42155         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42156         strpbrk for POWER7.
42158 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42160         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42161         (atan_test): Likewise.
42162         (atanh_test_data): Use NO_TEST_INLINE for two tests.
42163         (atanh_test): Use ALL_RM_TEST.
42164         (atan2_test_data): Likewise.
42165         (cabs_test): Likewise.
42166         (cacosh_test): Likewise.
42167         (carg_test): Likewise.
42168         (casin_test): Likewise.
42169         (casinh_test): Likewise.
42170         (cbrt_test): Likewise.
42171         (csqrt_test): Likewise.
42172         (erf_test): Likewise.
42173         (erfc_test): Likewise.
42174         (pow10_test): Likewise.
42175         (exp2_test): Likewise.
42176         (hypot_test): Likewise.
42177         (j0_test): Likewise.
42178         (j1_test): Likewise.
42179         (lgamma_test): Likewise.
42180         (gamma_test): Likewise.
42181         (sincos_test): Likewise.
42182         (tanh_test): Likewise.
42183         (y0_test): Likewise.
42184         (y1_test): Likewise.
42185         * sysdeps/i386/fpu/libm-test-ulps: Update.
42186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42188 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42190         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42192         and strcspn-ppc64 objects.
42193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42194         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42195         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42196         multiarch strcspn for POWER7.
42197         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42198         multiarch strcspn for PPC64.
42199         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42200         ifunc selector.
42201         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42202         strcspn for POWER7.
42204 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42206         * math/gen-libm-test.pl (generate_testfile): Expect only function
42207         name as argument to AUTO_TESTS_* and pass results for all rounding
42208         modes to parse_args.
42209         (parse_auto_input): Separate inputs of automatic tests from
42210         outputs before storing in %auto_tests.
42211         * math/libm-test.inc (acos_test_data): Update call to
42212         AUTO_TESTS_f_f.
42213         (acos_test): Use ALL_RM_TEST.
42214         (acos_tonearest_test_data): Remove.
42215         (acos_test_tonearest): Likewise.
42216         (acos_towardzero_test_data): Likewise.
42217         (acos_test_towardzero): Likewise.
42218         (acos_downward_test_data): Likewise.
42219         (acos_test_downward): Likewise.
42220         (acos_upward_test_data): Likewise.
42221         (acos_test_upward): Likewise.
42222         (acosh_test_data): Update call to AUTO_TESTS_f_f.
42223         (asin_test_data): Likewise.
42224         (asin_test): Use ALL_RM_TEST.
42225         (asin_tonearest_test_data): Remove.
42226         (asin_test_tonearest): Likewise.
42227         (asin_towardzero_test_data): Likewise.
42228         (asin_test_towardzero): Likewise.
42229         (asin_downward_test_data): Likewise.
42230         (asin_test_downward): Likewise.
42231         (asin_upward_test_data): Likewise.
42232         (asin_test_upward): Likewise.
42233         (asinh_test_data): Update call to AUTO_TESTS_f_f.
42234         (atan_test_data): Likewise.
42235         (atanh_test_data): Likewise.
42236         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
42237         (cabs_test_data): Update call to AUTO_TESTS_c_f.
42238         (carg_test_data): Likewise.
42239         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
42240         (ccos_test_data): Update call to AUTO_TESTS_c_c.
42241         (ccosh_test_data): Likewise.
42242         (cexp_test_data): Likewise.
42243         (clog_test_data): Likewise.
42244         (clog10_test_data): Likewise.
42245         (cos_test_data): Update call to AUTO_TESTS_f_f.
42246         (cos_test): Use ALL_RM_TEST.
42247         (cos_tonearest_test_data): Remove.
42248         (cos_test_tonearest): Likewise.
42249         (cos_towardzero_test_data): Likewise.
42250         (cos_test_towardzero): Likewise.
42251         (cos_downward_test_data): Likewise.
42252         (cos_test_downward): Likewise.
42253         (cos_upward_test_data): Likewise.
42254         (cos_test_upward): Likewise.
42255         (cosh_test_data): Update call to AUTO_TESTS_f_f.
42256         (cosh_test): Use ALL_RM_TEST.
42257         (cosh_tonearest_test_data): Remove.
42258         (cosh_test_tonearest): Likewise.
42259         (cosh_towardzero_test_data): Likewise.
42260         (cosh_test_towardzero): Likewise.
42261         (cosh_downward_test_data): Likewise.
42262         (cosh_test_downward): Likewise.
42263         (cosh_upward_test_data): Likewise.
42264         (cosh_test_upward): Likewise.
42265         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
42266         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
42267         (ctan_test_data): Likewise.
42268         (ctan_test): Use ALL_RM_TEST.
42269         (ctan_tonearest_test_data): Remove.
42270         (ctan_test_tonearest): Likewise.
42271         (ctan_towardzero_test_data): Likewise.
42272         (ctan_test_towardzero): Likewise.
42273         (ctan_downward_test_data): Likewise.
42274         (ctan_test_downward): Likewise.
42275         (ctan_upward_test_data): Likewise.
42276         (ctan_test_upward): Likewise.
42277         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
42278         (ctanh_test): Use ALL_RM_TEST.
42279         (ctanh_tonearest_test_data): Remove.
42280         (ctanh_test_tonearest): Likewise.
42281         (ctanh_towardzero_test_data): Likewise.
42282         (ctanh_test_towardzero): Likewise.
42283         (ctanh_downward_test_data): Likewise.
42284         (ctanh_test_downward): Likewise.
42285         (ctanh_upward_test_data): Likewise.
42286         (ctanh_test_upward): Likewise.
42287         (erf_test_data): Update call to AUTO_TESTS_f_f.
42288         (erfc_test_data): Likewise.
42289         (exp_test_data): Likewise.
42290         (exp_test): Use ALL_RM_TEST.
42291         (exp_tonearest_test_data): Remove.
42292         (exp_test_tonearest): Likewise.
42293         (exp_towardzero_test_data): Likewise.
42294         (exp_test_towardzero): Likewise.
42295         (exp_downward_test_data): Likewise.
42296         (exp_test_downward): Likewise.
42297         (exp_upward_test_data): Likewise.
42298         (exp_test_upward): Likewise.
42299         (exp10_test_data): Update call to AUTO_TESTS_f_f.
42300         (exp10_test): Use ALL_RM_TEST.
42301         (exp10_tonearest_test_data): Remove.
42302         (exp10_test_tonearest): Likewise.
42303         (exp10_towardzero_test_data): Likewise.
42304         (exp10_test_towardzero): Likewise.
42305         (exp10_downward_test_data): Likewise.
42306         (exp10_test_downward): Likewise.
42307         (exp10_upward_test_data): Likewise.
42308         (exp10_test_upward): Likewise.
42309         (exp2_test_data): Update call to AUTO_TESTS_f_f.
42310         (expm1_test_data): Likewise.
42311         (expm1_test): Use ALL_RM_TEST.
42312         (expm1_tonearest_test_data): Remove.
42313         (expm1_test_tonearest): Likewise.
42314         (expm1_towardzero_test_data): Likewise.
42315         (expm1_test_towardzero): Likewise.
42316         (expm1_downward_test_data): Likewise.
42317         (expm1_test_downward): Likewise.
42318         (expm1_upward_test_data): Likewise.
42319         (expm1_test_upward): Likewise.
42320         (fma_test_data): Update call to AUTO_TESTS_fff_f.
42321         (fma_test): Use ALL_RM_TEST.
42322         (fma_towardzero_test_data): Remove.
42323         (fma_test_towardzero): Likewise.
42324         (fma_downward_test_data): Likewise.
42325         (fma_test_downward): Likewise.
42326         (fma_upward_test_data): Likewise.
42327         (fma_test_upward): Likewise.
42328         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
42329         (j0_test_data): Update call to AUTO_TESTS_f_f.
42330         (j1_test_data): Likewise.
42331         (jn_test_data): Update call to AUTO_TESTS_if_f.
42332         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
42333         (log_test_data): Update call to AUTO_TESTS_f_f.
42334         (log10_test_data): Likewise.
42335         (log1p_test_data): Likewise.
42336         (log2_test_data): Likewise.
42337         (pow_test_data): Update call to AUTO_TESTS_ff_f.
42338         (pow_tonearest_test_data): Likewise.
42339         (sin_test_data): Update call to AUTO_TESTS_f_f.
42340         (sin_test): Use ALL_RM_TEST.
42341         (sin_tonearest_test_data): Remove.
42342         (sin_test_tonearest): Likewise.
42343         (sin_towardzero_test_data): Likewise.
42344         (sin_test_towardzero): Likewise.
42345         (sin_downward_test_data): Likewise.
42346         (sin_test_downward): Likewise.
42347         (sin_upward_test_data): Likewise.
42348         (sin_test_upward): Likewise.
42349         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
42350         (sinh_test_data): Update call to AUTO_TESTS_f_f.
42351         (sinh_test): Use ALL_RM_TEST.
42352         (sinh_tonearest_test_data): Remove.
42353         (sinh_test_tonearest): Likewise.
42354         (sinh_towardzero_test_data): Likewise.
42355         (sinh_test_towardzero): Likewise.
42356         (sinh_downward_test_data): Likewise.
42357         (sinh_test_downward): Likewise.
42358         (sinh_upward_test_data): Likewise.
42359         (sinh_test_upward): Likewise.
42360         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
42361         (sqrt_test): Use ALL_RM_TEST.
42362         (sqrt_tonearest_test_data): Remove.
42363         (sqrt_test_tonearest): Likewise.
42364         (sqrt_towardzero_test_data): Likewise.
42365         (sqrt_test_towardzero): Likewise.
42366         (sqrt_downward_test_data): Likewise.
42367         (sqrt_test_downward): Likewise.
42368         (sqrt_upward_test_data): Likewise.
42369         (sqrt_test_upward): Likewise.
42370         (tan_test_data): Update call to AUTO_TESTS_f_f.
42371         (tan_test): Use ALL_RM_TEST.
42372         (tan_tonearest_test_data): Remove.
42373         (tan_test_tonearest): Likewise.
42374         (tan_towardzero_test_data): Likewise.
42375         (tan_test_towardzero): Likewise.
42376         (tan_downward_test_data): Likewise.
42377         (tan_test_downward): Likewise.
42378         (tan_upward_test_data): Likewise.
42379         (tan_test_upward): Likewise.
42380         (tanh_test_data): Update call to AUTO_TESTS_f_f.
42381         (tgamma_test_data): Likewise.
42382         (y0_test_data): Likewise.
42383         (y1_test_data): Likewise.
42384         (yn_test_data): Update call to AUTO_TESTS_if_f.
42385         (main): Do not call removed functions.
42387 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
42389         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
42390         (ldexp_test_data): Remove.
42391         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
42392         scalbn_test_data.
42393         (scalb_test): Use ALL_RM_TEST.
42395 2014-03-19  Andreas Schwab  <schwab@suse.de>
42397         * nscd/nscd.service: Also invalidate netgroup cache on reload.
42399 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
42401         [BZ #16649]
42402         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42403         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
42404         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
42405         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42406         (__ASSUME_PREADV): Undefine.
42407         (__ASSUME_PWRITEV): Likewise.
42409 2014-03-18  Roland McGrath  <roland@hack.frob.com>
42411         * bits/mman-linux.h: Add comment about non-Linux use.
42412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
42413         bits/mman-linux.h resting place.
42415         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
42416         * bits/mman-linux.h: ... here.
42418 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42420         * conform/conformtest.pl: Add standard definition when calling C
42421         preprocessor on data files.
42422         (checknamespace): Remove unused variable.
42424 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
42426         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
42427         minus_oflow, plus_uflow and minus_uflow in expected results.
42428         * math/libm-test.inc (scalbn_test_data): Add more tests of
42429         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
42430         minus_uflow.
42431         (scalbn_test): Use ALL_RM_TEST.
42432         (scalbln_test_data): Add more tests of negative arguments.  Use
42433         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
42434         (scalbln_test): Use ALL_RM_TEST.
42436 2014-03-18  Roland McGrath  <roland@hack.frob.com>
42438         * scripts/abilist.awk: Ignore symbols marked with .hidden.
42440 2014-03-18  Will Newton  <will.newton@linaro.org>
42442         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
42443         inaccurate comment.
42445 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
42447         * Makerules [!subdir] (check-abi): Exit with error status if a
42448         test failed.
42450 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
42452         * math/libm-test.inc (nearbyint_test_data): Include all tests used
42453         for rint.  Include results for all rounding modes.
42454         (nearbyint_test): Use ALL_RM_TEST.
42455         (rint_test_data): Include all tests used for nearbyint.
42457 2014-03-17  Will Newton  <will.newton@linaro.org>
42459         * nptl/sysdeps/pthread/pthread.h: Revert previous
42460         change.
42462         * sysdeps/generic/ldsodefs.h: Revert previous
42463         change.
42465         * libio/genops.c: Revert previous change.
42466         * libio/libioP.h: Likewise.
42467         * stdio-common/vfprintf.c: Likewise.
42469         * sysdeps/generic/math_private.h: Revert previous
42470         change.
42472         * sysdeps/generic/math_private.h: Check whether
42473         HAVE_RM_CTX is defined with #ifdef rather
42474         than #if.
42476         * argp/argp-fmtstream.h: Check whether
42477         __STRICT_ANSI__ is defined with #ifdef rather
42478         than #if.
42479         * argp/argp.h: Likewise.
42481         * libio/genops.c: Check whether
42482         _IO_JUMPS_OFFSET is defined with #ifdef rather
42483         than #if.
42484         * libio/libioP.h: Likewise.
42485         * stdio-common/vfprintf.c: Likewise.
42487         * sysdeps/generic/ldsodefs.h: Check whether
42488         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
42489         than #if.
42491         * nptl/sysdeps/pthread/pthread.h: Check
42492         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
42493         its value.
42495 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42497         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
42498         setting O_APPEND.
42499         * libio/tst-ftell-active-handler.c (do_append_test): Add a
42500         test case.
42502         [BZ #16680]
42503         * libio/fileops.c (_IO_file_open): Seek to end of file but
42504         don't cache the offset.
42505         (get_file_offset): Remove function.
42506         (do_ftell): Use cached offset when available.
42507         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
42508         don't cache the offset.
42509         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
42510         case.
42511         (do_one_test): Call it.
42512         (do_ftell_test): Fix up expected old offset for a+ mode.
42513         * libio/wfileops.c (do_ftell_wide): Used cached offset when
42514         available.
42516         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
42517         up test status with function return status.
42518         (do_write_test): Likewise.
42519         (do_append_test): Likewise.
42521         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
42522         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
42523         Remove.
42525 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
42527         * math/gen-libm-test.pl (parse_args): Handle results specified for
42528         each rounding mode separately.
42529         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
42530         tests and results from lrint_tonearest_test_data,
42531         lrint_towardzero_test_data, lrint_downward_test_data and
42532         lrint_upward_test_data.
42533         (lrint_test): Use ALL_RM_TEST.
42534         (lrint_tonearest_test_data): Remove.
42535         (lrint_test_tonearest): Likewise.
42536         (lrint_towardzero_test_data): Likewise.
42537         (lrint_test_towardzero): Likewise.
42538         (lrint_downward_test_data): Likewise.
42539         (lrint_test_downward): Likewise.
42540         (lrint_upward_test_data): Likewise.
42541         (lrint_test_upward): Likewise.
42542         (llrint_test_data): Merge in per-rounding-mode tests and results
42543         from llrint_tonearest_test_data, llrint_towardzero_test_data,
42544         llrint_downward_test_data and llrint_upward_test_data.
42545         (llrint_test): Use ALL_RM_TEST.
42546         (llrint_tonearest_test_data): Remove.
42547         (llrint_test_tonearest): Likewise.
42548         (llrint_towardzero_test_data): Likewise.
42549         (llrint_test_towardzero): Likewise.
42550         (llrint_downward_test_data): Likewise.
42551         (llrint_test_downward): Likewise.
42552         (llrint_upward_test_data): Likewise.
42553         (llrint_test_upward): Likewise.
42554         (rint_test_data): Merge in per-rounding-mode tests and results
42555         from rint_tonearest_test_data, rint_towardzero_test_data,
42556         rint_downward_test_data and rint_upward_test_data.  Add
42557         per-rounding-mode results for tests not in those arrays.
42558         (rint_test): Use ALL_RM_TEST.
42559         (rint_tonearest_test_data): Remove.
42560         (rint_test_tonearest): Likewise.
42561         (rint_towardzero_test_data): Likewise.
42562         (rint_test_towardzero): Likewise.
42563         (rint_downward_test_data): Likewise.
42564         (rint_test_downward): Likewise.
42565         (rint_upward_test_data): Likewise.
42566         (rint_test_upward): Likewise.
42567         (main): Don't call removed functions.
42569 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42571         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
42572         "Compiled on ..." crapola.  It is anti-useful.
42574 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
42576         * scripts/evaluate-test.sh: Handle fourth argument to determine
42577         whether test run should stop on failure.
42578         * Makeconfig (stop-on-test-failure): New variable.
42579         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
42580         $(stop-on-test-failure).
42581         * Makefile (tests): Give a summary of results from testing and
42582         exit with failure status if they include an ERROR or FAIL.
42583         (xtests): Likewise.
42584         * manual/install.texi (Configuring and compiling): Mention
42585         stop-on-test-failure=y.
42586         * INSTALL: Regenerated.
42588 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42590         * scripts/versionlist.awk: New file.
42591         * Makerules [$(build-shared) = yes]
42592         (postclean-generated): Add Versions.def, not Versions.def.v and
42593         Versions.def.v.i.
42594         ($(common-objpfx)Versions.def.v.i): Target removed.
42595         ($(common-objpfx)Versions.def): New target.
42596         ($(common-objpfx)Versions.all): Depend on that rather that
42597         $(common-objpfx)Versions.def.v.
42598         * Versions.def: File removed.
42600         * Makeconfig (+gccwarn): Add -Wundef.
42601         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
42602         a dl-sysdep.h breaking its contract.
42603         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
42604         * include/stackinfo.h: New file.
42605         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
42606         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
42607         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
42608         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
42609         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
42610         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
42611         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42612         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42613         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42614         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42615         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42616         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
42617         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42618         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42619         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42621 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42623         [BZ #16707]
42624         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
42625         implementation.
42626         * math/libm-test.inc (round_test_data): Add more tests.
42628         [BZ #16706]
42629         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
42630         implementation.
42631         * math/libm-test.inc (nearbyint_test_data): Add more tests.
42633         [BZ #16701]
42634         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
42635         implementation.
42636         * math/libm-test.inc (ceil_test_data): Add more tests.
42638         * math/libm-test.inc (trunc_test_data): Add more tests related to
42639         BZ#16414.
42641 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42643         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
42644         with #if rather than #ifdef.
42645         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
42647 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
42649         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
42650         first.  Disable AVX-512 GCC support if assembler doesn't support
42651         it.
42652         * sysdeps/x86_64/configure: Regenerated.
42654 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
42656         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
42657         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
42658         (__old_pthread_attr_setstack): Likewise.
42659         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
42660         [!_STACK_GROWS_DOWN]: Likewise.
42662 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
42664         * config.make.in (have-bash2): Delete.
42665         * configure.ac (libc_cv_have_bash2): Delete.
42666         * configure: Regenerate.
42667         * elf/Makefile (common-ldd-rewrite): Rename to ...
42668         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
42669         (sh-ldd-rewrite): Delete.
42670         (bash-ldd-rewrite): Delete.
42671         (have-bash2): Delete checks.
42672         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
42673         ldd-rewrite.
42675         * config.make.in (have-ksh): Delete.
42676         (KSH): Delete.
42677         * configure.ac (libc_cv_have_ksh): Delete.
42678         * configure: Regenerate.
42680         * elf/Makefile: Delete $(have-ksh) check.
42681         ($(objpfx)sotruss): Change KSH to BASH.
42682         * elf/sotruss.ksh: Rename to ...
42683         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
42684         function style to match POSIX.  Drop ksh vim mode setting.
42686         * manual/time.texi (Specifying the Time Zone with TZ): Change
42687         Tuesday to Thursday.
42689         * debug/tst-longjmp_chk2.c: Update header comment.
42690         (stackoverflow_handler): Add comment.  Call assert on pass value.
42692 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
42694         [BZ #16194]
42695         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
42696         (HAVE_AVX512_ASM_SUPPORT): Likewise.
42697         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
42698         (La_x86_64_vector): Add zmm.
42699         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
42700         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
42701         ($(objpfx)tst-audit10): New target.
42702         ($(objpfx)tst-audit10.out): Likewise.
42703         (tst-audit10-ENV): New.
42704         (AVX512-CFLAGS): Likewise.
42705         (CFLAGS-tst-audit10.c): Likewise.
42706         (CFLAGS-tst-auditmod10a.c): Likewise.
42707         (CFLAGS-tst-auditmod10b.c): Likewise.
42708         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
42709         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
42710         * sysdeps/x86_64/configure: Regenerated.
42711         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
42712         AVX-512 zmm register support.
42713         (_dl_x86_64_save_sse): Likewise.
42714         (_dl_x86_64_restore_sse): Likewise.
42715         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
42716         size vector registers.
42717         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
42718         (ZMM_SIZE): Likewise.
42719         * sysdeps/x86_64/tst-audit10.c: New file.
42720         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
42721         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
42723 2014-03-13  Roland McGrath  <roland@hack.frob.com>
42725         * configure.ac (HAVE_EHDR_START): New check.
42726         * configure: Regenerated.
42727         * config.h.in (HAVE_EHDR_START): New #undef.
42728         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
42729         assuming the lowest-addressed segment maps the start of the file.
42731 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
42733         * INSTALL: Regenerated.
42735 2014-03-13  Will Newton  <will.newton@linaro.org>
42737         * manual/setjmp.texi (System V contexts): Improve
42738         clarity and grammar of documentation.
42740 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
42742         [BZ #16381]
42743         * elf/Makefile (tests): Add tst-pie2.
42744         (tests-pie): Add tst-pie2.
42745         * elf/tst-pie2.c: New file.
42746         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
42747         for ET_EXEC.
42748         * elf/rtld.c (map_doit): Load executable as lt_executable.
42749         (dl_main): Likewise.
42751 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
42753         [BZ #16642]
42754         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42755         (__ASSUME_PSELECT): Undefine.
42757 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42759         [BZ #16689]
42760         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
42761         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
42762         static build.
42763         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
42764         selector for static builds.
42766 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42768         [BZ #16695]
42769         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
42770         key in the buffer.
42772 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42774         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
42775         IFUNC selector for static builds.
42777 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
42779         * sysdeps/mips/math_private.h [__mips_hard_float]
42780         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
42781         libc_feresetround_mips_ctx.
42782         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
42783         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
42784         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
42786         [BZ #16677]
42787         * math/s_nextafter.c (__nextafter): Do not return value from
42788         overflowing computation.
42789         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
42790         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
42791         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
42792         Likewise.
42793         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
42794         Likewise.
42795         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
42796         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
42798 2014-03-11  Roland McGrath  <roland@hack.frob.com>
42800         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
42801         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
42802         Move sfi_sp use from the load-multiple (that no longer sets sp) to
42803         the new mov targetting sp.
42805 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42807         [BZ #16683]
42808         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
42809         Define it for static builds as well.
42810         (NO_BZERO_IMPL): Likewise.
42812 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42814         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
42815         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
42816         multiarch strspn for PPC64.
42817         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
42818         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
42819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42820         (__libc_ifunc_impl_list): Likewise.
42821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
42822         multiarch optimizations
42823         * string/strspn.c (strspn): Using macro to redefine symbol name.
42825 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42826             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42828         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
42829         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
42830         multiarch strncat for PPC64.
42831         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
42832         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
42833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42834         (__libc_ifunc_impl_list): Likewise.
42835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
42836         multiarch optimizations
42838 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42840         [BZ #16639]
42841         * nscd/nscd.service: Make service type forking.
42843 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42845         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
42846         sign in non default rounding modes.
42847         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
42849 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
42851         * math/libm-test.inc (ALL_RM_TEST): New macro.
42852         (ceil_test): Use ALL_RM_TEST.
42853         (cimag_test): Likewise.
42854         (conj_test): Likewise.
42855         (copysign_test): Likewise.
42856         (cproj_test): Likewise.
42857         (creal_test): Likewise.
42858         (fabs_test): Likewise.
42859         (floor_test): Likewise.
42860         (fmax_test): Likewise.
42861         (fmin_test): Likewise.
42862         (fmod_test): Likewise.
42863         (fpclassify_test): Likewise.
42864         (frexp_test): Likewise.
42865         (ilogb_test): Likewise.
42866         (isfinite_test): Likewise.
42867         (finite_test): Likewise.
42868         (isgreater_test): Likewise.
42869         (isgreaterequal_test): Likewise.
42870         (isinf_test): Likewise.
42871         (isless_test): Likewise.
42872         (islessequal_test): Likewise.
42873         (islessgreater_test): Likewise.
42874         (isnan_test): Likewise.
42875         (isnormal_test): Likewise.
42876         (issignaling_test): Likewise.
42877         (isunordered_test): Likewise.
42878         (logb_test): Likewise.
42879         (logb_downward_test_data): Remove.
42880         (logb_test_downward): Likewise.
42881         (lround_test): Use ALL_RM_TEST.
42882         (llround_test): Likewise.
42883         (modf_test): Likewise.
42884         (nexttoward_test): Likewise.
42885         (remainder_test): Likewise.
42886         (drem_test): Likewise.
42887         (remainder_tonearest_test_data): Likewise.
42888         (remainder_test_tonearest): Likewise.
42889         (drem_test_tonearest): Likewise.
42890         (remainder_towardzero_test_data): Likewise.
42891         (remainder_test_towardzero): Likewise.
42892         (drem_test_towardzero): Likewise.
42893         (remainder_downward_test_data): Likewise.
42894         (remainder_test_downward): Likewise.
42895         (drem_test_downward): Likewise.
42896         (remainder_upward_test_data): Likewise.
42897         (remainder_test_upward): Likewise.
42898         (drem_test_upward): Likewise.
42899         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
42900         (round_test): Use ALL_RM_TEST.
42901         (signbit_test): Likewise.
42902         (trunc_test): Likewise.
42903         (significand_test): Likewise.
42904         (main): Don't call removed functions.
42906 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42908         [BZ #16674]
42909         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
42910         || __USE_XOPEN2K8].
42911         (ILL_ILLOPN): Likewise.
42912         (ILL_ILLADR): Likewise.
42913         (ILL_ILLTRP): Likewise.
42914         (ILL_PRVOPC): Likewise.
42915         (ILL_PRVREG): Likewise.
42916         (ILL_COPROC): Likewise.
42917         (ILL_BADSTK): Likewise.
42918         (FPE_INTDIV): Likewise.
42919         (FPE_INTOVF): Likewise.
42920         (FPE_FLTDIV): Likewise.
42921         (FPE_FLTOVF): Likewise.
42922         (FPE_FLTUND): Likewise.
42923         (FPE_FLTRES): Likewise.
42924         (FPE_FLTINV): Likewise.
42925         (FPE_FLTSUB): Likewise.
42926         (SEGV_MAPERR): Likewise.
42927         (SEGV_ACCERR): Likewise.
42928         (BUS_ADRALN): Likewise.
42929         (BUS_ADRERR): Likewise.
42930         (BUS_OBJERR): Likewise.
42931         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42932         (TRAP_TRACE): Likewise.
42933         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42934         __USE_XOPEN2K8].
42935         (CLD_KILLED): Likewise.
42936         (CLD_DUMPED): Likewise.
42937         (CLD_TRAPPED): Likewise.
42938         (CLD_STOPPED): Likewise.
42939         (CLD_CONTINUED): Likewise.
42940         (POLL_IN): Likewise.
42941         (POLL_OUT): Likewise.
42942         (POLL_MSG): Likewise.
42943         (POLL_ERR): Likewise.
42944         (POLL_PRI): Likewise.
42945         (POLL_HUP): Likewise.
42946         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42947         Likewise.
42948         (ILL_ILLOPN): Likewise.
42949         (ILL_ILLADR): Likewise.
42950         (ILL_ILLTRP): Likewise.
42951         (ILL_PRVOPC): Likewise.
42952         (ILL_PRVREG): Likewise.
42953         (ILL_COPROC): Likewise.
42954         (ILL_BADSTK): Likewise.
42955         (FPE_INTDIV): Likewise.
42956         (FPE_INTOVF): Likewise.
42957         (FPE_FLTDIV): Likewise.
42958         (FPE_FLTOVF): Likewise.
42959         (FPE_FLTUND): Likewise.
42960         (FPE_FLTRES): Likewise.
42961         (FPE_FLTINV): Likewise.
42962         (FPE_FLTSUB): Likewise.
42963         (SEGV_MAPERR): Likewise.
42964         (SEGV_ACCERR): Likewise.
42965         (BUS_ADRALN): Likewise.
42966         (BUS_ADRERR): Likewise.
42967         (BUS_OBJERR): Likewise.
42968         (BUS_MCEERR_AR): Likewise.
42969         (BUS_MCEERR_AO): Likewise.
42970         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42971         (TRAP_TRACE): Likewise.
42972         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42973         __USE_XOPEN2K8].
42974         (CLD_KILLED): Likewise.
42975         (CLD_DUMPED): Likewise.
42976         (CLD_TRAPPED): Likewise.
42977         (CLD_STOPPED): Likewise.
42978         (CLD_CONTINUED): Likewise.
42979         (POLL_IN): Likewise.
42980         (POLL_OUT): Likewise.
42981         (POLL_MSG): Likewise.
42982         (POLL_ERR): Likewise.
42983         (POLL_PRI): Likewise.
42984         (POLL_HUP): Likewise.
42985         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42986         (ILL_ILLOPN): Likewise.
42987         (ILL_ILLADR): Likewise.
42988         (ILL_ILLTRP): Likewise.
42989         (ILL_PRVOPC): Likewise.
42990         (ILL_PRVREG): Likewise.
42991         (ILL_COPROC): Likewise.
42992         (ILL_BADSTK): Likewise.
42993         (FPE_INTDIV): Likewise.
42994         (FPE_INTOVF): Likewise.
42995         (FPE_FLTDIV): Likewise.
42996         (FPE_FLTOVF): Likewise.
42997         (FPE_FLTUND): Likewise.
42998         (FPE_FLTRES): Likewise.
42999         (FPE_FLTINV): Likewise.
43000         (FPE_FLTSUB): Likewise.
43001         (SEGV_MAPERR): Likewise.
43002         (SEGV_ACCERR): Likewise.
43003         (BUS_ADRALN): Likewise.
43004         (BUS_ADRERR): Likewise.
43005         (BUS_OBJERR): Likewise.
43006         (BUS_MCEERR_AR): Likewise.
43007         (BUS_MCEERR_AO): Likewise.
43008         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43009         (TRAP_TRACE): Likewise.
43010         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43011         __USE_XOPEN2K8].
43012         (CLD_KILLED): Likewise.
43013         (CLD_DUMPED): Likewise.
43014         (CLD_TRAPPED): Likewise.
43015         (CLD_STOPPED): Likewise.
43016         (CLD_CONTINUED): Likewise.
43017         (POLL_IN): Likewise.
43018         (POLL_OUT): Likewise.
43019         (POLL_MSG): Likewise.
43020         (POLL_ERR): Likewise.
43021         (POLL_PRI): Likewise.
43022         (POLL_HUP): Likewise.
43023         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43024         Likewise.
43025         (ILL_ILLOPN): Likewise.
43026         (ILL_ILLADR): Likewise.
43027         (ILL_ILLTRP): Likewise.
43028         (ILL_PRVOPC): Likewise.
43029         (ILL_PRVREG): Likewise.
43030         (ILL_COPROC): Likewise.
43031         (ILL_BADSTK): Likewise.
43032         (ILL_BADIADDR): Likewise.
43033         (ILL_BREAK): Likewise.
43034         (FPE_INTDIV): Likewise.
43035         (FPE_INTOVF): Likewise.
43036         (FPE_FLTDIV): Likewise.
43037         (FPE_FLTOVF): Likewise.
43038         (FPE_FLTUND): Likewise.
43039         (FPE_FLTRES): Likewise.
43040         (FPE_FLTINV): Likewise.
43041         (FPE_FLTSUB): Likewise.
43042         (FPE_DECOVF): Likewise.
43043         (FPE_DECDIV): Likewise.
43044         (FPE_DECERR): Likewise.
43045         (FPE_INVASC): Likewise.
43046         (FPE_INVDEC): Likewise.
43047         (SEGV_MAPERR): Likewise.
43048         (SEGV_ACCERR): Likewise.
43049         (SEGV_PSTKOVF): Likewise.
43050         (BUS_ADRALN): Likewise.
43051         (BUS_ADRERR): Likewise.
43052         (BUS_OBJERR): Likewise.
43053         (BUS_MCEERR_AR): Likewise.
43054         (BUS_MCEERR_AO): Likewise.
43055         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43056         (TRAP_TRACE): Likewise.
43057         (TRAP_BRANCH): Likewise.
43058         (TRAP_HWBKPT): Likewise.
43059         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43060         __USE_XOPEN2K8].
43061         (CLD_KILLED): Likewise.
43062         (CLD_DUMPED): Likewise.
43063         (CLD_TRAPPED): Likewise.
43064         (CLD_STOPPED): Likewise.
43065         (CLD_CONTINUED): Likewise.
43066         (POLL_IN): Likewise.
43067         (POLL_OUT): Likewise.
43068         (POLL_MSG): Likewise.
43069         (POLL_ERR): Likewise.
43070         (POLL_PRI): Likewise.
43071         (POLL_HUP): Likewise.
43072         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43073         (ILL_ILLOPN): Likewise.
43074         (ILL_ILLADR): Likewise.
43075         (ILL_ILLTRP): Likewise.
43076         (ILL_PRVOPC): Likewise.
43077         (ILL_PRVREG): Likewise.
43078         (ILL_COPROC): Likewise.
43079         (ILL_BADSTK): Likewise.
43080         (FPE_INTDIV): Likewise.
43081         (FPE_INTOVF): Likewise.
43082         (FPE_FLTDIV): Likewise.
43083         (FPE_FLTOVF): Likewise.
43084         (FPE_FLTUND): Likewise.
43085         (FPE_FLTRES): Likewise.
43086         (FPE_FLTINV): Likewise.
43087         (FPE_FLTSUB): Likewise.
43088         (SEGV_MAPERR): Likewise.
43089         (SEGV_ACCERR): Likewise.
43090         (BUS_ADRALN): Likewise.
43091         (BUS_ADRERR): Likewise.
43092         (BUS_OBJERR): Likewise.
43093         (BUS_MCEERR_AR): Likewise.
43094         (BUS_MCEERR_AO): Likewise.
43095         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43096         (TRAP_TRACE): Likewise.
43097         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43098         __USE_XOPEN2K8].
43099         (CLD_KILLED): Likewise.
43100         (CLD_DUMPED): Likewise.
43101         (CLD_TRAPPED): Likewise.
43102         (CLD_STOPPED): Likewise.
43103         (CLD_CONTINUED): Likewise.
43104         (POLL_IN): Likewise.
43105         (POLL_OUT): Likewise.
43106         (POLL_MSG): Likewise.
43107         (POLL_ERR): Likewise.
43108         (POLL_PRI): Likewise.
43109         (POLL_HUP): Likewise.
43110         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43111         (ILL_ILLOPN): Likewise.
43112         (ILL_ILLADR): Likewise.
43113         (ILL_ILLTRP): Likewise.
43114         (ILL_PRVOPC): Likewise.
43115         (ILL_PRVREG): Likewise.
43116         (ILL_COPROC): Likewise.
43117         (ILL_BADSTK): Likewise.
43118         (FPE_INTDIV): Likewise.
43119         (FPE_INTOVF): Likewise.
43120         (FPE_FLTDIV): Likewise.
43121         (FPE_FLTOVF): Likewise.
43122         (FPE_FLTUND): Likewise.
43123         (FPE_FLTRES): Likewise.
43124         (FPE_FLTINV): Likewise.
43125         (FPE_FLTSUB): Likewise.
43126         (SEGV_MAPERR): Likewise.
43127         (SEGV_ACCERR): Likewise.
43128         (BUS_ADRALN): Likewise.
43129         (BUS_ADRERR): Likewise.
43130         (BUS_OBJERR): Likewise.
43131         (BUS_MCEERR_AR): Likewise.
43132         (BUS_MCEERR_AO): Likewise.
43133         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43134         (TRAP_TRACE): Likewise.
43135         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43136         __USE_XOPEN2K8].
43137         (CLD_KILLED): Likewise.
43138         (CLD_DUMPED): Likewise.
43139         (CLD_TRAPPED): Likewise.
43140         (CLD_STOPPED): Likewise.
43141         (CLD_CONTINUED): Likewise.
43142         (POLL_IN): Likewise.
43143         (POLL_OUT): Likewise.
43144         (POLL_MSG): Likewise.
43145         (POLL_ERR): Likewise.
43146         (POLL_PRI): Likewise.
43147         (POLL_HUP): Likewise.
43148         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43149         (ILL_ILLOPN): Likewise.
43150         (ILL_ILLADR): Likewise.
43151         (ILL_ILLTRP): Likewise.
43152         (ILL_PRVOPC): Likewise.
43153         (ILL_PRVREG): Likewise.
43154         (ILL_COPROC): Likewise.
43155         (ILL_BADSTK): Likewise.
43156         (FPE_INTDIV): Likewise.
43157         (FPE_INTOVF): Likewise.
43158         (FPE_FLTDIV): Likewise.
43159         (FPE_FLTOVF): Likewise.
43160         (FPE_FLTUND): Likewise.
43161         (FPE_FLTRES): Likewise.
43162         (FPE_FLTINV): Likewise.
43163         (FPE_FLTSUB): Likewise.
43164         (SEGV_MAPERR): Likewise.
43165         (SEGV_ACCERR): Likewise.
43166         (BUS_ADRALN): Likewise.
43167         (BUS_ADRERR): Likewise.
43168         (BUS_OBJERR): Likewise.
43169         (BUS_MCEERR_AR): Likewise.
43170         (BUS_MCEERR_AO): Likewise.
43171         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43172         (TRAP_TRACE): Likewise.
43173         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43174         __USE_XOPEN2K8].
43175         (CLD_KILLED): Likewise.
43176         (CLD_DUMPED): Likewise.
43177         (CLD_TRAPPED): Likewise.
43178         (CLD_STOPPED): Likewise.
43179         (CLD_CONTINUED): Likewise.
43180         (POLL_IN): Likewise.
43181         (POLL_OUT): Likewise.
43182         (POLL_MSG): Likewise.
43183         (POLL_ERR): Likewise.
43184         (POLL_PRI): Likewise.
43185         (POLL_HUP): Likewise.
43186         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43187         (ILL_ILLOPN): Likewise.
43188         (ILL_ILLADR): Likewise.
43189         (ILL_ILLTRP): Likewise.
43190         (ILL_PRVOPC): Likewise.
43191         (ILL_PRVREG): Likewise.
43192         (ILL_COPROC): Likewise.
43193         (ILL_BADSTK): Likewise.
43194         (ILL_DBLFLT): Likewise.
43195         (ILL_HARDWALL): Likewise.
43196         (FPE_INTDIV): Likewise.
43197         (FPE_INTOVF): Likewise.
43198         (FPE_FLTDIV): Likewise.
43199         (FPE_FLTOVF): Likewise.
43200         (FPE_FLTUND): Likewise.
43201         (FPE_FLTRES): Likewise.
43202         (FPE_FLTINV): Likewise.
43203         (FPE_FLTSUB): Likewise.
43204         (SEGV_MAPERR): Likewise.
43205         (SEGV_ACCERR): Likewise.
43206         (BUS_ADRALN): Likewise.
43207         (BUS_ADRERR): Likewise.
43208         (BUS_OBJERR): Likewise.
43209         (BUS_MCEERR_AR): Likewise.
43210         (BUS_MCEERR_AO): Likewise.
43211         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43212         (TRAP_TRACE): Likewise.
43213         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43214         __USE_XOPEN2K8].
43215         (CLD_KILLED): Likewise.
43216         (CLD_DUMPED): Likewise.
43217         (CLD_TRAPPED): Likewise.
43218         (CLD_STOPPED): Likewise.
43219         (CLD_CONTINUED): Likewise.
43220         (POLL_IN): Likewise.
43221         (POLL_OUT): Likewise.
43222         (POLL_MSG): Likewise.
43223         (POLL_ERR): Likewise.
43224         (POLL_PRI): Likewise.
43225         (POLL_HUP): Likewise.
43226         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
43227         (ILL_ILLOPN): Likewise.
43228         (ILL_ILLADR): Likewise.
43229         (ILL_ILLTRP): Likewise.
43230         (ILL_PRVOPC): Likewise.
43231         (ILL_PRVREG): Likewise.
43232         (ILL_COPROC): Likewise.
43233         (ILL_BADSTK): Likewise.
43234         (FPE_INTDIV): Likewise.
43235         (FPE_INTOVF): Likewise.
43236         (FPE_FLTDIV): Likewise.
43237         (FPE_FLTOVF): Likewise.
43238         (FPE_FLTUND): Likewise.
43239         (FPE_FLTRES): Likewise.
43240         (FPE_FLTINV): Likewise.
43241         (FPE_FLTSUB): Likewise.
43242         (SEGV_MAPERR): Likewise.
43243         (SEGV_ACCERR): Likewise.
43244         (BUS_ADRALN): Likewise.
43245         (BUS_ADRERR): Likewise.
43246         (BUS_OBJERR): Likewise.
43247         (BUS_MCEERR_AR): Likewise.
43248         (BUS_MCEERR_AO): Likewise.
43249         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43250         (TRAP_TRACE): Likewise.
43251         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43252         __USE_XOPEN2K8].
43253         (CLD_KILLED): Likewise.
43254         (CLD_DUMPED): Likewise.
43255         (CLD_TRAPPED): Likewise.
43256         (CLD_STOPPED): Likewise.
43257         (CLD_CONTINUED): Likewise.
43258         (POLL_IN): Likewise.
43259         (POLL_OUT): Likewise.
43260         (POLL_MSG): Likewise.
43261         (POLL_ERR): Likewise.
43262         (POLL_PRI): Likewise.
43263         (POLL_HUP): Likewise.
43264         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
43265         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43267         [BZ #16670]
43268         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
43269         before #include of <time.h>.
43270         [!__USE_XOPEN2K] (__need_timespec): Likewise.
43271         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
43272         (test-xfail-UNIX98/sched.h/conform): Likewise.
43274 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43276         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
43277         error absence of trapping exception support.
43278         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43280 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
43282         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
43283         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
43284         * timezone/Makefile (testdata): Move definition above include of
43285         Rules.
43286         (test-zones): New variable.
43287         (tests-special): Add zone files.
43288         (build-testdata): Use $(evaluate-test).
43290         * elf/Makefile (tests-special): Rename tests to end with .out.
43291         ($(objpfx)noload-mem): Likewise.
43292         ($(objpfx)tst-leaks1-mem): Likewise.
43293         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
43294         * iconv/Makefile (xtests-special): Change test-iconvconfig to
43295         $(objpfx)test-iconvconfig.out.
43296         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
43297         set -e inside subshell and redirect output to file.
43298         * iconvdata/Makefile (generated): Rename tests to end with .out.
43299         Correct type.
43300         (tests-special): Rename tests to end with .out.
43301         ($(objpfx)mtrace-tst-loading): Likewise.
43302         * intl/Makefile (generated): Likewise.
43303         (tests-special): Likewise.
43304         ($(objpfx)mtrace-tst-gettext): Likewise.
43305         * misc/Makefile (generated): Likewise.
43306         (tests-special): Likewise.
43307         ($(objpfx)tst-error1-mem): Likewise.
43308         * nptl/Makefile (tests-special): Likewise.
43309         ($(objpfx)tst-stack3-mem): Likewise.
43310         (generated): Likewise.
43311         * posix/Makefile (generated): Likewise.
43312         (tests-special): Likewise.
43313         (xtests-special): Likewise.
43314         ($(objpfx)tst-fnmatch-mem): Likewise.
43315         ($(objpfx)bug-regex2-mem): Likewise.
43316         ($(objpfx)bug-regex14-mem): Likewise.
43317         ($(objpfx)bug-regex21-mem): Likewise.
43318         ($(objpfx)bug-regex31-mem): Likewise.
43319         ($(objpfx)tst-vfork3-mem): Likewise.
43320         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43321         ($(objpfx)tst-pcre-mem): Likewise.
43322         ($(objpfx)tst-boost-mem): Likewise.
43323         ($(objpfx)bug-ga2-mem): Likewise.
43324         ($(objpfx)bug-glob2-mem): Likewise.
43325         * resolv/Makefile (generate): Likewise.
43326         (tests-special): Likewise.
43327         (xtests-special): Likewise.
43328         (generated): Likewise.
43329         ($(objpfx)mtrace-tst-leaks): Likewise.
43330         ($(objpfx)mtrace-tst-leaks2): Likewise.
43332         * scripts/merge-test-results.sh: New file.
43333         * Makefile (tests-special-notdir): New variable.
43334         (tests): Run merge-test-results.sh.
43335         (xtests): Likewise.
43336         * Rules (tests-special-notdir): New variable.
43337         (xtests-special-notdir): Likewise.
43338         (tests): Run merge-test-results.sh
43339         (xtests): Likewise.
43341         * Makeconfig (test-xfail-name): New variable.
43342         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
43343         compute variable name for expected failures.
43344         * conform/Makefile (conformtest-headers-data): New variable.
43345         (conformtest-standards): Likewise.
43346         (conformtest-headers-ISO): Likewise.
43347         (conformtest-headers-ISO99): Likewise.
43348         (conformtest-headers-ISO11): Likewise.
43349         (conformtest-headers-POSIX): Likewise.
43350         (conformtest-headers-XPG3): Likewise.
43351         (conformtest-headers-XPG4): Likewise.
43352         (conformtest-headers-UNIX98): Likewise.
43353         (conformtest-headers-XOPEN2K): Likewise.
43354         (conformtest-headers-POSIX2008): Likewise.
43355         (conformtest-headers-XOPEN2K8): Likewise.
43356         (conformtest-header-list-base): Likewise.
43357         (conformtest-header-list-tests): Likewise.
43358         (conformtest-header-base): Likewise.
43359         (conformtest-header-tests): Likewise.
43360         (tests-special): Add $(conformtest-header-list-tests).  If
43361         [$(fast-check) && !$(cross-compiling)], add
43362         $(conformtest-header-tests) instead of
43363         $(objpfx)run-conformtest.out.
43364         (generated): Add $(conformtest-header-list-base).  If
43365         [$(fast-check) && !$(cross-compiling)], add
43366         $(conformtest-header-base).  Remove previous setting.
43367         ($(conformtest-header-list-tests)): New target.
43368         (test-xfail-run-conformtest): Remove variable.
43369         ($(objpfx)run-conformtest.out): Remove target.
43370         (test-xfail-ISO11/complex.h/conform): New variable.
43371         (test-xfail-ISO11/stdalign.h/conform): Likewise.
43372         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
43373         (test-xfail-XPG3/varargs.h/conform): Likewise.
43374         (test-xfail-XPG4/varargs.h/conform): Likewise.
43375         (test-xfail-UNIX98/varargs.h/conform): Likewise.
43376         (test-xfail-XPG4/ndbm.h/conform): Likewise.
43377         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
43378         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
43379         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
43380         (test-xfail-XPG3/fcntl.h/conform): Likewise.
43381         (test-xfail-XPG3/ftw.h/conform): Likewise.
43382         (test-xfail-XPG3/grp.h/conform): Likewise.
43383         (test-xfail-XPG3/langinfo.h/conform): Likewise.
43384         (test-xfail-XPG3/limits.h/conform): Likewise.
43385         (test-xfail-XPG3/pwd.h/conform): Likewise.
43386         (test-xfail-XPG3/search.h/conform): Likewise.
43387         (test-xfail-XPG3/signal.h/conform): Likewise.
43388         (test-xfail-XPG3/stdio.h/conform): Likewise.
43389         (test-xfail-XPG3/stdlib.h/conform): Likewise.
43390         (test-xfail-XPG3/string.h/conform): Likewise.
43391         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
43392         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
43393         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
43394         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
43395         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
43396         (test-xfail-XPG3/sys/types.h/conform): Likewise.
43397         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
43398         (test-xfail-XPG3/termios.h/conform): Likewise.
43399         (test-xfail-XPG3/time.h/conform): Likewise.
43400         (test-xfail-XPG3/unistd.h/conform): Likewise.
43401         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
43402         (test-xfail-XPG4/fcntl.h/conform): Likewise.
43403         (test-xfail-XPG4/langinfo.h/conform): Likewise.
43404         (test-xfail-XPG4/netdb.h/conform): Likewise.
43405         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
43406         (test-xfail-XPG4/signal.h/conform): Likewise.
43407         (test-xfail-XPG4/stdio.h/conform): Likewise.
43408         (test-xfail-XPG4/stdlib.h/conform): Likewise.
43409         (test-xfail-XPG4/stropts.h/conform): Likewise.
43410         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
43411         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
43412         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
43413         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
43414         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
43415         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
43416         (test-xfail-XPG4/sys/time.h/conform): Likewise.
43417         (test-xfail-XPG4/sys/types.h/conform): Likewise.
43418         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
43419         (test-xfail-XPG4/termios.h/conform): Likewise.
43420         (test-xfail-XPG4/ucontext.h/conform): Likewise.
43421         (test-xfail-XPG4/unistd.h/conform): Likewise.
43422         (test-xfail-XPG4/utmpx.h/conform): Likewise.
43423         (test-xfail-POSIX/sched.h/conform): Likewise.
43424         (test-xfail-POSIX/signal.h/conform): Likewise.
43425         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43426         (test-xfail-POSIX/tar.h/conform): Likewise.
43427         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
43428         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
43429         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
43430         (test-xfail-UNIX98/netdb.h/conform): Likewise.
43431         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
43432         (test-xfail-UNIX98/sched.h/conform): Likewise.
43433         (test-xfail-UNIX98/signal.h/conform): Likewise.
43434         (test-xfail-UNIX98/stdio.h/conform): Likewise.
43435         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
43436         (test-xfail-UNIX98/stropts.h/conform): Likewise.
43437         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
43438         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
43439         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
43440         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
43441         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
43442         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
43443         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
43444         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
43445         (test-xfail-UNIX98/unistd.h/conform): Likewise.
43446         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
43447         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
43448         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
43449         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
43450         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
43451         (test-xfail-XOPEN2K/math.h/conform): Likewise.
43452         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
43453         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
43454         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
43455         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
43456         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
43457         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
43458         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
43459         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
43460         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
43461         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
43462         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
43463         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
43464         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
43465         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
43466         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
43467         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
43468         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
43469         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
43470         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
43471         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
43472         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
43473         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
43474         (test-xfail-POSIX2008/signal.h/conform): Likewise.
43475         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
43476         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
43477         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
43478         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
43479         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
43480         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
43481         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
43482         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
43483         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
43484         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
43485         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
43486         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
43487         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
43488         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
43489         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
43490         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
43491         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
43492         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
43493         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
43494         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
43495         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
43496         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
43497         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
43498         (conformtest-cc-flags): Likewise.
43499         ($(conformtest-header-tests): New target.
43500         * conform/check-header-lists.sh: New file.
43501         * conform/run-conformtest.sh: Remove.
43503         * conform/conformtest.pl: Allow ' and \ in values given for
43504         constants.
43505         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
43506         inclusion.
43507         [POSIX] (sys/types.h): Likewise.
43508         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
43509         inclusion.
43510         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
43511         inclusion.
43512         * conform/data/signal.h-data (SIGIO): Remove expectation.
43513         [XPG3] (SIGBUS): Do not expect.
43514         [POSIX || XPG3] (SIGPOLL): Likewise.
43515         [POSIX || XPG3] (SIGPROF): Likewise.
43516         [POSIX || XPG3] (SIGSYS): Likewise.
43517         [XPG3] (SIGTRAP): Likewise.
43518         [POSIX || XPG3] (SIGURG): Likewise.
43519         [POSIX || XPG3] (SIGVTALRM): Likewise.
43520         [POSIX || XPG3] (SIGXCPU): Likewise.
43521         [POSIX || XPG3] (SIGXFSZ): Likewise.
43522         [POSIX] (SA_SIGINFO): Expect.
43523         [XPG3] (siginfo_t): Do not expect type or contents.
43524         [POSIX] (si_pid): Do not expect element.
43525         [POSIX] (si_uid): Likewise.
43526         [POSIX] (si_addr): Likewise.
43527         [POSIX] (si_status): Likewise.
43528         [POSIX] (si_band): Likewise.
43529         [XPG4] (si_value): Likewise.
43530         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
43531         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
43532         [POSIX || XPG3] (ILL_ILLADR): Likewise.
43533         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
43534         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
43535         [POSIX || XPG3] (ILL_PRVREG): Likewise.
43536         [POSIX || XPG3] (ILL_COPROC): Likewise.
43537         [POSIX || XPG3] (ILL_BADSTK): Likewise.
43538         [POSIX || XPG3] (FPE_INTDIV): Likewise.
43539         [POSIX || XPG3] (FPE_INTOVF): Likewise.
43540         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
43541         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
43542         [POSIX || XPG3] (FPE_FLTUND): Likewise.
43543         [POSIX || XPG3] (FPE_FLTRES): Likewise.
43544         [POSIX || XPG3] (FPE_FLTINV): Likewise.
43545         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
43546         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
43547         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
43548         [POSIX || XPG3] (BUS_ADRALN): Likewise.
43549         [POSIX || XPG3] (BUS_ADRERR): Likewise.
43550         [POSIX || XPG3] (BUS_OBJERR): Likewise.
43551         [POSIX || XPG3] (CLD_EXITED): Likewise.
43552         [POSIX || XPG3] (CLD_KILLED): Likewise.
43553         [POSIX || XPG3] (CLD_DUMPED): Likewise.
43554         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
43555         [POSIX || XPG3] (CLD_STOPPED): Likewise.
43556         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
43557         [POSIX || XPG3] (POLL_IN): Likewise.
43558         [POSIX || XPG3] (POLL_OUT): Likewise.
43559         [POSIX || XPG3] (POLL_MSG): Likewise.
43560         [POSIX || XPG3] (POLL_ERR): Likewise.
43561         [POSIX || XPG3] (POLL_PRI): Likewise.
43562         [POSIX || XPG3] (POLL_HUP): Likewise.
43563         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
43564         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
43565         (SIG*): Do not allow.
43566         [XPG3] (si_*): Likewise.
43567         [XPG3] (SI_*): Likewise.
43568         [XPG3 || XPG4] (sigev_*): Likewise.
43569         [XPG3 || XPG4] (SIGEV_*): Likewise.
43570         [XPG3 || XPG4] (sival_*): Likewise.
43571         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
43572         [POSIX || XPG3] (BUS_*): Likewise.
43573         [POSIX || XPG3] (CLD_*): Likewise.
43574         [POSIX || XPG3] (FPE_*): Likewise.
43575         [POSIX || XPG3] (ILL_*): Likewise.
43576         [POSIX || XPG3] (POLL_*): Likewise.
43577         [POSIX || XPG3] (SEGV_*): Likewise.
43578         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
43579         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
43580         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
43581         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
43582         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
43583         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
43584         Specify type and value.
43585         (TVERSLEN): Likewise.
43586         (REGTYPE): Likewise.
43587         (AREGTYPE): Likewise.
43588         (LNKTYPE): Likewise.
43589         (SYMTYPE): Likewise.
43590         (CHRTYPE): Likewise.
43591         (BLKTYPE): Likewise.
43592         (DIRTYPE): Likewise.
43593         (FIFOTYPE): Likewise.
43594         (CONTTYPE): Likewise.
43595         (TSUID): Likewise.
43596         (TSGID): Likewise.
43597         (TSVTX): Likewise.
43598         (TUREAD): Likewise.
43599         (TUWRITE): Likewise.
43600         (TUEXEC): Likewise.
43601         (TGREAD): Likewise.
43602         (TGWRITE): Likewise.
43603         (TGEXEC): Likewise.
43604         (TOREAD): Likewise.
43605         (TOWRITE): Likewise.
43606         (TOEXEC): Likewise.
43607         [POSIX] (TSVTX): Expect constant.
43609 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
43611         * Makefile (tests): Change dependencies to ....
43612         (tests-special): ... additions to this variable.
43613         (tests): Depend on $(tests-special).
43614         * Makerules (check-abi-list): New variable.
43615         (check-abi): Depend on $(check-abi-list).
43616         [$(subdir) = elf] (tests-special): Add
43617         $(objpfx)check-abi-libc.out.
43618         [$(build-shared) = yes && subdir] (tests-special): Add
43619         $(check-abi-list).
43620         [$(build-shared) = yes && subdir] (tests): Do not depend on
43621         check-abi.
43622         * Rules (tests): Depend on $(tests-special).
43623         (xtests): Depend on $(xtests-special).
43624         * catgets/Makefile (tests): Change dependencies to ....
43625         (tests-special): ... additions to this variable.
43626         * conform/Makefile (tests): Change dependencies to ....
43627         (tests-special): ... additions to this variable.
43628         * elf/Makefile (tests): Change dependencies to ....
43629         (tests-special): ... additions to this variable.
43630         * grp/Makefile (tests): Change dependencies to ....
43631         (tests-special): ... additions to this variable.
43632         * iconv/Makefile (xtests): Change dependencies to ....
43633         (xtests-special): ... additions to this variable.
43634         * iconvdata/Makefile (tests): Change dependencies to ....
43635         (tests-special): ... additions to this variable.
43636         * intl/Makefile (tests): Change dependencies to ....
43637         (tests-special): ... additions to this variable.  Also add
43638         $(objpfx)tst-gettext.out.
43639         * io/Makefile (tests): Change dependencies to ....
43640         (tests-special): ... additions to this variable.
43641         * libio/Makefile (tests): Change dependencies to ....
43642         (tests-special): ... additions to this variable.
43643         * malloc/Makefile (tests): Change dependencies to ....
43644         (tests-special): ... additions to this variable.
43645         * misc/Makefile (tests): Change dependencies to ....
43646         (tests-special): ... additions to this variable.
43647         * nptl/Makefile (tests): Change dependencies to ....
43648         (tests-special): ... additions to this variable.
43649         * nptl_db/Makefile (tests): Change dependencies to ....
43650         (tests-special): ... additions to this variable.
43651         * posix/Makefile (tests): Change dependencies to ....
43652         (tests-special): ... additions to this variable.
43653         (xtests): Change dependencies to ....
43654         (xtests-special): ... additions to this variable.
43655         * resolv/Makefile (tests): Change dependencies to ....
43656         (tests-special): ... additions to this variable.
43657         (xtests): Change dependencies to ....
43658         (xtests-special): ... additions to this variable.
43659         * stdio-common/Makefile (tests): Change dependencies to ....
43660         (tests-special): ... additions to this variable.
43661         (do-tst-unbputc): Remove target.
43662         (do-tst-printf): Likewise.
43663         * stdlib/Makefile (tests): Change dependencies to ....
43664         (tests-special): ... additions to this variable.
43665         * string/Makefile (tests): Change dependencies to ....
43666         (tests-special): ... additions to this variable.
43667         * sysdeps/x86/Makefile (tests): Change dependencies to ....
43668         (tests-special): ... additions to this variable.
43670         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
43671         whole file.
43672         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
43673         whole file.
43674         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
43675         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
43677         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
43678         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
43679         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
43680         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
43681         * conform/data/libgen.h-data [XPG3]: Likewise.
43682         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
43683         * conform/data/ndbm.h-data [XPG3]: Likewise.
43684         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43685         * conform/data/netdb.h-data [XPG3]: Likewise.
43686         * conform/data/netinet/in.h-data [XPG3]: Likewise.
43687         * conform/data/poll.h-data [XPG3]: Likewise.
43688         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43689         * conform/data/strings.h-data [XPG3]: Likewise.
43690         * conform/data/stropts.h-data [XPG3]: Likewise.
43691         * conform/data/sys/mman.h-data [XPG3]: Likewise.
43692         * conform/data/sys/resource.h-data [XPG3]: Likewise.
43693         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
43694         Likewise.
43695         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
43696         * conform/data/sys/time.h-data [XPG3]: Likewise.
43697         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
43698         * conform/data/sys/uio.h-data [XPG3]: Likewise.
43699         * conform/data/sys/un.h-data [XPG3]: Likewise.
43700         * conform/data/syslog.h-data [XPG3]: Likewise.
43701         * conform/data/ucontext.h-data [XPG3]: Likewise.
43702         * conform/data/utmpx.h-data [XPG3]: Likewise.
43703         * conform/data/varargs.h-data [UNIX98]: Enable file.
43705         * manual/Makefile (INSTALL_INFO): Remove variable setting.
43707         * math/libm-test.inc (struct test_f_f_data): Move expected results
43708         into structure for each rounding mode.
43709         (struct test_ff_f_data): Likewise.
43710         (struct test_ff_f_data_nexttoward): Likewise.
43711         (struct test_fi_f_data): Likewise.
43712         (struct test_fl_f_data): Likewise.
43713         (struct test_if_f_data): Likewise.
43714         (struct test_fff_f_data): Likewise.
43715         (struct test_c_f_data): Likewise.
43716         (struct test_f_f1_data): Likewise.
43717         (struct test_fF_f1_data): Likewise.
43718         (struct test_ffI_f1_data): Likewise.
43719         (struct test_c_c_data): Likewise.
43720         (struct test_cc_c_data): Likewise.
43721         (struct test_f_i_data): Likewise.
43722         (struct test_ff_i_data): Likewise.
43723         (struct test_f_l_data): Likewise.
43724         (struct test_f_L_data): Likewise.
43725         (struct test_fFF_11_data): Likewise.
43726         (RM_): New macro.
43727         (RM_FE_DOWNWARD): Likewise.
43728         (RM_FE_TONEAREST): Likewise.
43729         (RM_FE_TOWARDZERO): Likewise.
43730         (RM_FE_UPWARD): Likewise.
43731         (RUN_TEST_LOOP_f_f): Update references to expected results.
43732         (RUN_TEST_LOOP_2_f): Likewise.
43733         (RUN_TEST_LOOP_fff_f): Likewise.
43734         (RUN_TEST_LOOP_c_f): Likewise.
43735         (RUN_TEST_LOOP_f_f1): Likewise.
43736         (RUN_TEST_LOOP_fF_f1): Likewise.
43737         (RUN_TEST_LOOP_fI_f1): Likewise.
43738         (RUN_TEST_LOOP_ffI_f1): Likewise.
43739         (RUN_TEST_LOOP_c_c): Likewise.
43740         (RUN_TEST_LOOP_cc_c): Likewise.
43741         (RUN_TEST_LOOP_f_i): Likewise.
43742         (RUN_TEST_LOOP_f_i_tg): Likewise.
43743         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43744         (RUN_TEST_LOOP_f_b): Likewise.
43745         (RUN_TEST_LOOP_f_b_tg): Likewise.
43746         (RUN_TEST_LOOP_f_l): Likewise.
43747         (RUN_TEST_LOOP_f_L): Likewise.
43748         (RUN_TEST_LOOP_fFF_11): Likewise.
43749         * math/gen-libm-test.pl (parse_args): Output four copies of
43750         expected results for each test.
43752         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43753         (__ASSUME_UTIMES): Remove.
43754         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43755         (__ASSUME_UTIMES): Likewise.
43757         * math/gen-auto-libm-tests.c: Update comment on output format.
43758         (output_for_one_input_case): Generate before-rounding and
43759         after-rounding information as conditions on output flags not
43760         floating-point format.
43761         * math/auto-libm-test-out: Regenerated.
43762         * math/gen-libm-test.pl (cond_value): New function.
43763         (or_cond_value): Use cond_value.
43764         (generate_testfile): Handle conditional exceptions.
43766 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
43768         * math/libm-test.inc (max_valid_error): New variable.
43769         (init_max_error): Take new argument specifying whether function
43770         results are exactly determined.  Set max_valid_error and bound
43771         other variables for errors based on this argument.
43772         (set_max_error): Do not record results above max_valid_error.
43773         (check_float_internal): Only accept errors of up to 0.5ulps if
43774         also at most max_valid_error.
43775         (START): Take new argument EXACT and pass it to init_max_error.
43776         (acos_test): Update call to START.
43777         (acos_test_tonearest): Likewise.
43778         (acos_test_towardzero): Likewise.
43779         (acos_test_downward): Likewise.
43780         (acos_test_upward): Likewise.
43781         (acosh_test): Likewise.
43782         (asin_test): Likewise.
43783         (asin_test_tonearest): Likewise.
43784         (asin_test_towardzero): Likewise.
43785         (asin_test_downward): Likewise.
43786         (asin_test_upward): Likewise.
43787         (asinh_test): Likewise.
43788         (atan_test): Likewise.
43789         (atanh_test): Likewise.
43790         (atan2_test): Likewise.
43791         (cabs_test): Likewise.
43792         (cacos_test): Likewise.
43793         (cacosh_test): Likewise.
43794         (carg_test): Likewise.
43795         (casin_test): Likewise.
43796         (casinh_test): Likewise.
43797         (catan_test): Likewise.
43798         (catanh_test): Likewise.
43799         (cbrt_test): Likewise.
43800         (ccos_test): Likewise.
43801         (ccosh_test): Likewise.
43802         (ceil_test): Likewise.
43803         (cexp_test): Likewise.
43804         (cimag_test): Likewise.
43805         (clog_test): Likewise.
43806         (clog10_test): Likewise.
43807         (conj_test): Likewise.
43808         (copysign_test): Likewise.
43809         (cos_test): Likewise.
43810         (cos_test_tonearest): Likewise.
43811         (cos_test_towardzero): Likewise.
43812         (cos_test_downward): Likewise.
43813         (cos_test_upward): Likewise.
43814         (cosh_test): Likewise.
43815         (cosh_test_tonearest): Likewise.
43816         (cosh_test_towardzero): Likewise.
43817         (cosh_test_downward): Likewise.
43818         (cosh_test_upward): Likewise.
43819         (cpow_test): Likewise.
43820         (cproj_test): Likewise.
43821         (creal_test): Likewise.
43822         (csin_test): Likewise.
43823         (csinh_test): Likewise.
43824         (csqrt_test): Likewise.
43825         (ctan_test): Likewise.
43826         (ctan_test_tonearest): Likewise.
43827         (ctan_test_towardzero): Likewise.
43828         (ctan_test_downward): Likewise.
43829         (ctan_test_upward): Likewise.
43830         (ctanh_test): Likewise.
43831         (ctanh_test_tonearest): Likewise.
43832         (ctanh_test_towardzero): Likewise.
43833         (ctanh_test_downward): Likewise.
43834         (ctanh_test_upward): Likewise.
43835         (erf_test): Likewise.
43836         (erfc_test): Likewise.
43837         (exp_test): Likewise.
43838         (exp_test_tonearest): Likewise.
43839         (exp_test_towardzero): Likewise.
43840         (exp_test_downward): Likewise.
43841         (exp_test_upward): Likewise.
43842         (exp10_test): Likewise.
43843         (exp10_test_tonearest): Likewise.
43844         (exp10_test_towardzero): Likewise.
43845         (exp10_test_downward): Likewise.
43846         (exp10_test_upward): Likewise.
43847         (pow10_test): Likewise.
43848         (exp2_test): Likewise.
43849         (expm1_test): Likewise.
43850         (expm1_test_tonearest): Likewise.
43851         (expm1_test_towardzero): Likewise.
43852         (expm1_test_downward): Likewise.
43853         (expm1_test_upward): Likewise.
43854         (fabs_test): Likewise.
43855         (fdim_test): Likewise.
43856         (floor_test): Likewise.
43857         (fma_test): Likewise.
43858         (fma_test_towardzero): Likewise.
43859         (fma_test_downward): Likewise.
43860         (fma_test_upward): Likewise.
43861         (fmax_test): Likewise.
43862         (fmin_test): Likewise.
43863         (fmod_test): Likewise.
43864         (fpclassify_test): Likewise.
43865         (frexp_test): Likewise.
43866         (hypot_test): Likewise.
43867         (ilogb_test): Likewise.
43868         (isfinite_test): Likewise.
43869         (finite_test): Likewise.
43870         (isgreater_test): Likewise.
43871         (isgreaterequal_test): Likewise.
43872         (isinf_test): Likewise.
43873         (isless_test): Likewise.
43874         (islessequal_test): Likewise.
43875         (islessgreater_test): Likewise.
43876         (isnan_test): Likewise.
43877         (isnormal_test): Likewise.
43878         (issignaling_test): Likewise.
43879         (isunordered_test): Likewise.
43880         (j0_test): Likewise.
43881         (j1_test): Likewise.
43882         (jn_test): Likewise.
43883         (ldexp_test): Likewise.
43884         (lgamma_test): Likewise.
43885         (gamma_test): Likewise.
43886         (lrint_test): Likewise.
43887         (lrint_test_tonearest): Likewise.
43888         (lrint_test_towardzero): Likewise.
43889         (lrint_test_downward): Likewise.
43890         (lrint_test_upward): Likewise.
43891         (llrint_test): Likewise.
43892         (llrint_test_tonearest): Likewise.
43893         (llrint_test_towardzero): Likewise.
43894         (llrint_test_downward): Likewise.
43895         (llrint_test_upward): Likewise.
43896         (log_test): Likewise.
43897         (log10_test): Likewise.
43898         (log1p_test): Likewise.
43899         (log2_test): Likewise.
43900         (logb_test): Likewise.
43901         (logb_test_downward): Likewise.
43902         (lround_test): Likewise.
43903         (llround_test): Likewise.
43904         (modf_test): Likewise.
43905         (nearbyint_test): Likewise.
43906         (nextafter_test): Likewise.
43907         (nexttoward_test): Likewise.
43908         (pow_test): Likewise.
43909         (pow_test_tonearest): Likewise.
43910         (pow_test_towardzero): Likewise.
43911         (pow_test_downward): Likewise.
43912         (pow_test_upward): Likewise.
43913         (remainder_test): Likewise.
43914         (drem_test): Likewise.
43915         (remainder_test_tonearest): Likewise.
43916         (drem_test_tonearest): Likewise.
43917         (remainder_test_towardzero): Likewise.
43918         (drem_test_towardzero): Likewise.
43919         (remainder_test_downward): Likewise.
43920         (drem_test_downward): Likewise.
43921         (remainder_test_upward): Likewise.
43922         (drem_test_upward): Likewise.
43923         (remquo_test): Likewise.
43924         (rint_test): Likewise.
43925         (rint_test_tonearest): Likewise.
43926         (rint_test_towardzero): Likewise.
43927         (rint_test_downward): Likewise.
43928         (rint_test_upward): Likewise.
43929         (round_test): Likewise.
43930         (scalb_test): Likewise.
43931         (scalbn_test): Likewise.
43932         (scalbln_test): Likewise.
43933         (signbit_test): Likewise.
43934         (sin_test): Likewise.
43935         (sin_test_tonearest): Likewise.
43936         (sin_test_towardzero): Likewise.
43937         (sin_test_downward): Likewise.
43938         (sin_test_upward): Likewise.
43939         (sincos_test): Likewise.
43940         (sinh_test): Likewise.
43941         (sinh_test_tonearest): Likewise.
43942         (sinh_test_towardzero): Likewise.
43943         (sinh_test_downward): Likewise.
43944         (sinh_test_upward): Likewise.
43945         (sqrt_test): Likewise.
43946         (sqrt_test_tonearest): Likewise.
43947         (sqrt_test_towardzero): Likewise.
43948         (sqrt_test_downward): Likewise.
43949         (sqrt_test_upward): Likewise.
43950         (tan_test): Likewise.
43951         (tan_test_tonearest): Likewise.
43952         (tan_test_towardzero): Likewise.
43953         (tan_test_downward): Likewise.
43954         (tan_test_upward): Likewise.
43955         (tanh_test): Likewise.
43956         (tgamma_test): Likewise.
43957         (trunc_test): Likewise.
43958         (y0_test): Likewise.
43959         (y1_test): Likewise.
43960         (yn_test): Likewise.
43961         (significand_test): Likewise.
43963         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43964         individual tests in comment.
43965         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43966         (prev_max_error): New variable.
43967         (prev_real_max_error): Likewise.
43968         (prev_imag_max_error): Likewise.
43969         (compare_ulp_data): Don't refer to test names in comment.
43970         (find_test_ulps): Remove function.
43971         (find_function_ulps): Likewise.
43972         (find_complex_function_ulps): Likewise.
43973         (init_max_error): Take function name as argument.  Look up ulps
43974         for that function.
43975         (print_ulps): Remove function.
43976         (print_max_error): Use prev_max_error instead of calling
43977         find_function_ulps.
43978         (print_complex_max_error): Use prev_real_max_error and
43979         prev_imag_max_error instead of calling find_complex_function_ulps.
43980         (check_float_internal): Take max_ulp parameter instead of calling
43981         find_test_ulps.  Don't call print_ulps.
43982         (check_float): Update call to check_float_internal.
43983         (check_complex): Update calls to check_float_internal.
43984         (START): Pass argument to init_max_error.
43985         * math/gen-libm-test.pl (%results): Don't include "kind"
43986         information.
43987         (parse_ulps): Don't handle ulps of individual tests.
43988         (print_ulps_file): Likewise.
43989         (output_ulps): Likewise.
43990         * math/README.libm-test: Update.
43991         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43992         individual tests.
43993         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43994         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43995         * sysdeps/arm/libm-test-ulps: Likewise.
43996         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43997         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43998         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43999         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44000         * sysdeps/microblaze/libm-test-ulps: Likewise.
44001         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44002         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44003         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44004         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44005         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44006         * sysdeps/sh/libm-test-ulps: Likewise.
44007         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44008         * sysdeps/tile/libm-test-ulps: Likewise.
44009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44011 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
44013         * math/libm-test.inc (print_complex_max_error): Check separately
44014         whether real and imaginary errors are within allowed range and
44015         pass 0 to print_complex_function_ulps instead of value within
44016         allowed range.
44018 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44020         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44021         formatting.
44022         (get_handles_fopen): Likewise.
44023         (do_write_test): Likewise.
44025         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44027         * libio/fileops.c (do_ftell): Use cached offset when
44028         available.
44029         * libio/iofwide.c (do_ftell_wide): Likewise.
44030         * libio/iofdopen.c (_IO_new_fdopen): Don't use
44031         _IO_file_attach.
44032         * libio/wfileops.c (_IO_fwide): Don't cache offset.
44034         [BZ #16532]
44035         * libio/libioP.h (get_file_offset): New function.
44036         * libio/fileops.c (get_file_offset): Likewise.
44037         (do_ftell): Likewise.
44038         (_IO_new_file_seekoff): Split out ftell logic.
44039         * libio/wfileops.c (do_ftell_wide): Likewise.
44040         (_IO_wfile_seekoff): Split out ftell logic.
44041         * libio/tst-ftell-active-handler.c: New test case.
44042         * libio/Makefile (tests): Add it.
44044 2014-03-03  Roland McGrath  <roland@hack.frob.com>
44046         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44047         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44049 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44051         [BZ #16639]
44052         * nscd/connections.c (nscd_init): Call do_exit.
44053         (start_threads): Call do_exit and notify_parent.
44054         (begin_drop_privileges): Call do_exit.
44055         (finish_drop_privileges): Likewise.
44056         * nscd/selinux.c (preserve_capabilities): Likewise.
44057         (install_real_capabilities): Likewise.
44058         (nscd_selinux_enabled): Likewise.
44059         (avc_create_thread): Likewise.
44060         (avc_alloc_lock): Likewise.
44061         (nscd_avc_init): Likewise.
44062         * nscd/nscd.c (parent_fd): New static variable.
44063         (main): Create a pipe between parent and child processes.
44064         Skip closing parent_fd.
44065         (monitor_child): New function.
44066         (do_exit): Likewise.
44067         (notify_parent): Likewise.
44068         * nscd/nscd.h (notify_parent): Likewise.
44069         (do_exit): Likewise.
44071 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
44073         * malloc/malloc.c (__libc_calloc): Revert last change.
44075 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44079 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44081         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44083         implementation.
44084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44085         (__libc_ifunc_impl_list): Likewise.
44086         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44087         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44088         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44089         * string/strrchr.c: Define STRRCHR.
44091 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
44093         * benchtest/bench-strtok.c (simple_strtok): Delete.
44094         (strtok_string): Use as benchmark.
44095         * string/strtok (STRTOK): New macro.
44097 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
44099         * manual/threads.texi: Add header and standard comments to all
44100         functions.
44102         * elf/dl-lookup.c (check_match): New function.
44103         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44104         (do_lookup_x): Remove nested function check_match. Use non-nested
44105         function check_match.
44107 2014-02-28  Roland McGrath  <roland@hack.frob.com>
44109         * csu/Makefile (generated, before-compile): Use += rather than =.
44110         * catgets/Makefile (generated, generated-dirs): Likewise.
44111         * debug/Makefile (generated): Likewise.
44112         * dlfcn/Makefile (generated): Likewise.
44113         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44114         * iconvdata/Makefile (before-compile, generated): Likewise.
44115         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44116         * libio/Makefile (generated): Likewise.
44117         * malloc/Makefile (generated): Likewise.
44118         * manual/Makefile (generated, generated-dirs): Likewise.
44119         * misc/Makefile (generated): Likewise.
44120         * posix/Makefile (generated): Likewise.
44121         * resolv/Makefile (generated): Likewise.
44122         * sunrpc/Makefile (generated, generated-dirs): Likewise.
44123         * timezone/Makefile (generated, generated-dirs): Likewise.
44125         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44127 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44130         power8 implementation.
44131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44132         file: POWER8 llround ifunc implementation.
44133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44134         (__lllround): Add POWER8 implementation.
44135         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44136         POWER8 llround implementation.
44138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44139         power8 implementation.
44140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44141         file: POWER8 llrint ifunc implementation.
44142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44143         Add POWER8 implementation.
44144         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44145         POWER8 llrint implementation.
44147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44148         power8 implementation.
44149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44150         file: POWER8 finite ifunc implementation.
44151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44152         Add POWER8 implementation.
44153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44154         Likewise.
44155         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44156         POWER8 finite implementation.
44157         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44160         power8 implementation.
44161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44162         file: POWER8 isinf ifunc implementation.
44163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44164         POWER8 implementation.
44165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44166         Likewise.
44167         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44168         isinf implementation.
44169         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44171         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44172         (INIT_ARCH): Add hwcap2 initialization.
44173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44174         power8 implementation.
44175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44176         file: POWER8 isnan ifunc implementation.
44177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44178         POWER8 implementation.
44179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44180         Likewise.
44181         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44182         isnan implementation.
44183         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44185 2014-02-27  Joey Ye  <joey.ye@arm.com>
44187         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44188         (_FP_NANFRAC_Q): Set to zero.
44190 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44192         [BZ #16623]
44193         * math/auto-libm-test-in: New test inputs.
44194         * math/auto-libm-test-out: Regenerate.
44195         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44196         and DA.
44197         (__cos): Likewise.
44198         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44200 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
44202         * scripts/evaluate-test.sh: Take new argument indicating whether
44203         failure is expected.
44204         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44205         indicating whether failure is expected.
44206         * conform/Makefile (test-xfail-run-conformtest): New variable.
44207         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44208         level.
44209         * posix/Makefile (test-xfail-annexc): New variable.
44210         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44212 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
44214         * argp/Makefile: Include Makeconfig immediately after defining
44215         subdir.
44216         * assert/Makefile: Likewise.
44217         * benchtests/Makefile: Likewise.
44218         * catgets/Makefile: Likewise.
44219         * conform/Makefile: Likewise.
44220         * crypt/Makefile: Likewise.
44221         * csu/Makefile: Likewise.
44222         (all): Remove target.
44223         * ctype/Makefile: Include Makeconfig immediately after defining
44224         subdir.
44225         * debug/Makefile: Likewise.
44226         * dirent/Makefile: Likewise.
44227         * dlfcn/Makefile: Likewise.
44228         * gmon/Makefile: Likewise.
44229         * gnulib/Makefile: Likewise.
44230         * grp/Makefile: Likewise.
44231         * gshadow/Makefile: Likewise.
44232         * hesiod/Makefile: Likewise.
44233         * hurd/Makefile: Likewise.
44234         (all): Remove target.
44235         * iconvdata/Makefile: Include Makeconfig immediately after
44236         defining subdir.
44237         * inet/Makefile: Likewise.
44238         * intl/Makefile: Likewise.
44239         * io/Makefile: Likewise.
44240         * libio/Makefile: Likewise.
44241         (all): Remove target.
44242         * locale/Makefile: Include Makeconfig immediately after defining
44243         subdir.
44244         * login/Makefile: Likewise.
44245         * mach/Makefile: Likewise.
44246         (all): Remove target.
44247         * malloc/Makefile: Include Makeconfig immediately after defining
44248         subdir.
44249         (all): Remove target.
44250         * manual/Makefile: Include Makeconfig immediately after defining
44251         subdir.
44252         * math/Makefile: Likewise.
44253         * misc/Makefile: Likewise.
44254         * nis/Makefile: Likewise.
44255         * nss/Makefile: Likewise.
44256         * po/Makefile: Likewise.
44257         (all): Remove target.
44258         * posix/Makefile: Include Makeconfig immediately after defining
44259         subdir.
44260         * pwd/Makefile: Likewise.
44261         * resolv/Makefile: Likewise.
44262         * resource/Makefile: Likewise.
44263         * rt/Makefile: Likewise.
44264         * setjmp/Makefile: Likewise.
44265         * shadow/Makefile: Likewise.
44266         * signal/Makefile: Likewise.
44267         * socket/Makefile: Likewise.
44268         * soft-fp/Makefile: Likewise.
44269         * stdio-common/Makefile: Likewise.
44270         * stdlib/Makefile: Likewise.
44271         * streams/Makefile: Likewise.
44272         * string/Makefile: Likewise.
44273         * sunrpc/Makefile: Likewise.
44274         (all): Remove target.
44275         * sysvipc/Makefile: Include Makeconfig immediately after defining
44276         subdir.
44277         * termios/Makefile: Likewise.
44278         * time/Makefile: Likewise.
44279         * timezone/Makefile: Likewise.
44280         (all): Remove target.
44281         * wcsmbs/Makefile: Include Makeconfig immediately after defining
44282         subdir.
44283         * wctype/Makefile: Likewise.
44285 2014-02-26  Steve Ellcey  <sellcey@mips.com>
44287         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
44288         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
44289         (libc_feholdexcept_setround_mips): Ditto.
44290         (libc_feholdsetround): New.
44291         (libc_feholdsetroundf): New.
44292         (libc_feholdsetroundl): New.
44293         (libc_feupdateenv_test_mips): New.
44294         (libc_feupdateenv_test): New.
44295         (libc_feupdateenv_testf): New.
44296         (libc_feupdateenv_testl): New.
44297         (libc_feresetround): New.
44298         (libc_feresetroundf): New.
44299         (libc_feresetroundl): New.
44300         (libc_fetestexcept_mips): New.
44301         (libc_fetestexcept): New.
44302         (libc_fetestexceptf): New.
44303         (libc_fetestexceptl): New.
44304         (HAVE_RM_CTX): New.
44305         (libc_feholdexcept_setround_mips_ctx): New.
44306         (libc_feholdexcept_setround_ctx): New.
44307         (libc_feholdexcept_setroundf_ctx): New.
44308         (libc_feholdexcept_setroundl_ctx): New.
44309         (libc_fesetenv_mips_ctx): New.
44310         (libc_fesetenv_ctx): New.
44311         (libc_fesetenv_ctxf): New.
44312         (libc_fesetenv_ctxl): New.
44313         (libc_feupdateenv_mips_ctx): New.
44314         (libc_feupdateenv_ctx): New.
44315         (libc_feupdateenvf_ctx): New.
44316         (libc_feupdateenvl_ctx): New.
44317         (libc_feholdsetround_mips_ctx): New.
44318         (libc_feholdsetround_ctx): New.
44319         (libc_feholdsetroundf_ctx): New.
44320         (libc_feholdsetroundl_ctx): New.
44321         (libc_feresetround_mips_ctx): New.
44322         (libc_feresetround_ctx): New.
44323         (libc_feresetroundf_ctx): New.
44324         (libc_feresetroundl_ctx): New.
44326 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
44328         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
44330         * manual/ipc.texi: New file.
44331         * manual/Makefile (chapters): Add ipc.
44332         * manual/job.texi: Add "Inter-Process Communication" to next.
44333         * manual/process.texi: Add "Inter-Process Communication" to prev.
44335 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44339 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
44341         * malloc/malloc.c (__libc_calloc): Simplify implementation.
44343         * manual/arith.texi: Fix spaces after sentences.
44344         * manual/charset.texi: Likewise.
44345         * manual/errno.texi: Likewise.
44346         * manual/install.texi: Likewise.
44347         * manual/llio.texi: Likewise.
44348         * manual/locale.texi: Likewise.
44349         * manual/maint.texi: Likewise.
44350         * manual/math.texi: Likewise.
44351         * manual/memory.texi: Likewise.
44352         * manual/message.texi: Likewise.
44353         * manual/probes.texi: Likewise.
44354         * manual/resource.texi: Likewise.
44355         * manual/signal.texi: Likewise.
44356         * manual/socket.texi: Likewise.
44357         * manual/stdio.texi: Likewise.
44358         * manual/string.texi: Likewise.
44359         * manual/time.texi: Likewise.
44360         * manual/users.texi: Likewise.
44362 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
44364         [BZ #16632]
44365         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
44366         _DEFAULT_SOURCE is defined.
44368 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
44369             Carlos O'Donell  <carlos@redhat.com>
44371         [BZ #16613]
44372         * elf/dl-tls.c (_dl_count_modids): New function.
44373         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
44374         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
44375         audit library and increment generation counter.
44376         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
44377         * elf/tst-audit9.c: New file.
44378         * elf/tst-auditmod9a.c: New file.
44379         * elf/tst-auditmod9b.c: New file.
44380         * elf/Makefile: Add rules to build and run tst-audit9.
44382 2014-02-25  Florian Weimer  <fweimer@redhat.com>
44384         [BZ #15347]
44385         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
44387 2014-02-25  Will Newton  <will.newton@linaro.org>
44389         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
44390         (__longjmp): Restore sp and lr before restoring callee
44391         saved registers.  Add longjmp and longjmp_target
44392         SystemTap probe point.
44393         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
44394         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
44395         Define to zero to match jmpbuf layout.
44396         * sysdeps/arm/setjmp.S: Include stap-probe.h.
44397         (__sigsetjmp): Save sp and lr before saving callee
44398         saved registers.  Add setjmp SystemTap probe point.
44400 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
44402         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44404 2014-02-24  Andreas Schwab  <schwab@suse.de>
44406         [BZ #15804]
44407         * elf/pldd.c (wait_for_ptrace_stop): New function.
44408         (main): Call it after attaching.
44410 2014-02-22  Roland McGrath  <roland@hack.frob.com>
44412         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
44413         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
44414         Versions files is now verboten.
44415         * hurd/Versions (libc: GLIBC_2.0):
44416         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
44417         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
44418         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
44419         * mach/Versions: Likewise.
44421         * csu/Versions: Remove unused %include.
44422         * resolv/Versions: Likewise.
44424 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
44426         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
44427         ($(objpfx)check-local-headers.out): Likewise.
44428         ($(objpfx)begin-end-check.out): Likewise.
44429         * Makerules (check-abi-%.out): Likewise.
44430         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
44431         ($(objpfx)test2.cat): Likewise.
44432         ($(objpfx)de/libc.cat): Likewise.
44433         ($(objpfx)test-gencat.out): Likewise.
44434         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
44435         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
44436         ($(objpfx)noload-mem): Likewise.
44437         ($(objpfx)tst-pathopt.out): Likewise.
44438         ($(objpfx)tst-rtld-load-self.out): Likewise.
44439         ($(objpfx)tst-array1-cmp.out): Likewise.
44440         ($(objpfx)tst-array1-static-cmp.out): Likewise.
44441         ($(objpfx)tst-array2-cmp.out): Likewise.
44442         ($(objpfx)tst-array3-cmp.out): Likewise.
44443         ($(objpfx)tst-array4-cmp.out): Likewise.
44444         ($(objpfx)tst-array5-cmp.out): Likewise.
44445         ($(objpfx)tst-array5-static-cmp.out): Likewise.
44446         ($(objpfx)check-textrel.out): Likewise.
44447         ($(objpfx)check-execstack.out): Likewise.
44448         ($(objpfx)check-localplt.out): Likewise.
44449         ($(objpfx)order2-cmp.out): Likewise.
44450         ($(objpfx)tst-leaks1-mem): Likewise.
44451         ($(objpfx)tst-leaks1-static-mem): Likewise.
44452         ($(objpfx)tst-initorder-cmp.out): Likewise.
44453         ($(objpfx)tst-initorder2-cmp.out): Likewise.
44454         ($(objpfx)tst-unused-dep.out): Likewise.
44455         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
44456         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
44457         * iconv/Makefile (test-iconvconfig): Likewise.
44458         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
44459         ($(objpfx)iconv-test.out): Likewise.
44460         ($(objpfx)tst-tables.out): Likewise.
44461         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
44462         ($(objpfx)tst-gettext.out): Likewise.
44463         ($(objpfx)tst-translit.out): Likewise.
44464         ($(objpfx)tst-gettext2.out): Likewise.
44465         ($(objpfx)tst-gettext4.out): Likewise.
44466         ($(objpfx)tst-gettext6.out): Likewise.
44467         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
44468         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
44469         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
44470         ($(objpfx)tst-fopenloc-mem.out): Likewise.
44471         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
44472         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
44473         * posix/Makefile ($(objpfx)globtest.out): Likewise.
44474         ($(objpfx)wordexp-tst.out): Likewise.
44475         ($(objpfx)annexc.out): Likewise.
44476         ($(objpfx)tst-fnmatch-mem): Likewise.
44477         ($(objpfx)bug-regex2-mem): Likewise.
44478         ($(objpfx)bug-regex14-mem): Likewise.
44479         ($(objpfx)bug-regex21-mem): Likewise.
44480         ($(objpfx)bug-regex31-mem): Likewise.
44481         ($(objpfx)tst-vfork3-mem): Likewise.
44482         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44483         ($(objpfx)tst-pcre-mem): Likewise.
44484         ($(objpfx)tst-boost-mem): Likewise.
44485         ($(objpfx)tst-getconf.out): Likewise.
44486         ($(objpfx)bug-ga2-mem): Likewise.
44487         ($(objpfx)bug-glob2-mem): Likewise.
44488         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
44489         ($(objpfx)mtrace-tst-leaks2): Likewise.
44490         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
44491         ($(objpfx)tst-printf.out): Likewise.
44492         ($(objpfx)tst-setvbuf1.out): Likewise.
44493         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
44494         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
44495         ($(objpfx)tst-fmtmsg.out): Likewise.
44496         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
44497         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
44499         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
44500         * bits/sigaction.h [__USE_MISC]: Likewise.
44501         * bits/waitstatus.h: Update #endif comments.
44502         * ctype/ctype.h: Likewise.
44503         * dirent/dirent.h: Likewise.
44504         [__USE_MISC]: Remove redundant conditionals.
44505         * grp/grp.h: Update #endif comments.
44506         [__USE_GNU]: Remove redundant conditionals.
44507         [__USE_MISC]: Likewise.
44508         * inet/netinet/in.h [__USE_GNU]: Likewise.
44509         * io/sys/stat.h [__USE_MISC]: Likewise.
44510         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
44511         * libio/bits/stdio.h: Update #endif comments.
44512         [__USE_MISC]: Remove redundant conditionals.
44513         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
44514         * libio/stdio.h: Update #endif comments.
44515         [__USE_MISC]: Remove redundant conditionals.
44516         * math/bits/math-finite.h [__USE_MISC]: Likewise.
44517         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
44518         * math/math.h: Update #else and #endif comments.
44519         [__USE_MISC]: Remove redundant conditionals.
44520         * misc/sys/uio.h: Update #endif comments.
44521         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
44522         * posix/glob.h [__USE_MISC]: Likewise.
44523         * posix/sys/types.h: Update #endif comments.
44524         [__USE_MISC]: Remove redundant conditionals.
44525         * posix/sys/wait.h: Update #endif comments.
44526         [__USE_MISC]: Remove redundant conditionals.
44527         * posix/unistd.h: Update #endif comments.
44528         [__USE_MISC]: Remove redundant conditionals.
44529         * pwd/pwd.h [__USE_GNU]: Likewise.
44530         [__USE_MISC]: Likewise.
44531         * resolv/netdb.h [__USE_GNU]: Likewise.
44532         * signal/signal.h: Update #endif comments.
44533         [__USE_MISC]: Remove redundant conditionals.
44534         * stdlib/stdlib.h: Update #else and #endif comments.
44535         [__USE_MISC]: Remove redundant conditionals.
44536         [__USE_GNU]: Likewise.
44537         * string/bits/string2.h [__USE_MISC]: Likewise.
44538         * string/string.h: Update #endif comments.
44539         [__USE_MISC]: Remove redundant conditionals.
44540         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
44541         Likewise.
44542         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
44543         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
44544         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
44545         Likewise.
44546         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
44547         Likewise.
44548         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
44549         comments.
44550         [__USE_MISC]: Remove redundant conditionals.
44551         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
44552         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
44553         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
44554         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
44555         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
44556         Likewise.
44557         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
44558         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
44559         Likewise.
44560         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
44561         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
44562         Likewise.
44563         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
44564         Likewise.
44565         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
44566         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
44567         Likewise.
44568         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
44569         Likewise.
44570         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
44571         * sysdeps/x86/bits/string.h: Update #endif comments.
44572         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
44573         conditionals.
44574         * time/sys/time.h: Update #endif comments.
44575         * time/time.h: Likewise.
44576         [__USE_MISC]: Remove redundant conditionals.
44578 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
44580         [BZ #16600]
44581         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
44583 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
44585         * Versions.def (librt): Add GLIBC_2.17.
44587 2014-02-21  Adam Conrad  <adconrad@0c3.net>
44589         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
44590         synonym for _SYS_AUXV_H to allow direct inclusion.
44591         * sysdeps/sparc/bits/hwcap.h: Likewise.
44592         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
44593         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
44594         * sysdeps/sparc/sysdep.h: Likewise.
44596 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44598         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
44600 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44602         * benchtests/bench-strrchr.c: Print length instead of position.
44604 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
44606         [BZ #16611]
44607         * sysdeps/unix/sysv/linux/kernel-features.h
44608         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
44609         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
44610         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
44611         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
44612         Likewise.
44613         [__i386__ || __powerpc__ || __sh__ || __sparc__]
44614         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44615         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
44616         (__ASSUME_SENDMMSG): Define instead of using previous
44617         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
44618         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44619         (__ASSUME_SENDMMSG_SYSCALL): Define.
44620         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44621         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
44622         Likewise.
44623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44624         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44625         Likewise.
44626         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44627         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44628         Likewise.
44629         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
44630         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
44631         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44632         [__ASSUME_SENDMMSG]: Change conditionals to
44633         [__ASSUME_SENDMMSG_SOCKETCALL].
44634         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44635         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
44636         Define.
44637         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44638         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
44639         Likewise.
44640         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
44641         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
44642         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44643         [!__ASSUME_SENDMMSG]: Change conditional to
44644         [!__ASSUME_SENDMMSG_SOCKETCALL].
44645         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44646         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44647         Define.
44649         [BZ #16610]
44650         * sysdeps/unix/sysv/linux/kernel-features.h
44651         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
44652         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
44653         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
44654         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
44655         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44656         [__i386__ || __sparc__]
44657         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44658         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
44659         (__ASSUME_RECVMMSG): Define instead of using previous
44660         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
44661         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44662         (__ASSUME_RECVMMSG_SYSCALL): Define.
44663         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44664         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44665         Likewise.
44666         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44667         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44668         Likewise.
44669         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44670         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44671         Likewise.
44672         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
44673         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44674         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44675         [__ASSUME_RECVMMSG]: Change condition to
44676         [__ASSUME_RECVMMSG_SOCKETCALL].
44677         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44678         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44679         Define.
44680         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44681         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44682         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44683         Likewise.
44684         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
44685         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44686         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44687         [!__ASSUME_RECVMMSG]: Change condition to
44688         [!__ASSUME_RECVMMSG_SOCKETCALL].
44689         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44690         (__ASSUME_RECVMMSG_SYSCALL): Define.
44692         [BZ #16609]
44693         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
44694         __powerpc__ || __s390__ || __sh__ || __sparc__]
44695         (__ASSUME_SOCKETCALL): Define.
44696         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
44697         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
44698         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
44699         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
44700         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44701         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44702         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
44703         (__ASSUME_ACCEPT4): Define instead of using previous
44704         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
44705         __powerpc__ || __sparc__ || __s390__)] condition.
44706         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44707         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44708         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
44709         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44710         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44711         [!__ASSUME_ACCEPT4]: Change condition to
44712         [!__ASSUME_ACCEPT4_SOCKETCALL].
44713         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44714         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
44715         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
44716         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44717         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
44718         __ASSUME_ACCEPT4_SYSCALL.
44719         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
44720         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
44721         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44722         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
44723         __ASSUME_ACCEPT4_SYSCALL.
44724         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
44725         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44726         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44727         [__ASSUME_ACCEPT4]: Change condition to
44728         [__ASSUME_ACCEPT4_SOCKETCALL].
44729         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44730         (__ASSUME_SOCKETCALL): Define.
44731         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
44732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44733         (__ASSUME_SOCKETCALL): Define.
44734         (__ASSUME_ACCEPT4): Remove.
44735         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
44736         Define.
44737         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44738         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
44739         Likewise.
44740         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44741         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44743         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
44744         macro.
44745         (HWCAP_ARM_LPAE): Likewise.
44746         (HWCAP_ARM_EVTSTRM): Likewise.
44747         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
44748         Add vpfd32, lpae and evtstrm.
44749         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
44750         Increase to 22.
44752 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
44754         * math/auto-libm-test-in: Add tests of clog10.
44755         * math/auto-libm-test-out: Regenerated.
44756         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
44757         * sysdeps/i386/fpu/libm-test-ulps: Update.
44758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44760 2014-02-18  Andreas Schwab  <schwab@suse.de>
44762         [BZ #16574]
44763         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
44764         Store non-zero if the second buffer was newly allocated.
44765         (send_dg): Likewise.
44766         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
44767         to send_vc and send_dg.
44768         (res_nsend): Pass NULL for ansp2_malloced.
44769         * resolv/res_query.c (__libc_res_nquery): Add parameter
44770         answerp2_malloced and pass it down to __libc_res_nsend.
44771         (res_nquery): Pass additional NULL to __libc_res_nquery.
44772         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
44773         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
44774         second answer buffer if answerp2_malloced was set.
44775         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
44776         (__libc_res_nquerydomain): Add parameter
44777         answerp2_malloced and pass it down to __libc_res_nquery.
44778         (res_nquerydomain): Pass additional NULL to
44779         __libc_res_nquerydomain.
44780         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
44781         additional NULL to __libc_res_nsend and __libc_res_nquery.
44782         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
44783         additional NULL to __libc_res_nsearch.
44784         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
44785         parameter of __libc_res_nsearch to check for separately allocated
44786         second buffer.
44787         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
44788         __libc_res_nquery.
44789         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
44790         additional NULL to __libc_res_nquery.
44791         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
44792         __libc_res_nsearch.
44793         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
44794         * include/resolv.h: Update prototypes of __libc_res_nquery,
44795         __libc_res_nsearch, __libc_res_nsend.
44797 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
44799         * math/auto-libm-test-in: Add tests of fma.
44800         * math/auto-libm-test-out: Regenerated.
44801         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
44802         (fma_towardzero_test_data): Likewise.
44803         (fma_downward_test_data): Likewise.
44804         (fma_upward_test_data): Likewise.
44805         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
44806         mpc_mode.
44807         (rounding_modes): Add values for new field.
44808         (func_calc_method): Add value mpfr_fff_f.
44809         (func_calc_desc): Add mpfr_fff_f union field.
44810         (test_function): Add field exact_args.
44811         (FUNC): Add macro argument EXACT_ARGS.
44812         (FUNC_mpfr_f_f): Update call to FUNC.
44813         (FUNC_mpfr_f_f): Likewise.
44814         (FUNC_mpfr_ff_f): Likewise.
44815         (FUNC_mpfr_if_f): Likewise.
44816         (FUNC_mpc_c_f): Likewise.
44817         (FUNC_mpc_c_c): Likewise.
44818         (test_functions): Add fma.  Update calls to FUNC.
44819         (handle_input_arg): Add argument exact_args.
44820         (add_test): Update call to handle_input_arg.
44821         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
44822         (output_for_one_input_case): Update call to calc_generic_results.
44823         Recalculate exact zero results in each rounding mode.
44825         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
44826         non-negative before setting low bit.
44827         * math/auto-libm-test-in: Mark one asin test possibly having
44828         spurious underflow.
44829         * math/auto-libm-test-out: Regenerated.
44830         * sysdeps/i386/fpu/libm-test-ulps: Update.
44831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44833 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
44835         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
44836         * sysdeps/unix/sysv/linux/microblaze: Move directory from
44837         ports/sysdeps/unix/sysv/linux/microblaze.
44838         * README: Add missing listing for microblaze*-*-linux-gnu.
44840 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
44842         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
44843         duplicate code
44845 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
44847         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
44848         * sysdeps/unix/sysv/linux/ia64: Move directory from
44849         ports/sysdeps/unix/sysv/linux/ia64.
44850         * README: Update listing for ia64-*-linux-gnu.
44852 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
44853             Joseph Myers  <joseph@codesourcery.com>
44855         * Makeconfig (test-name): New variable.
44856         (evaluate-test): Likewise.
44857         * Makerules (do-test-clean): Remove .test-result files.
44858         (common-mostlyclean): Likewise.
44859         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
44860         * scripts/evaluate-test.sh: New file.
44862 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
44864         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
44865         separate $(objpfx)tst-fopenloc-cmp.out and
44866         $(objpfx)tst-fopenloc-mem.out targets.
44867         (tests): Update dependencies.
44868         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
44869         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
44870         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
44871         (tst-rxspencer-no-utf8-ARGS): New variable.
44872         (tst-rxspencer-no-utf8-ENV): Likewise.
44873         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
44874         instead of $(objpfx)tst-rxspencer-mem.
44875         ($(objpfx)tst-rxspencer-mem): Change target to
44876         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
44877         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
44878         * posix/tst-rxspencer-no-utf8.c: New file.
44880         * elf/Makefile ($(objpfx)order.out): Remove rule.
44881         [$(run-built-tests) = yes] (tests): Depend on
44882         $(objpfx)order-cmp.out.
44883         ($(objpfx)order-cmp.out): New rule.
44884         [$(run-built-tests) = yes] (tests): Depend on
44885         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
44886         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
44887         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
44888         $(objpfx)tst-array5-static-cmp.out.
44889         ($(objpfx)tst-array1.out): Remove rule.
44890         ($(objpfx)tst-array1-cmp.out): New rule.
44891         ($(objpfx)tst-array1-static.out): Remove rule.
44892         ($(objpfx)tst-array1-static-cmp.out): New rule.
44893         ($(objpfx)tst-array2.out): Remove rule.
44894         ($(objpfx)tst-array2-cmp.out): New rule.
44895         ($(objpfx)tst-array3.out): Remove rule.
44896         ($(objpfx)tst-array3-cmp.out): New rule.
44897         ($(objpfx)tst-array4.out): Remove rule.
44898         ($(objpfx)tst-array4-cmp.out): New rule.
44899         ($(objpfx)tst-array5.out): Remove rule.
44900         ($(objpfx)tst-array5-cmp.out): New rule.
44901         ($(objpfx)tst-array5-static.out): Remove rule.
44902         ($(objpfx)tst-array5-static-cmp.out): New rule.
44903         [$(run-built-tests) = yes] (tests): Depend on
44904         $(objpfx)order2-cmp.out.
44905         ($(objpfx)order2.out): Remove rule.
44906         ($(objpfx)order2-cmp.out): New rule.
44907         ($(objpfx)tst-initorder.out): Remove rule.
44908         [$(run-built-tests) = yes] (tests): Depend on
44909         $(objpfx)tst-initorder-cmp.out.
44910         ($(objpfx)tst-initorder-cmp.out): New rule.
44911         ($(objpfx)tst-initorder2.out): Remove rule.
44912         [$(run-built-tests) = yes] (tests): Depend on
44913         $(objpfx)tst-initorder2-cmp.out.
44914         ($(objpfx)tst-initorder2-cmp.out): New rule.
44915         [$(run-built-tests) = yes] (tests): Depend on
44916         $(objpfx)tst-unused-dep-cmp.out.
44917         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
44918         ($(objpfx)tst-unused-dep-cmp.out): New rule.
44919         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
44920         on $(objpfx)tst-setvbuf1-cmp.out.
44921         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
44922         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
44923         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
44924         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
44925         ($(objpfx)tst-svc.out): Remove rule.
44926         ($(objpfx)tst-svc-cmp.out): New rule.
44928 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
44930         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
44931         * ctype/ctype.h [__USE_MISC]: Likewise.
44932         * dirent/dirent.h [__USE_MISC]: Likewise.
44933         * grp/grp.h [__USE_MISC]: Likewise.
44934         * io/fcntl.h [__USE_MISC]: Likewise.
44935         * io/sys/stat.h [__USE_MISC]: Likewise.
44936         * libio/stdio.h [__USE_MISC]: Likewise.
44937         * posix/unistd.h [__USE_MISC]: Likewise.
44938         * pwd/pwd.h [__USE_MISC]: Likewise.
44939         * stdlib.h [__USE_MISC]: Likewise.
44940         * string/bits/string2.h [__USE_MISC]: Likewise.
44941         * string/string.h [__USE_MISC]: Likewise.
44942         * time/time.h [__USE_MISC]: Likewise.
44944 2014-02-13  Andreas Schwab  <schwab@suse.de>
44946         [BZ #16574]
44947         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44948         second answer buffer if it was separately allocated.
44950 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44952         * sysdeps/mips/math-tests.h: Include <features.h>.
44953         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44954         (ROUNDING_TESTS_long_double): Do not define.
44955         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44956         (EXCEPTION_TESTS_long_double): Likewise.
44957         * sysdeps/mips/mips64/libm-test-ulps: Update.
44959         * include/features.h (__USE_BSD): Remove macro definitions.
44960         (__USE_SVID): Likewise.
44961         (_BSD_SOURCE): Likewise.
44962         (_SVID_SOURCE): Likewise.
44963         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44964         from definition of _DEFAULT_SOURCE.
44965         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44966         [_DEFAULT_SOURCE].
44967         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44968         * bits/mman.h [__USE_BSD]: Likewise.
44969         * bits/termios.h [__USE_BSD]: Likewise.
44970         * bits/waitstatus.h [__USE_BSD]: Likewise.
44971         * ctype/ctype.h [__USE_SVID]: Likewise.
44972         * dirent/dirent.h [__USE_BSD]: Likewise.
44973         * grp/grp.h [__USE_SVID]: Likewise.
44974         [__USE_BSD]: Likewise.
44975         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44976         * io/fcntl.h [__USE_BSD]: Likewise.
44977         * io/ftw.h [__USE_BSD]: Likewise.
44978         * io/sys/stat.h [__USE_BSD]: Likewise.
44979         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44980         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44981         * libio/stdio.h [__USE_SVID]: Likewise.
44982         [__USE_BSD]: Likewise.
44983         * math/math.h [__USE_SVID]: Likewise.
44984         [__USE_BSD]: Likewise.
44985         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44986         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44987         * misc/search.h [__USE_SVID]: Likewise.
44988         * misc/sys/mman.h [__USE_BSD]: Likewise.
44989         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44990         * misc/sys/uio.h [__USE_BSD]: Likewise.
44991         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44992         * posix/glob.h [__USE_BSD]: Likewise.
44993         * posix/regex.h [__USE_BSD]: Likewise.
44994         * posix/sys/types.h [__USE_BSD]: Likewise.
44995         [__USE_SVID]: Likewise.
44996         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44997         * posix/sys/wait.h [__USE_BSD]: Likewise.
44998         [__USE_SVID]: Likewise.
44999         * posix/unistd.h [__USE_BSD]: Likewise.
45000         [__USE_SVID]: Likewise.
45001         * pwd/pwd.h [__USE_SVID]: Likewise.
45002         * resolv/netdb.h [__USE_BSD]: Likewise.
45003         * setjmp/setjmp.h [__USE_BSD]: Likewise.
45004         * signal/signal.h [__USE_BSD]: Likewise.
45005         [__USE_SVID]: Likewise.
45006         * socket/sys/socket.h [__USE_BSD]: Likewise.
45007         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45008         * stdlib/stdlib.h [__USE_BSD]: Likewise.
45009         [__USE_SVID]: Likewise.
45010         * string/bits/string2.h [__USE_BSD]: Likewise.
45011         [__USE_SVID]: Likewise.
45012         * string/bits/string3.h [__USE_BSD]: Likewise.
45013         * string/endian.h [__USE_BSD]: Likewise.
45014         * string/string.h [__USE_SVID]: Likewise.
45015         [__USE_BSD]: Likewise.
45016         * string/strings.h [__USE_BSD]: Likewise.
45017         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45018         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45019         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45020         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45021         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45022         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45023         Likewise.
45024         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45025         Likewise.
45026         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45027         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45028         Likewise.
45029         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45030         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45031         Likewise.
45032         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45033         Likewise.
45034         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45035         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45036         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45037         Likewise.
45038         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45039         Likewise.
45040         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45041         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45042         * termios/termios.h [__USE_BSD]: Likewise.
45043         * time/sys/time.h [__USE_BSD]: Likewise.
45044         * time/time.h [__USE_BSD]: Likewise.
45045         [__USE_SVID]: Likewise.
45047         * Makefile (subdir_targets): Remove subdir_lint.out.
45049         * stdio-common/Makefile (do-tst-unbputc): Remove target.
45050         (do-tst-printf): Likewise.
45051         (tests): Depend directly on $(objpfx)tst-unbputc.out and
45052         $(objpfx)tst-printf.out.
45054         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45056         * Makerules (check-abi-%): Change target to
45057         $(objpfx)check-abi-%.out.
45058         (check-abi target): Update dependencies.
45059         (check-abi-pattern variable): Redirect output of diff to $@.
45060         (check-abi variable): Likewise.
45061         * elf/Makefile (check-abi): Update dependencies.
45063         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45064         unused.
45065         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45066         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45067         subnormal range.
45068         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45069         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45070         value has largest subnormal exponent.
45071         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45072         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45073         * sysdeps/aarch64/soft-fp/sfp-machine.h
45074         (_FP_TININESS_AFTER_ROUNDING): New macro.
45075         * sysdeps/alpha/soft-fp/sfp-machine.h
45076         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45077         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45078         Likewise.
45079         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45080         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45081         * sysdeps/mips/soft-fp/sfp-machine.h
45082         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45083         * sysdeps/powerpc/soft-fp/sfp-machine.h
45084         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45085         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45086         Likewise.
45087         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45088         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45089         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45090         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45091         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45092         Likewise.
45094 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
45096         [BZ #16545]
45097         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45098         model 1.
45100 2014-02-12  Richard Henderson  <rth@redhat.com>
45102         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45103         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45104         * sysdeps/unix/sysv/linux/alpha: Move directory from
45105         ports/sysdeps/unix/sysv/linux/alpha.
45106         * README: Update listing for alpha-*-linux-gnu.
45108 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
45110         * include/features.h: Update comment documenting feature test
45111         macros.
45112         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
45113         _DEFAULT_SOURCE.
45114         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45115         (_SVID_SOURCE): Likewise.
45116         (_DEFAULT_SOURCE): Update description of default features.
45117         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45118         with _GNU_SOURCE.
45119         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45120         (S_ISVTX): Likewise.
45121         * manual/math.texi (Mathematical Constants): Likewise.
45122         * manual/signal.texi (Interrupted Primitives): Likewise.
45123         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45124         * math/test-matherr.c (_SVID_SOURCE): Do not define.
45125         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45126         Don't refer to _SVID_SOURCE in warning text.
45128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45130         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45131         already defined.
45132         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45133         * sysdeps/mips/dl-lookup.c: Remove.
45134         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45136 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45138         [BZ #16447]
45139         * math/auto-libm-test-in: Add testcase for expl.
45140         * math/auto-libm-test-out: Regenerate.
45141         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45142         calculation of unsafe.
45143         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45145 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45147         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45148         * sysdeps/unix/sysv/linux/aarch64: Move directory from
45149         ports/sysdeps/unix/sysv/linux/aarch64.
45150         * README: Update listing for aarch64*-*-linux-gnu.
45152 2014-02-11  Will Newton  <will.newton@linaro.org>
45154         * manual/probes.texi (Mathematical Function Probes): Use
45155         "triggered" instead of "hit".
45157         * manual/probes.texi (Internal Probes): Add documentation
45158         of setjmp, longjmp and longjmp_target probes.
45160         * include/stap-probe.h: Add comment about probe argument
45161         format.
45163         * malloc/mtrace.c (attribute_hidden): Remove unused macro
45164         definition.  (tr_where, tr_freehook, tr_mallochook,
45165         tr_reallochook, tr_memalignhook): Use ANSI protoype.
45167 2014-02-11  David S. Miller  <davem@davemloft.net>
45169         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45170         processing int_tests.
45172 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
45174         * sysdeps/mips: Move directory from ports/sysdeps/mips.
45175         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45176         * sysdeps/unix/sysv/linux/mips: Move directory from
45177         ports/sysdeps/unix/sysv/linux/mips.
45178         * README: Update listing for mips-*-linux-gnu and
45179         mips64-*-linux-gnu.
45181 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
45183         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45184         * sysdeps/unix/sysv/linux/m68k: Move directory from
45185         ports/sysdeps/unix/sysv/linux/m68k.
45186         * README: Update listing for m68k-*-linux-gnu.
45188 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
45190         * sysdeps/tile: Move directory from ports/sysdeps/tile.
45191         * sysdeps/unix/sysv/linux/generic: Move directory from
45192         ports/sysdeps/unix/sysv/linux/generic.
45193         * sysdeps/unix/sysv/linux/tile: Move directory from
45194         ports/sysdeps/unix/sysv/linux/tile.
45195         * README: Update listing for tile*-*-linux-gnu.
45197 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
45199         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45200         __builtin_expect.
45201         * benchtests/bench-memmem.c (simple_memmem): Likewise.
45202         * catgets/open_catalog.c (__open_catalog): Likewise.
45203         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45204         * debug/confstr_chk.c: Likewise.
45205         * debug/fread_chk.c (__fread_chk): Likewise.
45206         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45207         * debug/getgroups_chk.c: Likewise.
45208         * debug/mbsnrtowcs_chk.c: Likewise.
45209         * debug/mbsrtowcs_chk.c: Likewise.
45210         * debug/mbstowcs_chk.c: Likewise.
45211         * debug/memcpy_chk.c: Likewise.
45212         * debug/memmove_chk.c: Likewise.
45213         * debug/mempcpy_chk.c: Likewise.
45214         * debug/memset_chk.c: Likewise.
45215         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45216         * debug/strcat_chk.c (__strcat_chk): Likewise.
45217         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45218         * debug/strncat_chk.c (__strncat_chk): Likewise.
45219         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45220         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45221         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45222         * debug/wcpncpy_chk.c: Likewise.
45223         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45224         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
45225         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
45226         * debug/wcsncpy_chk.c: Likewise.
45227         * debug/wcsnrtombs_chk.c: Likewise.
45228         * debug/wcsrtombs_chk.c: Likewise.
45229         * debug/wcstombs_chk.c: Likewise.
45230         * debug/wmemcpy_chk.c: Likewise.
45231         * debug/wmemmove_chk.c: Likewise.
45232         * debug/wmempcpy_chk.c: Likewise.
45233         * debug/wmemset_chk.c: Likewise.
45234         * dirent/scandirat.c (SCANDIRAT): Likewise.
45235         * dlfcn/dladdr1.c (dladdr1): Likewise.
45236         * dlfcn/dladdr.c (dladdr): Likewise.
45237         * dlfcn/dlclose.c (dlclose_doit): Likewise.
45238         * dlfcn/dlerror.c (__dlerror): Likewise.
45239         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
45240         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
45241         * dlfcn/dlopen.c (dlopen_doit): Likewise.
45242         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
45243         * dlfcn/dlsym.c (dlsym_doit): Likewise.
45244         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
45245         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
45246         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
45247         Likewise.
45248         * elf/dl-conflict.c: Likewise.
45249         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
45250         * elf/dl-dst.h: Likewise.
45251         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
45252         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
45253         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
45254         * elf/dl-init.c (call_init, _dl_init): Likewise.
45255         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
45256         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
45257         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
45258         Likewise.
45259         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
45260         Likewise.
45261         * elf/dl-minimal.c (__libc_memalign): Likewise.
45262         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
45263         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45264         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
45265         * elf/dl-sym.c (do_sym): Likewise.
45266         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
45267         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
45268         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
45269         * elf/dl-writev.h (_dl_writev): Likewise.
45270         * elf/ldconfig.c (search_dir): Likewise.
45271         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
45272         (dl_main): Likewise.
45273         * elf/setup-vdso.h (setup_vdso): Likewise.
45274         * grp/compat-initgroups.c (compat_call): Likewise.
45275         * grp/fgetgrent.c (fgetgrent): Likewise.
45276         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
45277         * grp/putgrent.c (putgrent): Likewise.
45278         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45279         Likewise.
45280         * hurd/hurdinit.c: Likewise.
45281         * iconvdata/8bit-gap.c (struct): Likewise.
45282         * iconvdata/ansi_x3.110.c : Likewise.
45283         * iconvdata/big5.c : Likewise.
45284         * iconvdata/big5hkscs.c : Likewise.
45285         * iconvdata/cp1255.c: Likewise.
45286         * iconvdata/cp1258.c : Likewise.
45287         * iconvdata/cp932.c : Likewise.
45288         * iconvdata/euc-cn.c: Likewise.
45289         * iconvdata/euc-jisx0213.c : Likewise.
45290         * iconvdata/euc-jp.c: Likewise.
45291         * iconvdata/euc-jp-ms.c : Likewise.
45292         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
45293         * iconvdata/gb18030.c : Likewise.
45294         * iconvdata/gbbig5.c (const): Likewise.
45295         * iconvdata/gbgbk.c: Likewise.
45296         * iconvdata/gbk.c : Likewise.
45297         * iconvdata/ibm1364.c : Likewise.
45298         * iconvdata/ibm930.c : Likewise.
45299         * iconvdata/ibm932.c: Likewise.
45300         * iconvdata/ibm933.c : Likewise.
45301         * iconvdata/ibm935.c : Likewise.
45302         * iconvdata/ibm937.c : Likewise.
45303         * iconvdata/ibm939.c : Likewise.
45304         * iconvdata/ibm943.c: Likewise.
45305         * iconvdata/iso_11548-1.c: Likewise.
45306         * iconvdata/iso-2022-cn.c : Likewise.
45307         * iconvdata/iso-2022-cn-ext.c : Likewise.
45308         * iconvdata/iso-2022-jp-3.c: Likewise.
45309         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
45310         * iconvdata/iso-2022-kr.c : Likewise.
45311         * iconvdata/iso646.c (gconv_end): Likewise.
45312         * iconvdata/iso_6937-2.c : Likewise.
45313         * iconvdata/iso_6937.c : Likewise.
45314         * iconvdata/iso8859-1.c: Likewise.
45315         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
45316         * iconvdata/shift_jisx0213.c : Likewise.
45317         * iconvdata/sjis.c : Likewise.
45318         * iconvdata/t.61.c : Likewise.
45319         * iconvdata/tcvn5712-1.c : Likewise.
45320         * iconvdata/tscii.c: Likewise.
45321         * iconvdata/uhc.c : Likewise.
45322         * iconvdata/unicode.c (gconv_end): Likewise.
45323         * iconvdata/utf-16.c (gconv_end): Likewise.
45324         * iconvdata/utf-32.c (gconv_end): Likewise.
45325         * iconvdata/utf-7.c (base64): Likewise.
45326         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
45327         * iconv/gconv_close.c (__gconv_close): Likewise.
45328         * iconv/gconv_open.c (__gconv_open): Likewise.
45329         * iconv/gconv_simple.c (internal_ucs4_loop_single)
45330         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
45331         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
45332         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
45333         (ucs4le_internal_loop_single): Likewise.
45334         * iconv/iconv.c (iconv): Likewise.
45335         * iconv/iconv_close.c: Likewise.
45336         * iconv/loop.c (SINGLE): Likewise.
45337         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
45338         * include/atomic.h: Likewise.
45339         * inet/inet6_option.c (option_alloc): Likewise.
45340         * intl/bindtextdom.c (set_binding_values): Likewise.
45341         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
45342         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
45343         * intl/localealias.c (read_alias_file): Likewise.
45344         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
45345         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
45346         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
45347         * libio/fmemopen.c (fmemopen): Likewise.
45348         * libio/iofgets.c (_IO_fgets): Likewise.
45349         * libio/iofgets_u.c (fgets_unlocked): Likewise.
45350         * libio/iofgetws.c (fgetws): Likewise.
45351         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
45352         * libio/iogetdelim.c (_IO_getdelim): Likewise.
45353         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
45354         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
45355         * locale/findlocale.c (_nl_find_locale): Likewise.
45356         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
45357         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
45358         Likewise.
45359         * locale/setlocale.c (setlocale): Likewise.
45360         * login/programs/pt_chown.c (main): Likewise.
45361         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
45362         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
45363         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
45364         (mmap, mmap64, mremap, munmap): Likewise.
45365         * math/e_exp2l.c: Likewise.
45366         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
45367         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
45368         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
45369         * math/s_catan.c (__catan): Likewise.
45370         * math/s_catanf.c (__catanf): Likewise.
45371         * math/s_catanh.c (__catanh): Likewise.
45372         * math/s_catanhf.c (__catanhf): Likewise.
45373         * math/s_catanhl.c (__catanhl): Likewise.
45374         * math/s_catanl.c (__catanl): Likewise.
45375         * math/s_ccosh.c (__ccosh): Likewise.
45376         * math/s_ccoshf.c (__ccoshf): Likewise.
45377         * math/s_ccoshl.c (__ccoshl): Likewise.
45378         * math/s_cexp.c (__cexp): Likewise.
45379         * math/s_cexpf.c (__cexpf): Likewise.
45380         * math/s_cexpl.c (__cexpl): Likewise.
45381         * math/s_clog10.c (__clog10): Likewise.
45382         * math/s_clog10f.c (__clog10f): Likewise.
45383         * math/s_clog10l.c (__clog10l): Likewise.
45384         * math/s_clog.c (__clog): Likewise.
45385         * math/s_clogf.c (__clogf): Likewise.
45386         * math/s_clogl.c (__clogl): Likewise.
45387         * math/s_csin.c (__csin): Likewise.
45388         * math/s_csinf.c (__csinf): Likewise.
45389         * math/s_csinh.c (__csinh): Likewise.
45390         * math/s_csinhf.c (__csinhf): Likewise.
45391         * math/s_csinhl.c (__csinhl): Likewise.
45392         * math/s_csinl.c (__csinl): Likewise.
45393         * math/s_csqrt.c (__csqrt): Likewise.
45394         * math/s_csqrtf.c (__csqrtf): Likewise.
45395         * math/s_csqrtl.c (__csqrtl): Likewise.
45396         * math/s_ctan.c (__ctan): Likewise.
45397         * math/s_ctanf.c (__ctanf): Likewise.
45398         * math/s_ctanh.c (__ctanh): Likewise.
45399         * math/s_ctanhf.c (__ctanhf): Likewise.
45400         * math/s_ctanhl.c (__ctanhl): Likewise.
45401         * math/s_ctanl.c (__ctanl): Likewise.
45402         * math/w_pow.c: Likewise.
45403         * math/w_powf.c: Likewise.
45404         * math/w_powl.c: Likewise.
45405         * math/w_scalb.c (sysv_scalb): Likewise.
45406         * math/w_scalbf.c (sysv_scalbf): Likewise.
45407         * math/w_scalbl.c (sysv_scalbl): Likewise.
45408         * misc/error.c (error_tail): Likewise.
45409         * misc/pselect.c (__pselect): Likewise.
45410         * nis/nis_callback.c (__nis_create_callback): Likewise.
45411         * nis/nis_call.c (__nisfind_server): Likewise.
45412         * nis/nis_creategroup.c (nis_creategroup): Likewise.
45413         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
45414         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
45415         * nis/nis_getservlist.c (nis_getservlist): Likewise.
45416         * nis/nis_lookup.c (nis_lookup): Likewise.
45417         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
45418         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
45419         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
45420         * nis/nis_xdr.c (xdr_endpoint): Likewise.
45421         * nis/nss_compat/compat-grp.c (getgrent_next_file)
45422         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
45423         * nis/nss_compat/compat-initgroups.c (add_group)
45424         (internal_getgrent_r): Likewise.
45425         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
45426         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
45427         * nis/nss_compat/compat-spwd.c (getspent_next_file)
45428         (internal_getspnam_r): Likewise.
45429         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
45430         (_nss_nis_getaliasbyname_r): Likewise.
45431         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
45432         (_nss_nis_getntohost_r): Likewise.
45433         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
45434         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
45435         (_nss_nis_getgrgid_r): Likewise.
45436         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
45437         (internal_nis_gethostent_r, internal_gethostbyname2_r)
45438         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
45439         (_nss_nis_gethostbyname4_r): Likewise.
45440         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
45441         (initgroups_netid): Likewise.
45442         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
45443         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
45444         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
45445         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
45446         (_nss_nis_getprotobynumber_r): Likewise.
45447         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
45448         (_nss_nis_getsecretkey): Likewise.
45449         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
45450         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
45451         (_nss_nis_getpwuid_r): Likewise.
45452         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
45453         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
45454         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
45455         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
45456         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
45457         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
45458         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
45459         Likewise.
45460         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
45461         (_nss_nisplus_getntohost_r): Likewise.
45462         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
45463         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
45464         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
45465         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
45466         Likewise.
45467         * nis/nss_nisplus/nisplus-initgroups.c
45468         (_nss_nisplus_initgroups_dyn): Likewise.
45469         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
45470         (_nss_nisplus_getnetbyaddr_r): Likewise.
45471         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
45472         (_nss_nisplus_getprotobynumber_r): Likewise.
45473         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
45474         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
45475         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
45476         Likewise.
45477         * nis/nss_nisplus/nisplus-service.c
45478         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
45479         (_nss_nisplus_getservbyport_r): Likewise.
45480         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
45481         (_nss_nisplus_getspnam_r): Likewise.
45482         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
45483         Likewise.
45484         * nscd/aicache.c (addhstaiX): Likewise.
45485         * nscd/cache.c (cache_search, prune_cache): Likewise.
45486         * nscd/connections.c (register_traced_file, send_ro_fd)
45487         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
45488         (main_loop_epoll): Likewise.
45489         * nscd/grpcache.c (addgrbyX): Likewise.
45490         * nscd/hstcache.c (addhstbyX): Likewise.
45491         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45492         * nscd/mem.c (gc, mempool_alloc): Likewise.
45493         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
45494         (addinnetgrX): Likewise.
45495         * nscd/nscd-client.h (__nscd_acquire_maplock)
45496         (__nscd_drop_map_ref): Likewise.
45497         * nscd/nscd_getai.c (__nscd_getai): Likewise.
45498         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
45499         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
45500         Likewise.
45501         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
45502         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45503         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
45504         (__nscd_get_map_ref): Likewise.
45505         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
45506         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
45507         Likewise.
45508         * nscd/pwdcache.c (addpwbyX): Likewise.
45509         * nscd/selinux.c (preserve_capabilities): Likewise.
45510         * nscd/servicescache.c (addservbyX): Likewise.
45511         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
45512         * posix/fnmatch.c (fnmatch): Likewise.
45513         * posix/getopt.c (_getopt_internal_r): Likewise.
45514         * posix/glob.c (glob, glob_in_dir): Likewise.
45515         * posix/wordexp.c (exec_comm_child): Likewise.
45516         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
45517         (getanswer_r, gaih_getanswer_slice): Likewise.
45518         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
45519         * resolv/res_init.c: Likewise.
45520         * resolv/res_mkquery.c (res_nmkquery): Likewise.
45521         * resolv/res_query.c (__libc_res_nquery): Likewise.
45522         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
45523         Likewise.
45524         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
45525         * stdio-common/perror.c (perror): Likewise.
45526         * stdio-common/printf_fp.c (___printf_fp): Likewise.
45527         * stdio-common/tmpnam.c (tmpnam): Likewise.
45528         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45529         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
45530         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
45531         Likewise.
45532         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
45533         * stdlib/putenv.c (putenv): Likewise.
45534         * stdlib/setenv.c (__add_to_environ): Likewise.
45535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45536         * stdlib/strtol_l.c (INTERNAL): Likewise.
45537         * string/memmem.c (memmem): Likewise.
45538         * string/strerror.c (strerror): Likewise.
45539         * string/strnlen.c (__strnlen): Likewise.
45540         * string/test-memmem.c (simple_memmem): Likewise.
45541         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
45542         * sunrpc/pm_getport.c (__get_socket): Likewise.
45543         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
45544         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
45545         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
45546         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
45547         Likewise.
45548         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
45549         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
45550         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
45551         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
45552         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
45553         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
45554         Likewise.
45555         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
45556         Likewise.
45557         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
45558         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
45559         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45560         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
45561         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
45562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
45563         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45564         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
45565         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
45566         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
45567         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45568         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
45569         Likewise.
45570         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
45571         Likewise.
45572         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
45573         Likewise.
45574         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
45575         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45576         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
45577         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
45578         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
45579         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
45580         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45581         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
45582         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
45583         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
45584         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
45585         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45586         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45587         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
45588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45589         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
45590         Likewise.
45591         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
45592         Likewise.
45593         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
45594         Likewise.
45595         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
45596         Likewise.
45597         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45599         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
45600         Likewise.
45601         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
45602         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
45603         * sysdeps/posix/opendir.c (__opendirat): Likewise.
45604         * sysdeps/posix/sleep.c: Likewise.
45605         * sysdeps/posix/tempname.c: Likewise.
45606         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
45607         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45608         Likewise.
45609         * sysdeps/powerpc/powerpc32/dl-machine.h
45610         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
45611         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45613         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
45614         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
45615         Likewise.
45616         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
45617         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
45618         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
45619         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
45620         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
45621         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
45622         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
45623         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
45624         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45625         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
45626         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
45627         (elf_machine_lazy_rel): Likewise.
45628         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45629         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
45630         (elf_machine_lazy_rel): Likewise.
45631         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
45632         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
45633         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
45634         * sysdeps/unix/grantpt.c (grantpt): Likewise.
45635         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
45636         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
45637         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
45638         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45639         Likewise.
45640         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
45641         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
45642         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
45643         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
45644         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45645         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45646         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
45647         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
45648         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
45649         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45650         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45651         Likewise.
45652         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
45653         (__posix_fallocate64_l64): Likewise.
45654         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
45655         (posix_fallocate): Likewise.
45656         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
45657         Likewise.
45658         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45659         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
45660         (getifaddrs_internal): Likewise.
45661         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
45662         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
45663         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
45664         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
45665         * sysdeps/unix/sysv/linux/posix_fallocate64.c
45666         (__posix_fallocate64_l64): Likewise.
45667         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
45668         Likewise.
45669         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
45670         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
45671         (__get_clockfreq): Likewise.
45672         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
45673         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
45674         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
45675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45677         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
45678         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
45679         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
45680         Likewise.
45681         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
45682         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
45683         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
45684         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
45685         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45686         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
45687         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
45688         Likewise.
45689         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45690         (posix_fallocate): Likewise.
45691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45692         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
45693         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
45694         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
45695         (elf_machine_rela, elf_machine_rela_relative)
45696         (elf_machine_lazy_rel): Likewise.
45697         * time/asctime.c (asctime_internal): Likewise.
45698         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
45699         * time/tzset.c (__tzset_parse_tz): Likewise.
45700         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45701         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45702         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
45703         * wcsmbs/wcsmbsload.h: Likewise.
45705         [BZ #15894]
45706         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
45708         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
45709         (arena_get2): Remove THREAD_STATS conditionals.
45710         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
45711         (__malloc_stats, int): Likewise.
45713 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
45715         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
45716         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
45718         * manual/setjmp.texi: Fix typos/grammar errors.
45720         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
45721         Only return early when n is <= 0.  Delete unused return statement.
45723         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
45724         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
45725         * debug/tst-longjmp_chk3.c: New file.
45727         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
45728         (test_main): Replace code with set_fortify_handler call.
45729         * debug/test-strcpy_chk.c: Likewise.
45730         * debug/tst-chk1.c: Likewise.
45731         * debug/tst-longjmp_chk.c: Likewise.
45732         * test-skeleton.c: Include fcntl.h & paths.h
45733         (set_fortify_handler): Define.
45735         * debug/tst-longjmp_chk.c: Add header comment and include
45736         ../test-skeleton.c.
45737         (do_test): Mark static.
45738         (TEST_FUNCTION): Define.
45740         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
45741         (IP_PMTUDISC_INTERFACE): Likewise.
45742         (IP_MULTICAST_IF): Likewise.
45743         (IP_MULTICAST_TTL): Likewise.
45744         (IP_MULTICAST_LOOP): Likewise.
45745         (IP_ADD_MEMBERSHIP): Likewise.
45746         (IP_DROP_MEMBERSHIP): Likewise.
45747         (IP_UNBLOCK_SOURCE): Likewise.
45748         (IP_BLOCK_SOURCE): Likewise.
45749         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
45750         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
45751         (IP_MSFILTER): Likewise.
45752         (MCAST_JOIN_GROUP): Likewise.
45753         (MCAST_BLOCK_SOURCE): Likewise.
45754         (MCAST_UNBLOCK_SOURCE): Likewise.
45755         (MCAST_LEAVE_GROUP): Likewise.
45756         (MCAST_JOIN_SOURCE_GROUP): Likewise.
45757         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
45758         (MCAST_MSFILTER): Likewise.
45759         (IP_MULTICAST_ALL): Likewise.
45760         (IP_UNICAST_IF): Likewise.
45762         * timezone/Makefile: Delete $(have-ksh) check.
45763         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
45764         * timezone/tzselect.ksh: Add +x mode bits.
45766         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
45767         (ANON_INODE_FS_MAGIC): Likewise.
45768         (BDEVFS_MAGIC): Likewise.
45769         (BINFMTFS_MAGIC): Likewise.
45770         (BTRFS_TEST_MAGIC): Likewise.
45771         (CRAMFS_MAGIC_WEND): Likewise.
45772         (DEBUGFS_MAGIC): Likewise.
45773         (ECRYPTFS_SUPER_MAGIC): Likewise.
45774         (EXT3_SUPER_MAGIC): Likewise.
45775         (EXT4_SUPER_MAGIC): Likewise.
45776         (FUTEXFS_SUPER_MAGIC): Likewise.
45777         (HOSTFS_SUPER_MAGIC): Likewise.
45778         (HUGETLBFS_MAGIC): Likewise.
45779         (MINIX3_SUPER_MAGIC): Likewise.
45780         (MTD_INODE_FS_MAGIC): Likewise.
45781         (NILFS_SUPER_MAGIC): Likewise.
45782         (OPENPROM_SUPER_MAGIC): Likewise.
45783         (PIPEFS_MAGIC): Likewise.
45784         (PSTOREFS_MAGIC): Likewise.
45785         (QNX6_SUPER_MAGIC): Likewise.
45786         (RAMFS_MAGIC): Likewise.
45787         (REISERFS_SUPER_MAGIC_STRING): Likewise.
45788         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
45789         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
45790         (SECURITYFS_MAGIC): Likewise.
45791         (SELINUX_MAGIC): Likewise.
45792         (SMACK_MAGIC): Likewise.
45793         (SOCKFS_MAGIC): Likewise.
45794         (SQUASHFS_MAGIC): Likewise.
45795         (STACK_END_MAGIC): Likewise.
45796         (TMPFS_MAGIC): Likewise.
45797         (USBDEVICE_SUPER_MAGIC): Likewise.
45798         (V9FS_MAGIC): Likewise.
45799         (XENFS_SUPER_MAGIC): Likewise.
45800         (CRAMFS_MAGIC): Fix typo in comment.
45801         (EXT2_SUPER_MAGIC): Update comment.
45802         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
45804 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
45806         * sysdeps/arm: Move directory from ports/sysdeps/arm.
45807         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
45808         * sysdeps/unix/sysv/linux/arm: Move directory from
45809         ports/sysdeps/unix/sysv/linux/arm.
45810         * README: Update listing for arm-*-linux-gnueabi.
45812         * README: Remove mention of am33.
45814 2014-02-07  Roland McGrath  <roland@hack.frob.com>
45816         * bits/sigset.h (__sigemptyset): Use a statement expression rather
45817         than the comma operator, to avoid "rhs of comma has no effect"
45818         compiler warnings.
45819         (__sigfillset, __sigandset, __sigorset): Likewise.
45820         * include/signal.h (__sigemptyset): Likewise.
45821         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
45823 2014-02-07  Allan McRae  <allan@archlinux.org>
45825         * version.h (RELEASE): Set to "development".
45826         (VERSION): Set to "2.19.90"
45827         * NEWS: Add 2.20 section.
45829 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
45831         [BZ #16529]
45832         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
45834 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45836         * manual/contrib.texi: Update entry for Carlos O'Donell,
45837         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
45839 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
45841         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
45843         * sysdeps/unix/sysv/linux/kernel-features.h
45844         [__LINUX_KERNEL_VERSION >= 0x020621]
45845         (__ASSUME_PROC_PID_TASK_COMM): Define.
45847 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45849         [BZ #16398]
45850         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
45851         conversion when destination buffer does not have enough space.
45852         * libio/tst-ftell-partial-wide.c: New test case.
45853         * libio/Makefile (tests): Add tst-ftell-partial-wide.
45855         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
45856         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
45857         Leonard and Allan McRae.
45859 2014-02-04  David S. Miller  <davem@davemloft.net>
45861         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
45862         32-bit.
45864 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45867         New file
45868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45869         New file
45870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45871         New file.
45872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45873         New file.
45874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45875         New file.
45876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45877         New file.
45878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45879         New file.
45880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45881         New file.
45882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45883         New file.
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45885         New file.
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45887         New file.
45888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45889         New file.
45890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45891         New file.
45893 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45895         * nptl/shlib-versions: Change powerpc*le start to 2.17.
45896         * shlib-versions: Likewise.
45898 2014-02-04  Roland McGrath  <roland@hack.frob.com>
45899             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45901         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
45902         (abilist-pattern): New variable, set to %-le.abilist.
45904         * Makerules (abilist-pattern): New variable.
45905         (vpath): Use $(abilist-pattern) in place of %.abilist.
45906         (check-abi-% pattern rule): Likewise.
45907         (check-abi, update-abi): Likewise.
45909 2014-02-04  Eric Wong  <normalperson@yhbt.net>
45911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45913 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
45915         * manual/startup.texi: Add next, previous, and top entries for
45916         the `Program Arguments' and `Environment Variables' nodes.
45918 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
45920         * manual/macros.texi: Add comments before MTASC-safety macros.
45922         * manual/users.texi: Document MTASC-safety properties.
45924         * manual/threads.texi (pthread_key_create, pthread_key_delete)
45925         (pthread_getspecific, pthread_setspecific): Format with
45926         @deftypefun, and add @safety note.
45927         * manual/signal.texi: Move comments that analyze the above
45928         functions to their home place.
45930 2014-02-03  Allan McRae  <allan@archlinux.org>
45932         * po/sl.po: Update Slovenian translation from translation project.
45934 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
45936         * manual/time.texi (timegm): Add missing blank after @c.
45937         Reported by Joseph Myers <joseph@codesourcery.com>.
45939 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
45941         * manual/check-safety.sh: New.
45942         * manual/Makefile ($(objpfx)stamp-summary): Run it.
45944         * manual/terminal.texi: Document MTASC-safety properties.
45946         * manual/filesys.texi: Document MTASC-safety properties.
45948         * manual/errno.texi: Document MTASC-safety properties.
45950         * manual/intro.texi: Document safety identifiers and
45951         conditionals.
45953         * manual/string.texi (wcstok): Fix prototype.
45954         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45956         * manual/time.texi: Document MTASC-safety properties.
45958         * manual/string.texi: Document MTASC-safety properties.
45960         * manual/threads.texi: Document MTASC-safety properties.
45962         * manual/stdio.texi: Document MTASC-safety properties.
45964         * manual/syslog.texi: Document MTASC-safety properties.
45966         * manual/sysinfo.texi: Document MTASC-safety properties.
45968         * manual/startup.texi: Document MTASC-safety properties.
45970         * manual/socket.texi: Document MTASC-safety properties.
45972         * manual/signal.texi: Document MTASC-safety properties.
45974 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45976         * manual/setjmp.texi: Document MTASC-safety properties.
45978         * manual/search.texi: Document MTASC-safety properties.
45980         * manual/resource.texi: Document MTASC-safety properties.
45982         * manual/process.texi: Document MTASC-safety properties.
45984         * manual/platform.texi: Document MTASC-safety properties.
45986         * manual/pipe.texi: Document MTASC-safety properties.
45988         * manual/pattern.texi: Document MTASC-safety properties.
45990         * manual/message.texi: Document MTASC-safety properties.
45992         [BZ #12751]
45993         * manual/memory.texi: Document MTASC-safety properties.
45995         * manual/math.texi: Document MTASC-safety properties.
45997         * manual/locale.texi: Document MTASC-safety properties.
45999         * manual/llio.texi: Document MTASC-safety properties.
46001         * manual/libdl.texi: New.
46003         * manual/lang.texi: Document MTASC-safety properties.
46005         * manual/job.texi: Document MTASC-safety properties.
46007         * manual/getopt.texi: Document MTASC-safety properties.
46009         * manual/ctype.texi: Document MTASC-safety properties.
46011 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
46013         [BZ #16046]
46014         * csu/libc-tls.c (static_map): Remove variable.
46015         (__libc_setup_tls): Use main executable's link map for TLS data.
46016         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46017         casing for LM_ID_BASE and GL(dl_nns).
46018         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46019         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
46020         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46021         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46022         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46023         member.
46024         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46025         l_phnum members.
46027 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
46029         * manual/debug.texi: Document MTASC-safety properties.
46031 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
46033         [BZ #16510]
46034         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46035         of __x86_64__ when disabling x87 inline functions.
46037 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
46039         * manual/charset.texi: Document MTASC-safety properties.
46041         * manual/crypt.texi: Document MTASC-safety properties.
46043         * manual/conf.texi: Document MTASC-safety properties.
46045         * manual/arith.texi: Document MTASC-safety properties.
46047         * manual/argp.texi: Document MTASC-safety properties.
46049         * manual/macros.texi: Introduce macros to document multi
46050         thread, asynchronous signal and asynchronous cancellation
46051         safety properties.
46052         * manual/intro.texi: Introduce the properties themselves.
46054 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46056         * sysdeps/sh/sh4/Makefile: New file.
46058 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
46060         * math/gen-libm-test.pl ($srcdir): New variable.
46061         ($auto_input): Use it.
46063 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46065         [BZ #16506]
46066         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46067         access beyond array bounds when parsing netgroups file.
46069         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46070         the old buffer before realloc.
46072 2014-01-27  Allan McRae  <allan@archlinux.org>
46074         * po/fr.po: Update French translation from translation project.
46076 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46078         * sysdeps/sh/libm-test-ulps: Regenerate.
46080 2014-01-24  David S. Miller  <davem@davemloft.net>
46082         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46084 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46086         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46087         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46089 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46091         [BZ #16474]
46092         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46093         string pointers after reallocation.
46095 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46097         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46098         __SH4A__ instead of __SH_FPU_ANY__.
46100 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46102         * sysdeps/sh/fpu_control.h: New file.
46103         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46104         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46105         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46106         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46107         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46108         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46109         * sysdeps/sh/sys/ucontext.h: Remove.
46110         * sysdeps/sh/sys: Remove directory.
46112 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46114         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46115         s390/sys/ucontext.h.
46116         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46117         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46119 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
46121         [BZ #15605]
46122         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46124 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46126         [BZ#16431]
46127         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46128         Adjust the vDSO correctly for internal calls.
46129         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46131 2014-01-20  Allan McRae  <allan@archlinux.org>
46133         * po/ca.po: Update Catalan translation from translation project.
46135 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
46137         * sysdeps/s390/sotruss-lib.c: New file.
46139 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46141         [BZ#16430]
46142         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46143         (__GI___gettimeofday): Alias for a different internal symbol to avoid
46144         local calls issues by not having a PLT stub required for IFUNC calls.
46145         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46147 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
46149         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46150         * math/test-fpucw-static.c: Likewise.
46152 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46154         [BZ #16453]
46155         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46157 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46159         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46160         implementation for powerpc.
46162 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
46164         [BZ #14782]
46165         * sysdeps/posix/system.c (__libc_system): Do not enable
46166         asynchronous cancellation.
46168 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46170         [BZ #16427]
46171         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46172         handling only for numbers special also in the IEEE case.
46174 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46176         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46178 2014-01-11  Allan McRae  <allan@archlinux.org>
46180         * po/bg.po: Update Bulgarian translation from translation project.
46182         * po/de.po: Update German translation from translation project.
46184 2014-01-10  Roland McGrath  <roland@hack.frob.com>
46186         * sysdeps/generic/gcc-compat.h: New file.
46188 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46190         * benchtests/asin-inputs: Correct slow inputs.
46191         * benchtests/acos-inputs: Likewise.
46193 2014-01-10  Allan McRae  <allan@archlinux.org>
46195         * po:sv.po: Update Swedish translation from translation project.
46197         * po/vi.po: Update Vietnamese translation from translation project.
46199         * po/eo.po: Update Esperanto translation from translation project.
46201         * po/cs.po: Update Czech translation from translation project.
46203         * po/nl.po: Update Dutch translation from translation project.
46205         * po/pl.po: Update Polish translation from translation project.
46207         * po/ru.po: Update Russian translation from translation project.
46209         * po/uk.po: Update Ukrainian translation from translation project.
46211 2014-01-08  Brooks Moses  <bmoses@google.com>
46213         * elf/dl-load.c: Fix comment typo.
46215 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
46217         * po/header.pot: Rename to...
46218         * po/pot.header: ... this.
46219         * po/Makefile: Use pot.header.
46221 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
46222             Maxim Kuvyrkov  <maxim@kugelworks.com>
46224         [BZ #16394]
46225         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
46226         SRC and DEST against LEN.
46228 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46230         [BZ #16414]
46231         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
46232         implementation.
46233         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
46235 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46239 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
46241         [BZ #16408]
46242         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
46243         for large positive arguments.
46245 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
46247         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46249         * math/auto-libm-test-in: Mark various tests with
46250         xfail-rounding:ldbl-128ibm.
46251         * math/auto-libm-test-out: Regenerated.
46253         [BZ #16407]
46254         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46255         Increase overflow threshold.
46257 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
46259         [BZ #14286]
46260         * stdio-common/vfprintf.c: Check for integer overflow.
46262 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46264         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
46265         the first argument and return value of __tls_get_addr_internal.
46267 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46269         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
46270         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
46272 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46274         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
46275         * sysdeps/s390/rtld-global-offsets.sym: New file.
46276         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
46277         GLIBC_2.19 symbol.
46278         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
46279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
46280         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46281         ... this.
46282         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
46283         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46284         ... this.
46285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46286         Regenerate.
46287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46288         Regenerate.
46289         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
46290         halfs of GPRs for high_gprs contexts.
46291         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
46292         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
46293         field.
46294         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
46295         uc_flags field.
46296         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
46297         64 bit versions:
46298         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
46299         for high GPRs (uc_high_gprs) and for future extensions
46300         (__reserved).
46301         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
46302         for future extensions (__reserved).
46303         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
46304         64 bit versions:
46305         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
46306         SC_HIGHGPRS offset definition.
46307         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
46308         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
46310         * Versions.def: Add GLIBC_2.19 for libpthread.
46311         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
46312         siglongjmp for libpthread with GLIBC_2.19 symver.
46313         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
46314         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
46315         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
46316         * sysdeps/s390/__longjmp.c: New file.
46317         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
46318         * sysdeps/s390/longjmp.c: New file.
46319         * sysdeps/s390/setjmp.S: New file.
46320         * sysdeps/s390/sigjmp.S: New file.
46321         * sysdeps/s390/v1-longjmp.c: New file.
46322         * sysdeps/s390/v1-setjmp.h: New file.
46323         * sysdeps/s390/v1-sigjmp.c: New file.
46324         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
46325         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
46326         GLIBC_2.19 version.
46327         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
46328         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
46329         versioned symbols for ____longjmp_chk.
46330         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46331         Likewise.
46332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46333         Regenerate.
46334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46335         Regenerate.
46336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46337         Regenerate.
46338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46339         Regenerate.
46340         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
46341         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
46342         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
46343         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
46344         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
46345         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
46346         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
46347         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
46348         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
46349         * sysdeps/s390/rtld-__longjmp.c: New file.
46350         * sysdeps/s390/rtld-setjmp.S: New file.
46352 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
46354         [BZ #16400]
46355         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
46356         Return -__logl (x) for small positive arguments without evaluating
46357         a polynomial.
46359 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
46361         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
46362         Rename to ...
46363         (__ptrace_peeksiginfo_args): ... this.
46364         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46365         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46366         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46368 2014-01-06  Allan McRae  <allan@archlinux.org>
46370         * inet/netinet/in.h: Fix typo in comment.
46372 2014-01-05  Andreas Jaeger  <aj@suse.de>
46374         * sysdeps/i386/fpu/libm-test-ulps: Update.
46376 2014-01-05  Allan McRae  <allan@archlinux.org>
46378         * po/libc.pot: Regenerated.
46380         * malloc/memusagestat.c: Fix gettext call formatting.
46382 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
46384         * nscd/nscd.c: Improve usage() output.
46386 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
46388         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
46389         * sysdeps/unix/sysv/linux/configure: Regenerated.
46390         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
46391         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
46393 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
46395         [BZ #16390]
46396         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46397         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
46399 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46401         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
46402         extra tokens at end of #undef directive.
46403         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
46404         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
46405         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
46407 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
46409         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46411         * math/auto-libm-test-in: Mark various tests with
46412         xfail-rounding:ldbl-128ibm.
46413         * math/auto-libm-test-out: Regenerated.
46415 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
46417         [BZ #16386]
46418         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
46419         numbers with subnormal high part when calculating exponent.
46421         [BZ #16385]
46422         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
46423         fabs.
46425         [BZ #16384]
46426         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
46427         M_LN2l.
46428         (__ieee754_acoshl): Use __log1pl not __log1p.
46430 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
46432         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
46433         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
46434         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
46435         (grow_heap, heap_trim, _int_new_arena, get_free_list)
46436         (reused_arena, arena_get2): Convert to GNU style.
46437         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
46438         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
46439         (memalign_check, __malloc_set_state): Likewise.
46440         * malloc/mallocbug.c (main): Likewise.
46441         * malloc/malloc.c (__malloc_assert, malloc_init_state)
46442         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
46443         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
46444         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
46445         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
46446         (__posix_memalign, malloc_info): Likewise.
46447         * malloc/malloc.h: Likewise.
46448         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
46449         (mallochook, memalignhook, reallochook, mabort): Likewise.
46450         * malloc/mcheck.h: Likewise.
46451         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
46452         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
46453         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
46454         * malloc/morecore.c (__default_morecore): Likewise.
46455         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
46456         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
46457         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
46458         (print_and_abort): Likewise.
46459         * malloc/obstack.h: Likewise.
46460         * malloc/set-freeres.c (__libc_freeres): Likewise.
46461         * malloc/tst-mallocstate.c (main): Likewise.
46462         * malloc/tst-mtrace.c (main): Likewise.
46463         * malloc/tst-realloc.c (do_test): Likewise.
46465 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46467         [BZ #16366]
46468         * nscd/netgroupcache.c (do_notfound): New function.
46469         (addgetnetgrentX): Use it.
46471         [BZ # 16365]
46472         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
46473         NSS_STATUS_NOTFOUND.
46475 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
46477         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46480 2014-01-01  Allan McRae  <allan@archlinux.org>
46482         * scripts/update-copyrights: Update configure input file suffix.
46484         * NEWS: Update copyright year.
46485         * catgets/gencat.c: Likewise.
46486         * csu/version.c: Likewise.
46487         * debug/catchsegv.sh: Likewise.
46488         * debug/pcprofiledump.c: Likewise.
46489         * debug/xtrace.sh: Likewise.
46490         * elf/ldconfig.c: Likewise.
46491         * elf/ldd.bash.in: Likewise.
46492         * elf/pldd.c: Likewise.
46493         * elf/sotruss.ksh: Likewise.
46494         * elf/sprof.c: Likewise.
46495         * iconv/iconv_prog.c: Likewise.
46496         * iconv/iconvconfig.c: Likewise.
46497         * locale/programs/locale.c: Likewise.
46498         * locale/programs/localedef.c: Likewise.
46499         * login/programs/pt_chown.c: Likewise.
46500         * malloc/memusage.sh: Likewise.
46501         * malloc/memusagestat.c: Likewise.
46502         * malloc/mtrace.pl: Likewise.
46503         * manual/libc.texinfo: Likewise.
46504         * nscd/nscd.c: Likewise.
46505         * nss/getent.c: Likewise.
46506         * nss/makedb.c: Likewise.
46507         * posix/getconf.c: Likewise.
46508         * scripts/test-installation.pl: Likewise.
46510         * All files with FSF copyright notices: Update copyright dates
46511         using scripts/update-copyrights.
46512         * intl/plural.c: Regenerated.
46513         * locale/programs/charmap-kw.h: Likewise.
46514         * locale/programs/locfile-kw.h: Likewise.
46516 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
46518         * sysdeps/unix/sysv/linux/configure: Regenerated.
46519         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
46520         the linux/fanotify.h header.
46521         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
46522         HAVE_LINUX_FANOTIFY_H is defined.
46524 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46526         * benchtests/cos-inputs: New inputs.
46527         * benchtests/sin-inputs: Likewise.
46529         * benchtests/atan-inputs: New inputs. Fix name of multiple
46530         precision fallback inputs.
46532         * benchtests/atanh-inputs: New inputs.
46533         * benchtests/tanh-inputs: Likewise.
46535         * benchtests/acosh-inputs: New inputs.
46536         * benchtests/asinh-inputs: Likewise.
46538         * benchtests/cosh-inputs: New inputs.
46539         * benchtests/sinh-inputs: Likewise.
46541         * benchtests/acos-inputs: Add more inputs.
46542         * benchtests/asin-inputs: Likewise.
46544 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
46546         [BZ #16375]
46547         * manual/arith.texi: Fix spelling.
46548         * manual/charset.texi: Likewise.
46549         * manual/errno.texi: Likewise.
46550         * manual/filesys.texi: Likewise.
46551         * manual/lang.texi: Likewise.
46552         * manual/llio.texi: Likewise.
46553         * manual/locale.texi: Likewise.
46554         * manual/message.texi: Likewise.
46555         * manual/resource.texi: Likewise.
46556         * manual/search.texi: Likewise.
46557         * manual/setjmp.texi: Likewise.
46558         * manual/stdio.texi: Likewise.
46559         * manual/string.texi: Likewise.
46560         * manual/sysinfo.texi: Likewise.
46561         * manual/time.texi: Likewise.
46563 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
46565         * po/sl.po: New file.
46567 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
46569         * .gitignore: Add core/.gdbinit/.gdb_history.
46571 2013-12-27  Allan McRae  <allan@archlinux.org>
46573         [BZ #16369]
46574         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
46575         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
46577 2013-12-24  Brooks Moses  <bmoses@google.com>
46579         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
46580         all compilers that claim C++98 compliance, not just GCC.
46581         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
46582         Likewise.
46584 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
46586         * NEWS: Restore accidentally deleted bug-fix entries.
46588 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
46589             Ondřej Bílka  <neleai@seznam.cz>
46591         [BZ #15073]
46592         * malloc/malloc.c (_int_free): Perform sanity check only if we
46593         have_lock.
46595 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
46597         [BZ #12986]
46598         * manual/stdio.texi (String Input Conversions): Clarify that character
46599         classes are not supported.
46601 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46605 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
46607         [BZ #16337]
46608         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
46609         Calculate results for small negative arguments directly rather
46610         than using reflection formula with special underflow handling.
46612         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
46613         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
46614         sysdeps/unix/bsd/bsd4.4/syscalls.list.
46615         (fchflags): Likewise.
46616         (revoke): Likewise.
46617         (setlogin): Likewise.
46618         (sigaltstack): Likewise.
46619         (wait4): Likewise.
46620         (sigblock): Remove.
46621         (sigsetmask): Likewise.
46622         (wait3): Likewise.
46623         (waitpid): Likewise.
46624         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
46625         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
46626         file.
46627         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
46628         * sysdeps/unix/bsd/Makefile: ... here.
46629         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
46630         * sysdeps/unix/bsd/Versions: ... here.
46631         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
46632         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
46633         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
46634         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
46635         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
46636         * sysdeps/unix/bsd/sigblock.c: ... here.
46637         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
46638         * sysdeps/unix/bsd/sigsetmask.c: ... here.
46639         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
46640         * sysdeps/unix/bsd/sigvec.c: ... here.
46641         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
46642         * sysdeps/unix/bsd/tcdrain.c: ... here.
46643         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
46644         * sysdeps/unix/bsd/tcgetattr.c: ... here.
46645         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
46646         * sysdeps/unix/bsd/tcsetattr.c: ... here.
46647         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
46648         * sysdeps/unix/bsd/wait.c: ... here.
46649         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
46650         * sysdeps/unix/bsd/wait3.c: ... here.
46651         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
46652         * sysdeps/unix/bsd/waitpid.c: ... here.
46654 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
46656         [BZ #16356]
46657         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
46658         round-to-nearest for [!USE_AS_EXPM1L].
46659         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
46660         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
46661         more tests of exp and exp10.  Expect some exp10 tests to miss
46662         exceptions or fail in directed rounding modes.
46663         * math/auto-libm-test-out: Regenerated.
46664         * math/libm-test.inc (exp10_tonearest_test_data): New array.
46665         (exp10_test_tonearest): New function.
46666         (exp10_towardzero_test_data): New array.
46667         (exp10_test_towardzero): New function.
46668         (exp10_downward_test_data): New array.
46669         (exp10_test_downward): New function.
46670         (exp10_upward_test_data): New array.
46671         (exp10_test_upward): New function.
46672         (main): Call the new functions.
46673         * sysdeps/i386/fpu/libm-test-ulps: Update.
46674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46676 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
46678         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
46679         asinh, atan, atan2, atanh, cbrt, cos and cosh.
46680         * math/auto-libm-test-out: Regenerated.
46681         * math/libm-test.inc (acosh_test_data): Add more tests.
46682         (atanh_test_data): Likewise.
46683         (ceil_test_data): Likewise.
46684         (copysign_test_data): Likewise.
46685         * sysdeps/i386/fpu/libm-test-ulps: Update.
46686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46688         * timezone/checktab.awk: Update from tzcode 2013i.
46689         * timezone/private.h: Likewise.
46690         * timezone/scheck.c: Likewise.
46691         * timezone/tzfile.h: Likewise.
46692         * timezone/tzselect.ksh: Likewise.
46693         * timezone/zdump.c: Likewise.
46694         * timezone/zic.c: Likewise.
46696         * math/auto-libm-test-in: Add tests of cpow.
46697         * math/auto-libm-test-out: Regenerated.
46698         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
46699         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46700         mpc_cc_c.
46701         (func_calc_desc): Add mpc_cc_c union field.
46702         (test_functions): Add cpow.
46703         (special_fill_2pi): New function.
46704         (special_real_inputs): Add 2pi.
46705         (calc_generic_results): Handle mpc_cc_c.
46706         * sysdeps/i386/fpu/libm-test-ulps: Update.
46707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46709         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
46710         csqrt, ctan and ctanh.
46711         * math/auto-libm-test-out: Regenerated.
46712         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46713         (TEST_COND_x86): Likewise.
46714         (ccos_test_data): Use AUTO_TESTS_c_c.
46715         (ccosh_test_data): Likewise.
46716         (cexp_test_data): Likewise.
46717         (clog_test_data): Likewise.
46718         (csqrt_test_data): Likewise.
46719         (ctan_test_data): Likewise.
46720         (ctan_tonearest_test_data): Likewise.
46721         (ctan_towardzero_test_data): Likewise.
46722         (ctan_downward_test_data): Likewise.
46723         (ctan_upward_test_data): Likewise.
46724         (ctanh_test_data): Likewise.
46725         (ctanh_tonearest_test_data): Likewise.
46726         (ctanh_towardzero_test_data): Likewise.
46727         (ctanh_downward_test_data): Likewise.
46728         (ctanh_upward_test_data): Likewise.
46729         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46730         mpc_c_c.
46731         (func_calc_desc): Add mpc_c_c union field.
46732         (FUNC_mpc_c_c): New macro.
46733         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
46734         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
46735         ctanh.
46736         (special_fill_min_subnorm_p120): New function.
46737         (special_real_inputs): Add min_subnorm_p120.
46738         (calc_generic_results): Handle mpc_c_c.
46739         * sysdeps/i386/fpu/libm-test-ulps: Update.
46740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46742 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46744         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
46745         (do_sin_slow): New functions.
46746         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
46747         (cslow2, csloww1, csloww2): Use the new functions.
46749         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
46750         Use M to change sign of result instead of X.  Assume X is
46751         positive.
46752         (csloww1): Likewise.
46753         (__sin): Adjust.
46754         (__cos): Adjust.
46756         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
46757         arguments A and DA.
46758         (__sin): Adjust.
46759         (__cos): Likewise.
46761         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
46762         (__cos): Likewise.
46763         (sloww1): Don't adjust sign of DX.
46764         (csloww1): Likewise.
46765         (sloww2): Use X directly and don't adjust sign of DX.
46766         (csloww2): Likewise.
46768 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46770         * math/auto-libm-test-in: Add tests of cabs and carg.
46771         * math/auto-libm-test-out: Regenerated.
46772         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
46773         (carg_test_data): Likewise.
46774         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46775         mpc_c_f.
46776         (func_calc_desc): Add mpc_c_f union field.
46777         (test_functions): Add cabs and carg.
46778         (calc_generic_results): Handle mpc_c_f.
46780         * sysdeps/powerpc/powerpc32/libgcc-compat.S
46781         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
46782         as a macro and a compat symbol.
46783         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
46784         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
46785         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
46786         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
46787         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
46788         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
46789         not use .hidden.
46790         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
46791         Likewise.
46792         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
46793         Likewise.
46794         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
46795         Likewise.
46796         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
46797         Likewise.
46798         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
46799         Likewise.
46800         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
46801         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
46802         from GLIBC_2.3.2.
46804 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46808 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46810         * manual/texinfo.tex: Update to version 2013-11-26.10 with
46811         trailing whitespace removed.
46812         * scripts/config.guess: Update to version 2013-11-29.
46813         * scripts/config.sub: Update to version 2013-10-01.
46815         * math/auto-libm-test-in: Add tests of sincos.
46816         * math/auto-libm-test-out: Regenerated.
46817         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
46818         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46819         mpfr_f_11.
46820         (func_calc_desc): Add mpfr_f_11 union field.
46821         (test_functions): Add sincos.
46822         (calc_generic_results): Handle mpfr_f_11.
46823         * sysdeps/i386/fpu/libm-test-ulps: Update.
46824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46826 2013-12-19  Andreas Schwab  <schwab@suse.de>
46828         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
46829         CALL_MCOUNT.
46830         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46831         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
46832         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
46834 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46836         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
46837         * sysdeps/i386/fpu/libm-test-ulps: Update.
46838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46840         [BZ #16293]
46841         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
46842         round-to-nearest mode when using frndint.
46843         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
46844         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46845         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46846         Likewise.
46847         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
46848         sinh test to fail.
46849         * math/auto-libm-test-out: Regenerated.
46850         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
46851         (TEST_COND_x86): Likewise.
46852         (expm1_tonearest_test_data): New array.
46853         (expm1_test_tonearest): New function.
46854         (expm1_towardzero_test_data): New array.
46855         (expm1_test_towardzero): New function.
46856         (expm1_downward_test_data): New array.
46857         (expm1_test_downward): New function.
46858         (expm1_upward_test_data): New array.
46859         (expm1_test_upward): New function.
46860         (main): Run the new test functions.
46861         * sysdeps/i386/fpu/libm-test-ulps: Update.
46862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46864         * include/features.h: Update comment documenting feature test
46865         macros.  Mention _DEFAULT_SOURCE in comment.
46866         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
46867         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
46868         _BSD_SOURCE and _SVID_SOURCE.
46869         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
46870         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
46871         !_SVID_SOURCE]: Likewise.
46872         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46873         (__USE_POSIX_IMPLICITLY): Define.
46874         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46875         (_POSIX_SOURCE): Undefine and redefine.
46876         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46877         (_POSIX_C_SOURCE): Likewise.
46878         * manual/creature.texi (_DEFAULT_SOURCE): Document.
46879         (Feature Test Macros): Update documentation of default features.
46881 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46883         * benchtests/Makefile: Add bench-strtok.
46884         * benchtests/bench-strtok.c: New file: strtok benchtest.
46886 2013-12-19  Allan McRae  <allan@archlinux.org>
46888         * manual/install.texi: Suppress menu for plain text output.
46889         * INSTALL: Regenerated.
46891 2013-12-18  Brooks Moses  <bmoses@google.com>
46893         [BZ #15846]
46894         * misc/getauxval.c: Include errno.h.
46895         (__getauxval): Set errno to ENOENT if the requested type is not
46896         found.
46897         * misc/sys/auxv.h (getauxval): Document that it may set errno;
46898         don't declare with __attribute_const__.
46899         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
46900         * manual/startup.texi: Document that getauxval sets errno.
46902 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46904         * math/auto-libm-test-in: Add tests of jn and yn.
46905         * math/auto-libm-test-out: Regenerated.
46906         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
46907         (yn_test_data): Likewise.
46908         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46909         mpfr_if_f.
46910         (func_calc_desc): Add mpfr_if_f union field.
46911         (FUNC_mpfr_if_f): New macro.
46912         (test_functions): Add jn and yn.
46913         (calc_generic_results): Assert type of second input for
46914         mpfr_ff_f.  Handle mpfr_if_f.
46915         (output_for_one_input_case): Disable all checking for arguments
46916         fitting floating-point types in case of an integer argument.
46917         * sysdeps/i386/fpu/libm-test-ulps: Update.
46918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46921         Don't expect fegetround reference in libm.so.
46923 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46925         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
46926         $(config-cflags-nofma).
46928 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46930         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
46931         * math/auto-libm-test-out: Regenerated.
46933         [BZ #16338]
46934         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
46935         to determine exponent and adjust argument to have exponent of -1.
46936         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
46937         log2.
46938         * math/auto-libm-test-out: Regenerated.
46939         * sysdeps/i386/fpu/libm-test-ulps: Update.
46940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46942 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
46944         * manual/probes.texi: Remove cases when per-thread arenas are
46945         disabled.
46947 2013-12-18  Andreas Schwab  <schwab@suse.de>
46949         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46950         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46951         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46952         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46953         * sysdeps/i386/i686/multiarch/Makefile: Update.
46954         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46956 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46958         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46959         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46961 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46963         [BZ #15968]
46964         Support TZ transition times < 00:00:00.
46965         This is needed for version-3 tz-format files; it supports time
46966         stamps past 2037 for America/Godthab (the only entry in the tz
46967         database for which this change is relevant).
46968         * manual/time.texi (TZ Variable): Document transition times
46969         from -167:59:59 through -00:00:01.
46970         * time/tzset.c (tz_rule): Time of day is now signed.
46971         (__tzset_parse_tz): Parse negative time of day.
46973         Document TZ transition times >= 25:00:00.
46974         * manual/time.texi (TZ Variable): Document transition times from
46975         25:00:00 through 167:59:59.  These are already supported, and this
46976         support will help with version-3 tz-format files.
46978         * manual/time.texi (TZ Variable): Modernize North America example
46979         to reflect current (i.e., 2007-and-later) daylight saving rules.
46981         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46983 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46985         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46986         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46988         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46989         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46990         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46991         * sysdeps/unix/bsd/clock.c: Likewise.
46992         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46993         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46994         * sysdeps/unix/bsd/init-posix.c: Likewise.
46995         * sysdeps/unix/bsd/poll.c: Likewise.
46996         * sysdeps/unix/bsd/ptsname.c: Likewise.
46997         * sysdeps/unix/bsd/seekdir.c: Likewise.
46998         * sysdeps/unix/bsd/setegid.c: Likewise.
46999         * sysdeps/unix/bsd/seteuid.c: Likewise.
47000         * sysdeps/unix/bsd/setgid.c: Likewise.
47001         * sysdeps/unix/bsd/setrgid.c: Likewise.
47002         * sysdeps/unix/bsd/setruid.c: Likewise.
47003         * sysdeps/unix/bsd/setsid.c: Likewise.
47004         * sysdeps/unix/bsd/setuid.c: Likewise.
47005         * sysdeps/unix/bsd/sigaction.c: Likewise.
47006         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47007         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47008         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47009         * sysdeps/unix/bsd/telldir.c: Likewise.
47010         * sysdeps/unix/bsd/times.c: Likewise.
47011         * sysdeps/unix/bsd/usleep.c: Likewise.
47013         * misc/Makefile (install-lib): Remove libbsd-compat.a.
47014         ($(objpfx)libbsd-compat.a): Remove rule.
47016         * include/features.h (__FAVOR_BSD): Do not define.
47017         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47018         features conflicting with POSIX.
47019         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47020         (_BSD_SOURCE): Remove description of not being a subset of other
47021         feature test macros.
47022         * manual/job.texi (getpgrp): Do not document BSD version.
47023         (getpgid): Do not document by reference to BSD getpgrp.
47024         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47025         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47026         * signal/signal.h [__FAVOR_BSD]: Likewise.
47027         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47028         instead of making contents conditional on [__FAVOR_BSD].
47029         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47031 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47035 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47037         [BZ #16314]
47038         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47039         values below 2**-450, not 2**-500.
47040         * math/auto-libm-test-in: Don't allow spurious underflow from
47041         hypot.
47042         * math/auto-libm-test-out: Regenerated.
47044         [BZ #16316]
47045         [BZ #16330]
47046         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47047         values of ha and hb and sort them after adjusting subnormal
47048         arguments.
47049         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47050         Likewise.
47051         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47052         values of ea and eb and sort them after adjusting subnormal
47053         arguments.
47054         * math/auto-libm-test-in: Do not expect some hypot tests of
47055         subnormals to fail.  Add more hypot tests.
47056         * math/auto-libm-test-out: Regenerated.
47058 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47060         [BZ #13304]
47061         * sysdeps/sh/s_fma.c: New file.
47062         * sysdeps/sh/s_fmaf.c: New file.
47063         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
47064         version.
47065         * sysdeps/sh/Implies: Add sh/soft-fp.
47067 2013-12-16  Roland McGrath  <roland@hack.frob.com>
47069         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
47070         level of indirection to members `objname', `errstring', `malloced'.
47071         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47072         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
47073         it as the __longjmp argument (just pass 1 instead).
47074         (_dl_catch_error): Initialize C with argument pointers and address of
47075         volatile local ERRCODE rather than copying values out of C at return.
47077 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
47079         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47080         * math/auto-libm-test-out: Regenerated.
47081         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47082         (hypot_test_data): Likewise.
47083         (pow_test_data): Likewise.
47084         (pow_tonearest_test_data): Likewise.
47085         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47086         mpfr_ff_f.
47087         (func_calc_desc): Add mpfr_ff_f union field.
47088         (FUNC_mpfr_ff_f): New macro.
47089         (test_functions): Add atan2, hypot and pow.
47090         (special_fill_min): New function.
47091         (special_fill_minus_min): Likewise.
47092         (special_fill_min_subnorm): Likewise.
47093         (special_fill_minus_min_subnorm): Likewise.
47094         (special_real_inputs): Add min, -min, min_subnorm and
47095         -min_subnorm.
47096         (calc_generic_results): Handle mpfr_ff_f.
47097         * sysdeps/i386/fpu/libm-test-ulps: Update.
47098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47100 2013-12-16  Will Newton  <will.newton@linaro.org>
47102         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47103         (Aligned Memory Blocks): Add documentation for aligned_alloc
47104         and suggest it as an alternative to posix_memalign.
47105         (Hooks for Malloc): Document __memalign_hook is also called
47106         for aligned_alloc.  (Summary of Malloc): Add summary for
47107         aligned alloc.  Document __memalign_hook is also called
47108         for aligned_alloc.
47110 2013-12-16  Will Newton  <will.newton@linaro.org>
47112         * manual/memory.texi (Malloc Examples): Clarify default
47113         alignment documentation.  Suggest posix_memalign rather
47114         than memalign or valloc.
47115         (Aligned Memory Blocks): Remove suggestion to use memalign
47116         or valloc.  Remove obsolete comment about BSD.
47117         Document memalign errno values and mark the function obsolete.
47118         Document posix_memalign returned error codes.  Mark valloc
47119         as obsolete.  (Hooks for Malloc): __memalign_hook is also
47120         called for posix_memalign and valloc.
47121         (Summary of Malloc): Add posix_memalign to function summary.
47122         __memalign_hook is also called for posix_memalign and valloc.
47124 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47126         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47127         TAYLOR_SIN.
47128         (__sin): Adjust.
47129         (__cos): Likewise.
47130         (sloww): Use mynumber union.  Expand ternary operator into
47131         if-else statements.
47132         (cslow): use mynumber union.
47134 2013-12-16  Allan McRae  <allan@archlinux.org>
47136         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47137         * configure: Regenerated.
47139         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47141         [BZ #14120]
47142         * configure.ac: Added --enable-maintainer-mode. Check for
47143         autoconf when enabled.
47144         * configure: Regenerated.
47146         * nscd/nscd.service: New file.
47147         * nscd/nscd.tmpfiles: New file.
47149 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
47151         [BZ #12100]
47152         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47153         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47154         * sysdeps/x86_64/multiarch/strstr.c: ... here.
47155         (strstr): Add __strstr_sse2_unaligned ifunc.
47156         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47157         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47158         (strcasestr): Remove __strcasestr_sse42 ifunc.
47159         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47163 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47165         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47166         * sysdeps/sh/bits/fenv.h: ... here.
47167         * sysdeps/sh/sh4/fpu/bits: Remove directory.
47169 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47171         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47174         hypotf multiarch implementations.
47175         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47176         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47177         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47178         multiarch hypot for PPC64.
47179         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47180         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47181         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47182         multiarch hypotf for PPC64.
47184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47185         modff multiarch implementations.
47186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47189         multiarch modf for PPC64.
47190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47193         multiarch modff for PPC64.
47195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47196         and logl multiarch implementations.
47197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47200         multiarch logb for PPC64.
47201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47204         multiarch logb for PPC64.
47205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47208         multiarch logb for PPC64.
47210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47211         isinff multiarch implementation.
47212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47213         file.
47214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47216         multiarch isinf for PPC64.
47217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47218         file.
47219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47220         multiarch isinff for PPC64.
47222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47223         finitef multiarch implementation.
47224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
47225         file.
47226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
47227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
47228         multiarch finite for PPC64.
47229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
47230         file.
47231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
47232         multiarch finitef for PPC64.
47234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
47235         lrint multiarch implementation.
47236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
47237         file.
47238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
47239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
47240         multiarch llrint for PPC64.
47241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
47242         multiarch lrint for PPC64.
47244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
47245         copysignf multiarch implementation.
47246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
47247         file.
47248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
47249         file.
47250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
47251         multiarch copysign for PPC64.
47252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
47253         multiarch copysignf for PPC64.
47255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
47256         multiarch implementation.
47257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
47258         file.
47259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
47260         file.
47261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
47262         file.
47263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
47264         file.
47265         multiarch llround for PPC64.
47266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
47267         multiarch trunc for PPC64.
47268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
47269         multiarch truncf for PPC64.
47271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
47272         multiarch implementation.
47273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
47274         file.
47275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
47276         file.
47277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
47278         file.
47279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
47280         file.
47281         multiarch llround for PPC64.
47282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
47283         multiarch round for PPC64.
47284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
47285         multiarch roundf for PPC64.
47287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
47288         multiarch implementation.
47289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
47290         file.
47291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
47292         file.
47293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
47294         file.
47295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
47296         file.
47297         multiarch llround for PPC64.
47298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
47299         multiarch floor for PPC64.
47300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
47301         multiarch floorf for PPC64.
47303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
47304         multiarch implementation.
47305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
47306         file.
47307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
47308         file.
47309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
47310         file.
47311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
47312         file.
47313         multiarch llround for PPC64.
47314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
47315         multiarch ceil for PPC64.
47316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
47317         multiarch ceilf for PPC64.
47319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47320         multiarch implementation.
47321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
47322         file.
47323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
47324         file.
47325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
47326         file.
47327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
47328         multiarch llround for PPC64.
47329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
47330         multiarch lround for PPC64.
47332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47333         multiarch implementation.
47334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
47335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
47336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
47337         file.
47338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
47339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
47340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
47341         multiarch isnan for PPC64.
47342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
47343         multiarch isnanf for PPC64.
47345         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
47346         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
47347         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
47348         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
47349         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
47350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
47352         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
47353         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47355         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
47358         multiarch implementations.
47359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47360         (__libc_ifunc_impl_list): Likewise.
47361         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
47362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
47363         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
47364         multiarch stpcpy for PPC64.
47366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
47367         multiarch implementations.
47368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47369         (__libc_ifunc_impl_list): Likewise.
47370         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
47371         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
47372         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
47373         multiarch strcpy for PPC64.
47375         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
47376         redefine function name.
47377         (_wordcopy_fwd_dest_aligned): Likewise.
47378         (_wordcopy_bwd_aligned): Likewise.
47379         (_wordcopy_bwd_dest_aligned): Likewise.
47380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
47381         multiarch implementations.
47382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47383         (__libc_ifunc_impl_list): Likewise.
47384         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
47385         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
47386         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
47387         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
47388         multiarch wcscpy for PPC64.
47390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
47391         multiarch implementations.
47392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47393         (__libc_ifunc_impl_list): Likewise.
47394         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
47395         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
47396         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
47397         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
47398         multiarch wcscpy for PPC64.
47400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
47401         multiarch implementations.
47402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47403         (__libc_ifunc_impl_list): Likewise.
47404         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
47405         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
47406         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
47407         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
47408         multiarch wcsrchr for PPC64.
47410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
47411         multiarch implementations.
47412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47413         (__libc_ifunc_impl_list): Likewise.
47414         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
47415         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
47416         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
47417         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
47418         multiarch wcschr for PPC64.
47420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
47421         multiarch implementations.
47422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47423         (__libc_ifunc_impl_list): Likewise.
47424         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
47425         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
47426         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
47427         multiarch strchrnul for PPC64.
47429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
47430         implementations.
47431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47432         (__libc_ifunc_impl_list): Likewise.
47433         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
47434         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
47435         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
47436         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
47437         strchr for PPC64.
47439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
47440         implementations.
47441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47442         (__libc_ifunc_impl_list): Likewise.
47443         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
47444         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
47445         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
47446         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
47447         strncmp for PPC64.
47449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
47450         multiarch implementations.
47451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47452         (__libc_ifunc_impl_list): Likewise.
47453         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
47454         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
47455         strncasecmp for PPC64.
47456         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
47457         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
47458         multiarch strncasecmp_l for PPC64.
47460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
47461         multiarch implementations.
47462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47463         (__libc_ifunc_impl_list): Likewise.
47464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
47465         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
47466         multiarch strcasecmp for PPC64.
47467         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
47468         file.
47469         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
47470         multiarch strcasecmp_l for PPC64.
47472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
47473         implementations.
47474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47475         (__libc_ifunc_impl_list): Likewise.
47476         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
47477         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
47478         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
47479         strnlen for PPC64.
47481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
47482         implementations.
47483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47484         (__libc_ifunc_impl_list): Likewise.
47485         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
47486         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
47487         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
47488         strlen for PPC64.
47490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
47491         implementations.
47492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47493         (__libc_ifunc_impl_list): Likewise.
47494         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
47495         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
47496         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
47497         rawmemrchr for PPC64.
47499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
47500         implementation.
47501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47502         (__libc_ifunc_impl_list): Likewise.
47503         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
47504         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
47505         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
47506         memrchr for PPC64.
47508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
47509         implementation.
47510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47511         (__libc_ifunc_impl_list): Likewise.
47512         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
47513         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
47514         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
47515         memchr for PPC64.
47517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
47518         implementation.
47519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47520         (__libc_ifunc_impl_list): Likewise.
47521         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
47522         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
47523         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
47524         mempcpy for PPC64.
47526         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
47527         avoid cretion of __bzero symbol.
47528         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
47529         Likewise.
47530         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
47531         Likewise.
47532         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
47533         Likewise.
47534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
47535         multiarch implementations.
47536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47537         (__libc_ifunc_impl_list): Likewise.
47538         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
47539         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
47540         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
47541         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
47542         bzero for PPC32.
47543         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
47544         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
47545         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
47546         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
47547         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
47548         memset for PPC64.
47549         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
47551         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
47552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
47553         implementations.
47554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47555         (__libc_ifunc_impl_list): Likewise.
47556         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
47557         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
47558         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
47559         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
47560         memcmp for PPC64.
47562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
47563         multiarch for POWER/PPC64.
47564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
47565         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
47566         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
47567         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
47568         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
47569         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
47570         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
47571         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
47572         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
47573         memcpy for PPC64.
47575         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
47576         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
47577         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
47578         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
47579         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
47580         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
47581         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
47582         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
47583         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
47584         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
47585         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
47586         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
47587         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
47588         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
47589         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
47590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
47591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
47592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
47593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
47594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
47595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
47596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
47598 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47600         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
47602 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47604         * benchtests/Makefile (bench): Add exp2 and log2.
47605         (LDLIBS-bench-exp2): Add -lm.
47606         (LDLIBS-bench-log2): Likewise.
47607         * benchtests/exp2-inputs: New inputs file.
47608         * benchtests/log2-inputs: New inputs file.
47609         * benchtests/log-inputs: Add new inputs.
47610         * benchtests/tan-inputs: Likewise.
47612 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47614         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
47615         definition...
47616         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
47617         (csloww2): ... from here.
47619         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
47620         instead of structures.
47621         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
47622         (POLYNOMIAL): Likewise.
47623         (TAYLOR_SLOW): Likewise.
47624         (__sin): Likewise.
47625         (__cos): Likewise.
47626         (slow1): Likewise.
47627         (slow2): Likewise.
47628         (sloww): Likewise.
47629         (sloww1); Likewise.
47630         (sloww2): Likewise.
47631         (bsloww1): Likewise.
47632         (bsloww2): Likewise.
47633         (cslow2): Likewise.
47634         (csloww): Likewise.
47635         (csloww1): Likewise.
47636         (csloww2): Likewise.
47638 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
47640         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
47641         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
47642         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
47643         * malloc/hooks.c (realloc_check): Likewise.
47645         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
47646         * malloc/arena.c: Remove PER_THREAD conditional.
47647         [!PER_THREAD]: Remove code.
47648         (ptmalloc_unlock_all2): Likewise.
47649         (ptmalloc_init): Likewise.
47650         (_int_new_arena): Likewise.
47651         (arena_get2): Likewise.
47652         * malloc/hooks.c (__malloc_get_state): Likewise.
47653         (__malloc_set_state): Likewise.
47654         * malloc/malloc.c: Likewise.
47655         (struct malloc_state): Likewise.
47656         (struct malloc_par): Likewise.
47657         (__libc_realloc): Likewise.
47658         (__libc_mallopt): Likewise.
47660 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47662         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
47664 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
47666         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
47667         macro to a function.  Check for zero perturb_byte.
47668         (_int_malloc, _int_free): Remove zero perturb_byte checks.
47670         * malloc/malloc.c: (force_reg): Remove.
47671         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
47672         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
47673         force_reg by atomic_forced_read.
47674         * malloc/arena.c (ptmalloc_init): Likewise.
47675         * malloc/hooks.c (top_check): Likewise.
47677 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47681 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
47683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47685 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
47687         * math/auto-libm-test-in: Add tests of lgamma.
47688         * math/auto-libm-test-out: Regenerated.
47689         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
47690         (M_LOG_2_SQRT_PIl): Likewise.
47691         (lgamma_test_data): Use AUTO_TESTS_f_f1.
47692         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47693         mpfr_f_f1.
47694         (func_calc_desc): Add mpfr_f_f1 union field.
47695         (ARGS1): New macro.
47696         (ARGS2): Likewise.
47697         (ARGS3): Likewise.
47698         (ARGS4): Likewise.
47699         (RET1): Likewise.
47700         (RET2): Likewise.
47701         (CALC): Likewise.
47702         (FUNC): Likewise.
47703         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
47704         (test_functions): Add lgamma.
47705         (calc_generic_results): Handle mpfr_f_f1.
47706         * sysdeps/i386/fpu/libm-test-ulps: Update.
47707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47709 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47711         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
47712         __mpn_add_n for PowerPC64/POWER7.
47713         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
47714         __mpn_sub_n for PowerPC64/POWER7.
47716         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
47717         __mpn_addmul_1 for PowerPC64.
47718         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
47719         __mpn_submul_1 for PowerPC64.
47720         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
47721         for PowerPC64.
47722         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
47723         for PowerPC64.
47725 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
47727         [BZ #15089]
47728         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
47730 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47732         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
47734         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
47735         add multiarch folders.
47736         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
47737         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
47738         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
47739         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
47740         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
47741         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
47742         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
47743         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
47744         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
47745         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
47746         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
47747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
47748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
47749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
47750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
47751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
47752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
47754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47755         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
47756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
47757         New file.
47758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
47759         New file.
47760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
47761         multiarch __ieee754_hypot for PowerPC32.
47762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
47763         New file.
47764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
47765         New file.
47766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
47767         multiarch __ieee754_hypotf for PowerPC32.
47769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
47770         long_double_symbol only if __logbl is defined.
47771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
47772         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
47773         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
47774         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
47775         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
47776         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
47777         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
47778         path for implementation.
47779         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
47780         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
47781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
47782         logb, and logbl multiarch implementations for PowerPC32.
47783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
47784         file.
47785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
47786         file.
47787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
47788         multiarch logb for PowerPC32.
47789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
47790         file.
47791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
47792         file.
47793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
47794         multiarch logbf for PowerPC32.
47795         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
47796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
47797         file.
47798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
47799         multiarch logbl implementation for PowerPC32.
47801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
47802         and modff multiarch implementations.
47803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
47804         New file.
47805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
47806         New file.
47807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
47808         multiarch modf for PowerPC32.
47809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
47810         New file.
47811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
47812         New file.
47813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
47814         multiarch modff for PowerPC32.
47816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
47817         and lrintf multiarch implementations.
47818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
47819         New file.
47820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
47821         New file.
47822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
47823         multiarch lrint for PowerPC32.
47824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
47825         file: multiarch lrintf for PowerPC32.
47827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
47828         and lroundf multiarch implementations.
47829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
47830         New file.
47831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
47832         New file.
47833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
47834         New file.
47835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
47836         multiarch lround for PowerPC32.
47837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
47838         file: multiarch lroundf for PowerPC32.
47840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47841         copysign and copysignf multiarch implementations.
47842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
47843         New file.
47844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
47845         New file.
47846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
47847         file: multiarch copysign for PowerPC32.
47848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
47849         file: multiarch copysignf for PowerPC32.
47851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
47852         and truncf multiarch implementations.
47853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
47854         New file.
47855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
47856         file.
47857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
47858         multiarch trunc for PowerPC32.
47859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
47860         New file.
47861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
47862         New file.
47863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
47864         multiarch truncf for PowerPC32.
47866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
47867         and roundf multiarch implementations.
47868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
47869         New file.
47870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
47871         file.
47872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
47873         multiarch round for PowerPC32.
47874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
47875         New file.
47876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
47877         New file.
47878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
47879         multiarch roundf for PowerPC32.
47881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
47882         and floorf multiarch implementations.
47883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
47884         New file.
47885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
47886         file.
47887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
47888         multiarch floor for PowerPC32.
47889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
47890         New file.
47891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
47892         New file.
47893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
47894         multiarch floorf for PowerPC32.
47896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
47897         and ceilf multiarch implementations.
47898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
47899         New file.
47900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
47901         file.
47902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
47903         multiarch ceil for PowerPC32.
47904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
47905         New file.
47906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
47907         file.
47908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
47909         multiarch ceilf for PowerPC32.
47911         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
47912         is defined.
47913         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
47914         FINITEF is defined.
47915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
47916         and finitef multiarch implementations.
47917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
47918         New file.
47919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
47920         file.
47921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
47922         multiarch finite for PowerPC32.
47923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
47924         New file.
47925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
47926         file: multiarch finitef for PowerPC32.
47928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
47929         and isinff multiarch implementations.
47930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
47931         file.
47932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
47933         file.
47934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
47935         multiarch isinf for PowerPC32.
47936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
47937         New file.
47938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
47939         multiarch isinff for PowerPC32.
47941         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47942         alias when __isnan is defined.
47943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47944         and isnanf multiarch implementations.
47945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47946         file.
47947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47948         file.
47949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47950         file.
47951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47952         file.
47953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47954         multiarch isnan for PowerPC32.
47955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47956         New file.
47957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47958         New file.
47959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47960         multiarch isnanf for PowerPC32.
47962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47963         and sqrtf multiarch implementations.
47964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47965         file.
47966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47967         file.
47968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47969         multiarch sqrt for PowerPC32.
47970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47971         file.
47972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47973         file.
47974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47975         multiarch sqrtf for PowerPC32.
47977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47978         and llroundf multiarch implementations.
47979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47980         New file.
47981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47982         New file.
47983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47984         New file.
47985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47986         file: multiarch llround for PowerPC32.
47987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47988         file: multiarch llroundf for PowerPC32.
47990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47991         multiarch PowerPC32 fpu implementations.
47992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47993         New file.
47994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47995         New file.
47996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47997         multiarch llrint for PowerPC32.
47998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47999         New file.
48000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48001         New file.
48002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48003         file.
48005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48007         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48008         file.
48009         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48010         file.
48011         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48012         file.
48013         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48014         multiarch wordcopy for PPC32.
48015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48016         wordcopy objects.
48017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48018         (__libc_ifunc_impl_list): Likewise.
48019         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48020         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48021         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48022         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48023         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48024         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48026         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48028         file.
48029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48030         file.
48031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48032         file.
48033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48034         multiarch wcscpy for PPC32.
48035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48036         multiarch objects.
48037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48038         (__libc_ifunc_impl_list): Likewise.
48039         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48040         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48041         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48042         sysdeps/powerpc/power6/wcscpy.c.
48044         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48046         file.
48047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48048         file.
48049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48050         file.
48051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48052         multiarch wcsrchr for PPC32.
48053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48054         multiarch objects.
48055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48056         (__libc_ifunc_impl_list): Likewise.
48057         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48058         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48059         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48060         sysdeps/powerpc/power6/wcsrchr.c.
48062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48063         file.
48064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48065         file.
48066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48068         multiarch wcschr for PPc32.
48069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48070         multiarch objects.
48071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48072         (__libc_ifunc_impl_list): Likewise.
48073         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48074         * sysdeps/powerpc/power6/wcschr.c: ... to here.
48075         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48076         sysdeps/powerpc/power6/wcschr.c.
48078         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48079         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48080         file.
48081         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48082         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48083         file: multiarch strchr for PPC32.
48084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48085         multiarch objects.
48086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48087         (__libc_ifunc_impl_list): Likewise.
48089         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48090         name.
48091         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48092         file.
48093         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48094         file.
48095         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48096         multiarch strchrnul for PPC32.
48097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48098         multiarch objects.
48099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48100         (__libc_ifunc_impl_list): Likewise.
48102         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48103         file.
48104         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48105         multiarch strncasecmp for PPC32.
48106         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48107         file.
48108         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48109         multiarch strncasecmp_l for PPC32.
48110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48111         strncasecmp multiarch objects.
48112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48113         (__libc_ifunc_impl_list): Likewise.
48115         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48116         file.
48117         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48118         multiarch strncasecmp for PPC32.
48119         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48120         New file.
48121         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48122         multiarch strcasecmp_l for PPC32.
48123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48124         multiarch objects.
48125         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48126         (__libc_ifunc_impl_list): Likewise.
48128         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48129         file.
48130         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48131         file.
48132         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48133         multiarch strncmp for PPC32.
48134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48135         multiarch objects.
48136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48137         (__libc_ifunc_impl_list): Likewise.
48139         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48140         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48141         file.
48142         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48143         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48145         multiarch objects.
48146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48147         (__libc_ifunc_impl_list): Likewise.
48149         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48150         file.
48151         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48152         file.
48153         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48155         multiarch objects.
48156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48157         (__libc_ifunc_impl_list): Likewise.
48159         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48160         file.
48161         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48162         file.
48163         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48164         multiarch rawmemchr for PPC32.
48165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48166         multiarch objects.
48167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48168         (__libc_ifunc_impl_list): Likewise.
48170         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48171         file.
48172         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48173         file.
48174         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48175         file: memrchr multiarch for PPC32.
48176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48177         multiarch objects.
48178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48179         (__libc_ifunc_impl_list): Likewise.
48181         * string/memchr.c (__memchr): Using macro to redefine symbol name.
48182         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48183         file.
48184         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48185         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48186         multiarch memchr for PPC32.
48187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48188         multiarch objects.
48189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48190         (__libc_ifunc_impl_list): Likewise.
48192         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48193         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48194         file.
48195         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48196         file.
48197         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48198         file: multiarch mempcpy for PPC32.
48199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48200         multiarch objects.
48201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48202         (__libc_ifunc_impl_list): Likewise.
48204         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48205         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48206         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48207         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48208         multiarch bzero for PPC32.
48209         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48210         file.
48211         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48212         file.
48213         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48214         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48215         file: multiarch memset for PPC32.
48216         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48218         memset multiarch objects.
48219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48220         (__libc_ifunc_impl_list): Likewise.
48222         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48223         file.
48224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
48225         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
48226         memcmp for PPC32.
48227         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
48228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
48229         multiarch objects.
48230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48231         (__libc_ifunc_impl_list): Likewise.
48233         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
48234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
48235         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
48236         file.
48237         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
48238         file.
48239         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
48240         file.
48241         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
48242         multiarch memcpy for PPC32.
48243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
48244         multiarch objects.
48245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48246         (__libc_ifunc_impl_list): Likewise.
48248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
48249         support multiarch for POWER/PPC32.
48250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
48251         Likewise.
48252         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
48253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
48254         Implies file to make multiarch folder appers before the fpu and
48255         default folder for power4 configuration.
48257 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48259         * scripts/bench.pl: Append volatile keyword to type.
48261 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48263         * sysdeps/sh/sotruss-lib.c: New file.
48264         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
48266 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48270 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
48272         [BZ #6810]
48273         * math/w_tgamma.c: Include <errno.h>.
48274         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
48275         * math/w_tgammaf.c: Include <errno.h>.
48276         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
48277         * math/w_tgammal.c: Include <errno.h>.
48278         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
48279         * math/auto-libm-test-in: Do not allow missing errno on tgamma
48280         underflow.  Add more tgamma tests.
48281         * math/auto-libm-test-out: Regenerated.
48282         * sysdeps/i386/fpu/libm-test-ulps: Update.
48283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48285         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
48286         sin, sinh, tan, tanh, tgamma, y0 and y1.
48287         * math/auto-libm-test-out: Regenerated.
48288         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48289         (TEST_COND_x86): Likewise.
48290         (M_E2l): Remove macro.
48291         (M_E3l): Likewise.
48292         (M_2_SQRT_PIl): Likewise.
48293         (M_SQRT_PIl): Likewise.
48294         (M_1_DIV_El): Likewise.
48295         (log_test_data): Use AUTO_TESTS_f_f.
48296         (log10_test_data): Likewise.
48297         (log1p_test_data): Likewise.
48298         (log2_test_data): Likewise.
48299         (sin_test_data): Likewise.
48300         (sin_tonearest_test_data): Likewise.
48301         (sin_towardzero_test_data): Likewise.
48302         (sin_downward_test_data): Likewise.
48303         (sin_upward_test_data): Likewise.
48304         (sinh_test_data): Likewise.
48305         (sinh_tonearest_test_data): Likewise.
48306         (sinh_towardzero_test_data): Likewise.
48307         (sinh_downward_test_data): Likewise.
48308         (sinh_upward_test_data): Likewise.
48309         (tan_test_data): Likewise.
48310         (tan_tonearest_test_data): Likewise.
48311         (tan_towardzero_test_data): Likewise.
48312         (tan_downward_test_data): Likewise.
48313         (tan_upward_test_data): Likewise.
48314         (tanh_test_data): Likewise.
48315         (tgamma_test_data): Likewise.
48316         (y0_test_data): Likewise.
48317         (y1_test_data): Likewise.
48318         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
48319         (special_real_inputs): Add pi/4.
48320         * sysdeps/i386/fpu/libm-test-ulps: Update.
48321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48323 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48325         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
48326         "longjmp_target" static probes.
48327         (__longjmp): Rename to __longjmp_symbol.
48328         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48329         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
48330         on which longjmp to generate.
48331         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48332         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
48333         probe.
48334         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48335         (__sigjmp_save): Rename to __sigjmp_save_symbol.
48336         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
48337         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
48338         and __sigjmp_save_symbol based on which sigsetjmp to generated.
48339         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
48341         __longjmp_symbol based on which __longjmp to generate.
48342         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
48343         probe.
48344         (setjmp): Rename to setjmp_symbol.
48345         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48346         (_setjmp): Rename to _setjmp_symbol.
48347         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48348         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
48349         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
48350         which setjmp to generate.
48351         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
48352         "longjmp_target" static probes.
48354 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48356         * benchtests/README: Add note about output arguments.
48357         * benchtests/bench-sincos.c: Remove file.
48358         * benchtests/sincos-inputs: New file.
48359         * scripts/bench.pl: Identify output arguments and define
48360         static variables for them.
48362         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
48364         [BZ #15941]
48365         * Makefile (INSTALL): Add install-plain.texi as the primary
48366         dependency.
48367         * manual/install-plain.texi: New file.
48368         * manual/install.texi: Include node directive only for
48369         non-plaintext output.
48371 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
48373         * stdlib/longlong.h: Update from GCC.
48375         [BZ #6807]
48376         [BZ #15901]
48377         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
48378         * math/w_j0f.c (y0f): Likewise.
48379         * math/w_j0l.c (__y0l): Likewise.
48380         * math/w_j1.c (y1): Likewise.
48381         * math/w_j1f.c (y1f): Likewise.
48382         * math/w_j1l.c (__y1l): Likewise.
48383         * math/w_jn.c (yn): Likewise.
48384         * math/w_jnf.c (ynf): Likewise.
48385         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
48386         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
48387         value for Bessel function domain errors outside _SVID_ mode.
48388         Adjust sign of return value for yn (negative integer, 0).
48389         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
48390         by zero in return for negative x and set sign appropriately for
48391         negative n.
48392         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
48393         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48394         * math/libm-test.inc (y0_test_data): Add more tests and adjust
48395         expectations in error cases.
48396         (y1_test_data): Likewise.
48397         (yn_test_data): Likewise.
48398         * sysdeps/i386/fpu/libm-test-ulps: Update.
48399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48401 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48403         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
48404         "64" to "64-v1".  Add "64-v2".
48405         (abi-64-options): Rename to ...
48406         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
48407         (abi-64-condition): Rename to ...
48408         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
48409         (abi-64-ld-soname): Rename to ...
48410         (abi-64-v1-ld-soname): ... this.
48411         (abi-64-v2-options): Define.
48412         (abi-64-v2-condition): Likewise.
48413         (abi-64-v2-ld-soname): Likewise.
48414         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
48415         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
48416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
48417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
48418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
48420 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48421             Alan Modra  <amodra@gmail.com>
48423         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
48424         New versions for use with the ELFv2 ABI.
48425         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
48426         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
48427         declaration.
48428         (struct La_ppc64v2_retval): Likewise.
48429         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
48430         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
48431         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
48432         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
48433         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
48434         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48435         Do not save or restore CR.
48436         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
48437         (_dl_profile_resolve): Do no save or restore CR.  Support extended
48438         return values for ELFv2 ABI.  Fix location of FPR return registers.
48439         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
48440         updated values for _CALL_ELF == 2.
48441         (La_regs, La_retval, int_retval): Likewise.
48443 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48445         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
48446         (FRAME_MIN_SIZE_PARM): Likewise.
48447         (FRAME_BACKCHAIN): Likewise.
48448         (FRAME_CR_SAVE): Likewise.
48449         (FRAME_LR_SAVE): Likewise.
48450         (FRAME_TOC_SAVE): Likewise.
48451         (FRAME_PARM_SAVE): Likewise.
48452         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
48453         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
48454         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
48455         (call_mcount_parm_offset): New macro.
48456         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
48457         (PROF): Use symbolic stack frame offsets.
48458         (TAIL_CALL_SYSCALL_ERROR): Likewise.
48459         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
48460         Redefine in terms of FRAME_MIN_SIZE.
48461         (_dl_runtime_resolve): Use symbolic stack frame offsets.
48462         (_dl_profile_resolve): Likewise.  Update comment.
48463         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
48464         symbols stack frame offsets.
48465         (__sigsetjmp): Likewise.
48466         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
48467         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
48468         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
48469         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
48471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
48472         (FRAME_BACKCHAIN): Remove.
48473         (FRAME_CR_SAVE): Likewise.
48474         (FRAME_LR_SAVE): Likewise.
48475         (FRAME_COMPILER_DW): Likewise.
48476         (FRAME_LINKER_DW): Likewise.
48477         (FRAME_TOC_SAVE): Likewise.
48478         (FRAME_PARM_SAVE): Likewise.
48479         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
48480         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
48481         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
48482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
48483         (CHECK_SP): Use symbolic stack frame offsets.
48484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
48485         zone" instead of caller's parameter save area for temp storage.
48486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48487         Likewise.  Also, use symbolic stack frame offsets.
48488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
48489         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
48490         our own stack frame instead of the caller's.
48491         (__socket): Use symbolic stack frame offsets.
48493 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48494             Alan Modra  <amodra@gmail.com>
48496         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
48497         Define.
48498         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
48499         (PPC64_LOCAL_ENTRY_OFFSET): Define.
48500         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
48501         New function.
48502         (elf_machine_fixup_plt): Call it.
48503         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
48504         reloc arguments.
48505         (elf_machine_rela): Update call to elf_machine_plt_conflict.
48506         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
48507         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
48508         r2 before calling target.
48510 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48511             Alan Modra  <amodra@gmail.com>
48513         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
48514         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
48515         versions of macros to support ELFv2 ABI.
48516         (LOCALENTRY): New macro.
48517         (ENTRY, EALIGN): Use it.
48518         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
48519         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
48520         fall through into ENTRY entry point.
48521         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
48522         Only define if _CALL_ELF != 2.
48524         (elf_machine_matches_host): Verify ABI version matches.
48525         (RTLD_START): Use LOCALENTRY.
48526         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
48527         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
48528         (PLT_ENTRY_WORDS): New macro.
48529         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
48530         (elf_machine_runtime_setup): Support ELFv2 ABI.
48531         (elf_machine_fixup_plt): Likewise.
48532         (elf_machine_plt_conflict): Likewise.
48533         (resolve_ifunc): Likewise.
48534         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48535         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48536         Likewise.
48537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
48538         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
48539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48540         (makecontext): Support ELFv2 ABI.
48541         * elf/elf.h (EF_PPC64_ABI): Define.
48543 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48545         * sysdeps/powerpc/powerpc64/sysdep.h
48546         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
48547         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
48548         (ENTRY) [ASSEMBLER]: ... but instead here ...
48549         (EALIGN) [ASSEMBLER]: ... and here.
48550         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
48551         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
48552         (ENTRY_2) [!ASSEMBLER]: Use it.
48553         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
48554         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
48555         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
48556         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
48557         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
48558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
48559         Use PPC64_LOAD_FUNCPTR.
48561         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
48563 2013-12-04  Alan Modra  <amodra@gmail.com>
48565         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
48566         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
48567         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
48568         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
48570         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
48571         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
48572         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
48573         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
48574         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
48575         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
48577 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48580         (__makecontext): Fix incorrect CFI when backtracing out of
48581         context created via makecontext.
48582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
48583         (__setcontext): Fix incorrect CFI during switch to new context.
48584         (__novec_setcontext): Likewise.
48586 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
48588         [BZ #4772]
48589         * time/strptime_l.c (__strptime_internal): Allow modifiers
48590         in strptime.
48591         * time/tst-strptime.c (day_tests): Add testcase.
48593 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48595         * scripts/bench.pl: Skip over blank lines.
48597 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
48599         [BZ #926]
48600         * manual/time.texi (Calendar Time): Clarify what timezone functions
48601         use.
48603 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48607 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
48609         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
48610         implementation.
48611         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
48612         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
48613         * debug/memset_chk.c (__memset_chk): Likewise.
48614         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
48615         * debug/strncpy_chk.c: Likewise.
48617 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
48619         [BZ #15268]
48620         [BZ #15425]
48621         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
48622         (__ieee754_exp): For possibly underflowing results, check size of
48623         result and force underflow exception if required.
48624         * math/auto-libm-test-in: Add more tests of exp.
48625         * math/auto-libm-test-out: Regenerated.
48626         * sysdeps/i386/fpu/libm-test-ulps: Update.
48627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48629         [BZ #16283]
48630         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
48631         * math/w_exp2f.c (__exp2f): Likewise.
48632         * math/w_exp2l.c (__exp2l): Likewise.
48633         * math/auto-libm-test-in: Do not allow missing errno on exp2
48634         underflow.
48635         * math/auto-libm-test-out: Regenerated.
48637 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
48639         [BZ #16274]
48640         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
48641         handle filename validation.
48642         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
48643         (do_open): Delete.
48645 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
48647         [BZ #6786]
48648         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
48649         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
48650         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
48651         <float.h>.
48652         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
48653         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
48654         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48655         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
48656         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48657         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
48658         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48659         * math/auto-libm-test-in: Don't allow missing errno from erfc.
48660         Add more erfc tests.
48661         * math/auto-libm-test-out: Regenerated.
48662         * sysdeps/i386/fpu/libm-test-ulps: Update.
48663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48665         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
48666         exp2, expm1, j0 and j1.
48667         * math/auto-libm-test-out: Regenerated.
48668         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
48669         (erfc_test_data): Likewise.
48670         (exp_test_data): Likewise.
48671         (exp_tonearest_test_data): Likewise.
48672         (exp_towardzero_test_data): Likewise.
48673         (exp_downward_test_data): Likewise.
48674         (exp_upward_test_data): Likewise.
48675         (exp10_test_data): Likewise.
48676         (exp2_test_data): Likewise.
48677         (expm1_test_data): Likewise.
48678         (j0_test_data): Likewise.
48679         (j1_test_data): Likewise.
48680         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
48681         (input_flag_type): Add flag_xfail_rounding.
48682         (input_flags): Add xfail-rounding.
48683         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
48684         (output_for_one_input_case): Handle flag_xfail_rounding.
48685         * sysdeps/i386/fpu/libm-test-ulps: Update.
48686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48688 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
48690         [BZ #16289]
48691         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
48692         division by 0.
48694 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48696         [BZ #16195]
48697         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
48698         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
48699         (STAP_PROBE0): New macro.
48700         (STAP_PROBE1): Likewise.
48701         (STAP_PROBE2): Likewise.
48702         (STAP_PROBE3): Likewise.
48703         (STAP_PROBE4): Likewise.
48705 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
48707         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
48709 2013-12-02  Steve Ellcey  <sellcey@mips.com>
48711         * benchtests/Makefile (bench): Add sqrt.
48712         (LDLIBS-bench-sqrt): New.
48713         * benchtests/sqrt-input: New.
48715 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
48717         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
48718         (GAIH_EAI): Likewise.
48719         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
48720         (gaih_inet): Likewise.
48721         (getaddrinfo): Don't use GAIH_EAI.
48723         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
48724         (struct gaih): Remove definition.
48726 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48728         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
48729         Use HERRNOP directly.
48731 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48735 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
48737         * math/gen-auto-libm-tests.c (test_functions): Add more
48738         single-argument functions.
48739         (special_fill_pi_2): New function.
48740         (special_fill_minus_pi_2): Likewise.
48741         (special_fill_pi_6): Likewise.
48742         (special_fill_minus_pi_6): Likewise.
48743         (special_fill_pi_3): Likewise.
48744         (special_fill_2pi_3): Likewise.
48745         (special_fill_e): Likewise.
48746         (special_fill_1_e): Likewise.
48747         (special_fill_e_minus_1): Likewise.
48748         (special_real_inputs): Add more special inputs.
48749         (output_for_one_input_case): Do not require ERANGE on underflow to
48750         zero if round-to-nearest result does not underflow to zero, unless
48751         exact results required.
48752         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
48753         atan, atanh, cbrt, cos and cosh.
48754         * math/auto-libm-test-out: Regenerated.
48755         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
48756         (acos_tonearest_test_data): Likewise.
48757         (acos_towardzero_test_data): Likewise.
48758         (acos_downward_test_data): Likewise.
48759         (acos_upward_test_data): Likewise.
48760         (acosh_test_data): Likewise.
48761         (asin_test_data): Likewise.
48762         (asin_tonearest_test_data): Likewise.
48763         (asin_towardzero_test_data): Likewise.
48764         (asin_upward_test_data): Likewise.
48765         (asinh_test_data): Likewise.
48766         (atan_test_data): Likewise.
48767         (atanh_test_data): Likewise.
48768         (cbrt_test_data): Likewise.
48769         (cos_test_data): Likewise.
48770         (cos_tonearest_test_data): Likewise.
48771         (cos_towardzero_test_data): Likewise.
48772         (cos_downward_test_data): Likewise.
48773         (cos_upward_test_data): Likewise.
48774         (cosh_test_data): Likewise.
48775         (cosh_tonearest_test_data): Likewise.
48776         (cosh_towardzero_test_data): Likewise.
48777         (cosh_downward_test_data): Likewise.
48778         (cosh_upward_test_data): Likewise.
48779         * sysdeps/i386/fpu/libm-test-ulps: Update.
48780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48782 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
48784         [BZ #6787]
48785         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
48786         * math/w_exp10f.c (__exp10f): Likewise.
48787         * math/w_exp10l.c (__exp10l): Likewise.
48788         * math/libm-test.inc (exp10_test_data): Add more tests and expect
48789         errno settings in existing tests.
48791         [BZ #14032]
48792         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
48793         precision control set to double precision.
48794         * sysdeps/i386/fpu/w_sqrt.c: New file.
48795         * math/auto-libm-test-in: Add more tests.
48796         * math/auto-libm-test-out: Update.
48798         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
48799         (sqrt_test_tonearest): New function.
48800         (sqrt_towardzero_test_data): New variable.
48801         (sqrt_test_towardzero): New function.
48802         (sqrt_downward_test_data): New variable.
48803         (sqrt_test_downward): New function.
48804         (sqrt_upward_test_data): New variable.
48805         (sqrt_test_upward): New function.
48806         (main): Call the new functions.
48808         * math/gen-auto-libm-tests.c: New file.
48809         * math/auto-libm-test-in: Likewise.
48810         * math/auto-libm-test-out: New generated file.
48811         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
48812         variables.
48813         (%beautify): Add generated representations of zero.
48814         (top level): Set $auto_input and call parse_auto_input.
48815         (beautify): Remove trailing "f" from hex float constants.
48816         (parse_args): Handle XFAIL_TEST.
48817         (convert_condition): New function.
48818         (or_value): Likewise.
48819         (or_cond_value): Likewise.
48820         (generate_testfile): Handle AUTO_TESTS_* lines.
48821         (parse_auto_input): New function.
48822         * math/libm-test.inc (XFAIL_TEST): New macro.
48823         (ERRNO_UNCHANGED): Update value.
48824         (ERRNO_EDOM): Likewise.
48825         (ERRNO_ERANGE): Likewise.
48826         (IGNORE_RESULT): Likewise.
48827         (TEST_COND_flt_32): New macro.
48828         (TEST_COND_dbl_64): Likewise.
48829         (TEST_COND_ldbl_96_intel): Likewise.
48830         (TEST_COND_ldbl_96_m68k): Likewise.
48831         (TEST_COND_ldbl_128): Likewise.
48832         (TEST_COND_ldbl_128ibm): Likewise.
48833         (TEST_COND_long32): Likewise.
48834         (TEST_COND_long64): Likewise.
48835         (TEST_COND_before_rounding): Likewise.
48836         (TEST_COND_after_rounding): Likewise.
48837         (enable_test): Handle XFAIL_TEST flag.
48838         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
48839         with finite results.
48840         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
48841         auto-libm-test-out.
48843 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48844             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48846         [BZ #16214]
48847         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
48848         __tls_get_addr_internal instead of __tls_get_offset in order to
48849         avoid GOT pointer dependency.  Make rtld export
48850         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
48851         __tls_get_addr since we are a __tls_get_offset platform.
48852         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
48853         GOT pointer being set up before.
48854         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
48856 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
48858         * manual/math.texi (Errors in Math Functions): Document accuracy
48859         goals.
48861         [BZ #15004]
48862         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
48863         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
48864         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48865         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48866         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48867         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48868         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48869         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48870         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48871         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48872         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48873         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48874         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48875         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48876         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48877         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48879         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
48880         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
48881         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
48882         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
48883         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
48884         Likewise.
48885         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
48886         Likewise.
48887         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
48888         Likewise.
48889         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
48890         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
48891         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
48892         atomic-feupdateenv and flt-rounds.
48893         * sysdeps/powerpc/nofpu/Versions (libc): Add
48894         __atomic_feholdexcept, __atomic_feclearexcept,
48895         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
48896         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
48897         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
48898         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
48899         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
48900         here.
48901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48902         Update.
48904         * manual/arith.texi (FP Exceptions): Document that exceptions may
48905         not be raised when matherr is used.
48906         (Math Error Reporting): Document overflow in directed rounding
48907         modes.  Document that errno may not be set when finite values are
48908         returned on overflow.  Document intent to set errno on underflow
48909         only for underflow to zero.
48911         [BZ #16271]
48912         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
48913         round-to-nearest then adjust result for other rounding modes.
48914         * include/fenv.h (fegetround): Use libm_hidden_proto.
48915         * math/fegetround.c (fegetround): Use libm_hidden_def.
48916         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
48917         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
48918         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48919         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
48920         Likewise.
48921         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
48922         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48923         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
48924         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
48926 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48928         [BZ #16077]
48929         * nss/Versions (libnss_files): Add
48930         _nss_files_gethostbyname3_r.
48931         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
48932         New function.
48933         (HOST_DB_LOOKUP): Remove macro.
48934         (_nss_files_gethostbyname_r): Implement function without the
48935         HOST_DB_LOOKUP macro.
48936         (_nss_files_gethostbyname2_r): Likewise.
48938 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
48940         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48942 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
48944         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48945         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48946         warning.
48948 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48950         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48951         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48952         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48953         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48954         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48955         __fe_nomask_env_priv and attribute_hidden.
48956         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48957         (libc_feupdateenv_test_ppc): Likewise.
48958         (libc_feresetround_ppc): Likewise.
48959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48960         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48961         compat_symbol macro.
48962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48963         (__fe_nomask_env): Likewise.
48964         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48966 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48968         * string/Makefile: Remove ifunc tests.
48969         * string/test-string.h: Define TEST_IFUNC.
48970         * string/test-bcopy-ifunc.c: Remove.
48971         * string/test-bzero-ifunc.c: Likewise.
48972         * string/test-memccpy-ifunc.c: Likewise.
48973         * string/test-memchr-ifunc.c: Likewise.
48974         * string/test-memcmp-ifunc.c: Likewise.
48975         * string/test-memcpy-ifunc.c: Likewise.
48976         * string/test-memmem-ifunc.c: Likewise.
48977         * string/test-memmove-ifunc.c: Likewise.
48978         * string/test-mempcpy-ifunc.c: Likewise.
48979         * string/test-memrchr-ifunc.c: Likewise.
48980         * string/test-memset-ifunc.c: Likewise.
48981         * string/test-rawmemchr-ifunc.c: Likewise.
48982         * string/test-stpcpy-ifunc.c: Likewise.
48983         * string/test-stpncpy-ifunc.c: Likewise.
48984         * string/test-strcasecmp-ifunc.c: Likewise.
48985         * string/test-strcasestr-ifunc.c: Likewise.
48986         * string/test-strcat-ifunc.c: Likewise.
48987         * string/test-strchr-ifunc.c: Likewise.
48988         * string/test-strchrnul-ifunc.c: Likewise.
48989         * string/test-strcmp-ifunc.c: Likewise.
48990         * string/test-strcpy-ifunc.c: Likewise.
48991         * string/test-strcspn-ifunc.c: Likewise.
48992         * string/test-strlen-ifunc.c: Likewise.
48993         * string/test-strncasecmp-ifunc.c: Likewise.
48994         * string/test-strncat-ifunc.c: Likewise.
48995         * string/test-strncmp-ifunc.c: Likewise.
48996         * string/test-strncpy-ifunc.c: Likewise.
48997         * string/test-strnlen-ifunc.c: Likewise.
48998         * string/test-strpbrk-ifunc.c: Likewise.
48999         * string/test-strrchr-ifunc.c: Likewise.
49000         * string/test-strspn-ifunc.c: Likewise.
49001         * string/test-strstr-ifunc.c: Likewise.
49003 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49005         * benchtests/Makefile: Remove ifunc tests.
49006         * benchtests/bench-string.h: Define TEST_IFUNC.
49007         * benchtests/bench-bcopy-ifunc.c: Remove.
49008         * benchtests/bench-bzero-ifunc.c: Likewise.
49009         * benchtests/bench-memccpy-ifunc.c: Likewise.
49010         * benchtests/bench-memchr-ifunc.c: Likewise.
49011         * benchtests/bench-memcmp-ifunc.c: Likewise.
49012         * benchtests/bench-memcpy-ifunc.c: Likewise.
49013         * benchtests/bench-memmem-ifunc.c: Likewise.
49014         * benchtests/bench-memmove-ifunc.c: Likewise.
49015         * benchtests/bench-mempcpy-ifunc.c: Likewise.
49016         * benchtests/bench-memrchr-ifunc.c: Likewise.
49017         * benchtests/bench-memset-ifunc.c: Likewise.
49018         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49019         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49020         * benchtests/bench-stpcpy-ifunc.c: Likewise.
49021         * benchtests/bench-stpncpy-ifunc.c: Likewise.
49022         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49023         * benchtests/bench-strcasestr-ifunc.c: Likewise.
49024         * benchtests/bench-strcat-ifunc.c: Likewise.
49025         * benchtests/bench-strchr-ifunc.c: Likewise.
49026         * benchtests/bench-strchrnul-ifunc.c: Likewise.
49027         * benchtests/bench-strcmp-ifunc.c: Likewise.
49028         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49029         * benchtests/bench-strcpy-ifunc.c: Likewise.
49030         * benchtests/bench-strcspn-ifunc.c: Likewise.
49031         * benchtests/bench-strlen-ifunc.c: Likewise.
49032         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49033         * benchtests/bench-strncat-ifunc.c: Likewise.
49034         * benchtests/bench-strncmp-ifunc.c: Likewise.
49035         * benchtests/bench-strncpy-ifunc.c: Likewise.
49036         * benchtests/bench-strnlen-ifunc.c: Likewise.
49037         * benchtests/bench-strpbrk-ifunc.c: Likewise.
49038         * benchtests/bench-strrchr-ifunc.c: Likewise.
49039         * benchtests/bench-strsep-ifunc.c: Likewise.
49040         * benchtests/bench-strspn-ifunc.c: Likewise.
49041         * benchtests/bench-strstr-ifunc.c: Likewise.
49043 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49045         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49047 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49049         * resolv/netdb.h: Use __glibc_reserved instead __unused.
49050         * rt/aio.h: Likewise.
49051         * sysdeps/gnu/bits/utmp.h: Likewise.
49052         * sysdeps/gnu/bits/utmpx.h: Likewise.
49053         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49054         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49055         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49056         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49057         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49058         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49059         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49060         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49061         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49062         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49063         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49064         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49065         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49067         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49068         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49069         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49070         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49071         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49072         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49073         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49074         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49075         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49076         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49077         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49078         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49079         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49080         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49081         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49082         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49083         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49084         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49085         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49086         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49087         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49088         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49089         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49090         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49091         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49092         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49093         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49094         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49096 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
49098         [BZ #16245]
49099         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49100         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49102 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
49104         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49105         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49106         Likewise.
49108 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49110         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49111         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49112         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49113         (__fesetround): Remove define.
49114         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49115         rounding and exceptions handling.
49116         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49117         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49118         (__fe_nomask_env): Likewise.
49119         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49120         __fegetround instead of fegetround.
49121         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49122         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49124 2013-11-21  Roland McGrath  <roland@hack.frob.com>
49126         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49127         it's there.
49129         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49131 2013-11-21  Meador Inge  <meadori@codesourcery.com>
49133         [BZ #11157]
49134         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49135         (encrypt_r): Likewise.
49136         * malloc/obstack.h (obstack_free): Likewise.
49137         * posix/unistd.h (encrypt): Likewise.
49139 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
49141         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49142         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49143         DL_CALL_DT_FINI() that call the functions directly.
49144         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49145         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49146         * elf/dl-fini.c: Likewise.
49148 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
49150         * malloc/hooks.c (memalign_check): Add alignment rounding.
49151         * malloc/malloc.c (_mid_memalign): New function.
49152         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49153         Implement by calling _mid_memalign.
49154         * manual/probes.texi (Memory Allocation Probes): Remove
49155         memory_valloc_retry and memory_pvalloc_retry.
49157 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49159         * locale/programs/locarchive.c (open_archive): Add const
49160         qualifier to ARCHIVEFNAME and copy default fname to
49161         DEFAULT_FNAME.
49163         [BZ #15601]
49164         * libio/tst-widetext.input: Rename Oriya to Odia.
49165         * locale/iso-639.def: Likewise.
49167         * manual/probes.texi (Mathematical Function Probes): Add
49168         documentation for sin, cos, asin and acos probes.
49169         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49170         (__sin32): Add slowasin probe.
49171         (__cos32): Add slowacos probe.
49172         (__mpsin): Add slowsin probe.
49173         (__mpcos): Add slowcos probe.
49175 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
49177         [BZ #15483]
49178         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49179         thread-local __sim_exceptions_thread and global
49180         __sim_exceptions_global.
49181         (__sim_disabled_exceptions): Change to thread-local
49182         __sim_disabled_exceptions_thread and global
49183         __sim_disabled_exceptions_global.
49184         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49185         and global __sim_round_mode_global.
49186         (__simulate_exceptions): Use thread-local floating-point state and
49187         set global state from it as needed.
49188         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49189         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49190         __sim_round_mode_thread.
49191         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49192         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49193         and global __sim_exceptions_global.
49194         (__sim_disabled_exceptions): Change to thread-local
49195         __sim_disabled_exceptions_thread and global
49196         __sim_disabled_exceptions_global.
49197         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49198         and global __sim_round_mode_global.
49199         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49200         (SIM_SET_GLOBAL): Likewise.
49201         * sysdeps/powerpc/soft-fp/sfp-machine.h
49202         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49203         __sim_round_mode_thread.
49204         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49205         __sim_disabled_exceptions_thread.
49206         (__sim_exceptions): Change to __sim_exceptions_thread.
49207         (__sim_disabled_exceptions): Change to
49208         __sim_disabled_exceptions_thread.
49209         (__sim_round_mode): Change to __sim_round_mode_thread.
49210         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49211         thread-local floating-point state and set global state from it as
49212         needed.
49213         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49214         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49215         (__sim_disabled_exceptions): Remove extern declaration.
49216         (feenableexcept): Use thread-local floating-point state and set
49217         global state from it as needed.
49218         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49219         extern declaration.
49220         (__sim_disabled_exceptions): Likewise.
49221         (__sim_round_mode): Likewise.
49222         (__fegetenv): Use thread-local floating-point state.
49223         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
49224         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49225         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
49226         floating-point state and set global state from it as needed.
49227         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
49228         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
49229         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
49230         Likewise.
49231         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
49232         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
49233         Likewise.
49234         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
49235         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
49236         Use __sim_round_mode_thread.
49237         * math/test-fenv-tls.c: New file.
49238         * math/Makefile (tests): Add test-fenv-tls.
49239         ($(objpfx)test-fenv-tls): Depend on
49240         $(common-objpfx)nptl/libpthread.so.
49242 2013-11-19  Andreas Schwab  <schwab@suse.de>
49244         * locale/programs/locale.c (show_info): Decode wordarray elements.
49245         * locale/categories.def (LC_MONETARY): Add element for
49246         _NL_MONETARY_CRNCYSTR.
49247         * locale/C-monetary.c (conversion_rate): New variable.
49248         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
49249         element.
49251 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
49253         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
49254         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
49256 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49258         * elf/Makefile (tst-auxv): New test.
49259         * elf/tst-auxv.c: New
49260         * elf/rtld.c (dl_main): Adjust AT_EXECFN
49262 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
49264         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
49265         (hidden_proto): Caller changed.
49266         (hidden_tls_proto): New macro.
49267         (libc_hidden_tls_proto): Likewise.
49268         (rtld_hidden_tls_proto): Likewise.
49269         (libm_hidden_tls_proto): Likewise.
49270         (libresolv_hidden_tls_proto): Likewise.
49271         (librt_hidden_tls_proto): Likewise.
49272         (libdl_hidden_tls_proto): Likewise.
49273         (libnss_files_hidden_tls_proto): Likewise.
49274         (libnsl_hidden_tls_proto): Likewise.
49275         (libnss_nisplus_hidden_tls_proto): Likewise.
49276         (libutil_hidden_tls_proto): Likewise.
49278 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
49280         [BZ #10253]
49281         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
49282         (decompose_rpath): Defer expansion to fillin_rpath.
49283         (_dl_init_paths): Pass linkmap to fillin_rpath.
49285 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49287         * benchtests/Makefile: Add strsep.
49288         * benchtests/bench-strsep.c: New file: strsep benchtest.
49289         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
49291 2013-11-18  Andreas Schwab  <schwab@suse.de>
49293         * locale/programs/locale.c (show_info) [case byte]: Check for
49294         '\377' instead of '\177'.
49295         * locale/C-monetary.c (not_available): Always use "\377".
49296         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
49297         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
49298         detect unavailable sign_posn locale elements.
49299         * locale/localeconv.c (__localeconv): For grouping and
49300         mon_grouping handle "\177" and "\377" like no grouping.
49301         (INT_ELEM): New macro.  Use it to set all numeric members.
49302         * locale/programs/ld-monetary.c (monetary_read)
49303         <tok_mon_grouping>: Normalize single -1 to the empty string.
49304         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
49305         Likewise.
49307 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
49309         [BZ #16055]
49310         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
49311         when we match (nil).
49312         * stdio-common/tst-sscanf.c (struct test): Add testcase.
49314 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
49316         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
49317         (NO_TEST_INLINE): Update value.
49318         (ERRNO_UNCHANGED): Likewise.
49319         (ERRNO_EDOM): Likewise.
49320         (ERRNO_ERANGE): Likewise.
49321         (IGNORE_RESULT): Likewise.
49322         (check_float_internal): Check signs of NaN results if
49323         TEST_NAN_SIGN used.
49324         (check_complex): Pass TEST_NAN_SIGN flag through to second
49325         check_float_internal call.
49326         (copysign_test_data): Add tests with quiet NaNs as second
49327         argument.  Use TEST_NAN_SIGN.
49328         (fabs_test_data): Add test of negative quiet NaN argument.  Use
49329         TEST_NAN_SIGN.
49330         (signbit_test_data): Add tests of quiet NaN argument.
49331         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
49333         * math/gen-libm-test.pl (show_exceptions): Take extra argument
49334         $ignore_result.
49335         (parse_args): Handle function results specified as IGNORE.
49336         * math/libm-test.inc (IGNORE_RESULT): New macro.
49337         (check_float_internal): Do not check numerical result if flag
49338         IGNORE_RESULT set.
49339         (check_complex): Pass through IGNORE_RESULT to second
49340         check_float_internal call.
49341         (check_int): Do not check numerical result if flag IGNORE_RESULT
49342         set.
49343         (check_long): Likewise.
49344         (check_bool): Likewise.
49345         (check_longlong): Likewise.
49346         (lrint_test_data): Add tests of infinite and NaN arguments.
49347         (lrint_tonearest_test_data): Likewise.
49348         (lrint_towardzero_test_data): Likewise.
49349         (lrint_downward_test_data): Likewise.
49350         (lrint_upward_test_data): Likewise.
49351         (llrint_test_data): Likewise.
49352         (llrint_tonearest_test_data): Likewise.
49353         (llrint_towardzero_test_data): Likewise.
49354         (llrint_downward_test_data): Likewise.
49355         (llrint_upward_test_data): Likewise.
49356         (lround_test_data): Likewise.
49357         (llround_test_data): Likewise.
49359         * math/libm-test.inc (NO_TEST_INLINE): New macro.
49360         (ERRNO_UNCHANGED): Update value.
49361         (ERRNO_EDOM): Likewise.
49362         (ERRNO_ERANGE): Likewise.
49363         (NO_TEST_INLINE_FLOAT): New macro.
49364         (NO_TEST_INLINE_DOUBLE): Likewise.
49365         (enable_test): New function.
49366         (RUN_TEST_f_f): Check enable_test before running test.
49367         (RUN_TEST_2_f): Likewise.
49368         (RUN_TEST_fff_f): Likewise.
49369         (RUN_TEST_c_f): Likewise.
49370         (RUN_TEST_f_f1): Likewise.
49371         (RUN_TEST_fF_f1): Likewise.
49372         (RUN_TEST_fI_f1): Likewise.
49373         (RUN_TEST_ffI_f1): Likewise.
49374         (RUN_TEST_c_c): Likewise.
49375         (RUN_TEST_cc_c): Likewise.
49376         (RUN_TEST_f_i): Likewise.
49377         (RUN_TEST_f_i_tg): Likewise.
49378         (RUN_TEST_ff_i_tg): Likewise.
49379         (RUN_TEST_f_b): Likewise.
49380         (RUN_TEST_f_b_tg): Likewise.
49381         (RUN_TEST_f_l): Likewise.
49382         (RUN_TEST_f_L): Likewise.
49383         (RUN_TEST_fFF_11): Likewise.
49384         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
49385         conditionals.
49386         (cosh_test_data): Likewise.
49387         (exp_test_data): Likewise.
49388         (expm1_test_data): Likewise.
49389         (hypot_test_data): Likewise.
49390         (pow_test_data): Likewise.
49391         (sinh_test_data): Likewise.
49392         (tanh_test_data): Likewise.
49393         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
49394         flags argument.
49396         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
49397         tests with quiet NaN input and output.
49398         (acosh_test_data): Likewise.
49399         (asin_test_data): Likewise.
49400         (asinh_test_data): Likewise.
49401         (atan_test_data): Likewise.
49402         (atanh_test_data): Likewise.
49403         (atan2_test_data): Likewise.
49404         (cbrt_test_data): Likewise.
49405         (cos_test_data): Likewise.
49406         (cosh_test_data): Likewise.
49407         (erf_test_data): Likewise.
49408         (erfc_test_data): Likewise.
49409         (exp_test_data): Likewise.
49410         (exp10_test_data): Likewise.
49411         (exp2_test_data): Likewise.
49412         (expm1_test_data): Likewise.
49413         (hypot_test_data): Likewise.
49414         (j0_test_data): Likewise.
49415         (j1_test_data): Likewise.
49416         (jn_test_data): Likewise.
49417         (lgamma_test_data): Likewise.
49418         (log_test_data): Likewise.
49419         (log10_test_data): Likewise.
49420         (log1p_test_data): Likewise.
49421         (log2_test_data): Likewise.
49422         (pow_test_data): Likewise.
49423         (scalb_test_data): Likewise.
49424         (sin_test_data): Likewise.
49425         (sincos_test_data): Likewise.
49426         (sinh_test_data): Likewise.
49427         (tan_test_data): Likewise.
49428         (tanh_test_data): Likewise.
49429         (tgamma_test_data): Likewise.
49430         (y0_test_data): Likewise.
49431         (y1_test_data): Likewise.
49432         (yn_test_data): Likewise.
49434         [BZ #16167]
49435         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
49436         argument being NaN and avoid computations with second argument in
49437         that case.
49438         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49439         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49440         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49442 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
49444         * locale/iso-639.def: Add Chitwani Tharu (the).
49446 2013-11-14  Andreas Schwab  <schwab@suse.de>
49448         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
49449         word instead of empty string.
49451 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49454         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
49455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49456         (__fe_nomask_env): Likewise.
49458 2013-11-13  Steve Ellcey  <sellcey@mips.com>
49460         * benchtests/bench-timing.h: Include time.h.
49462 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
49464         [BZ #15997]
49465         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
49466         to 3.4.0 for x32.
49467         * sysdeps/unix/sysv/linux/configure: Regenerated.
49469 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
49471         [BZ #16151]
49472         * stdlib/strtod_l.c (round_and_return): Do not consider
49473         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
49474         exponent one less than half the least subnormal exponent.
49475         * stdlib/test-strtod-round-data: Add more tests.
49476         * stdlib/tst-strtod-round.c (tests): Regenerated.
49478 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49480         [BZ #14143]
49481         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
49482         (__fe_mask_env): Likewise.
49483         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
49484         libm_hidden_proto and add function prototype.
49485         (__fe_mask_env): Add function prototype.
49486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49487         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
49488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49489         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
49490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49491         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
49493 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49495         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
49496         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
49498 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49500         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
49501         of htab_find_slot().
49503 2013-11-11  David S. Miller  <davem@davemloft.net>
49505         [BZ #16150]
49506         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
49507         symbol in the non-vis3 case in static builds.
49508         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
49509         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
49510         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
49511         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
49513 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
49515         [BZ #387]
49516         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
49517         it is empty.
49519 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49521         * benchtests/Makefile: Add bench-strtod.
49522         * benchtests/bench-strtod.c: New file: strtod benchtest
49524 2013-11-11  Andreas Schwab  <schwab@suse.de>
49526         [BZ #16153]
49527         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
49528         terminating NUL in key length.
49530 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49532         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49533         Add artificial ODP entry for vDSO symbol for PPC64.
49534         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
49535         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
49537 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
49539         [BZ #15374]
49540         * nss/getent.c (services_keys): Recognize services starting with digit.
49542 2013-11-06  David S. Miller  <davem@davemloft.net>
49544         [BZ #15985]
49545         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
49546         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
49548 2013-11-06  Will Newton  <will.newton@linaro.org>
49550         * manual/memory.texi (Malloc Examples): Remove register
49551         keyword from examples.
49553 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
49555         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
49557 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
49559         [BZ #6981]
49560         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
49561         depending on [__GCC_IEC_559 > 0].
49562         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
49563         depending on [__GCC_IEC_559_COMPLEX > 0].
49565 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
49567         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
49568         to iso-639.def.
49570 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
49572         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
49574 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
49576         [BZ #16112]
49577         * malloc/malloc (malloc_info): Do not handle first bin as
49578         special case.
49580 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
49582         * locale/iso-639.def: Add Central Nahuatl (nhn).
49584 2013-11-01  Bruno Haible  <bruno@clisp.org>
49586         [BZ #7003]
49587         * manual/math.texi (BSD Random): Specify range upper bound as
49588         in POSIX.
49590 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
49592         * locale/iso-639.def: Add Meadow Mari (mhr).
49594 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
49596         [BZ #14752], [BZ #15763]
49597         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
49598         Validate name.
49599         * rt/tst_shm.c: Add test for escaping directory.
49601 2013-10-31  Andreas Schwab  <schwab@suse.de>
49603         [BZ #15917]
49604         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
49605         followed by 'x' as part of digit sequence.
49606         * stdio-common/tst-sscanf.c (double_tests2): New tests.
49608 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
49610         [BZ #16037]
49611         * configure.ac: allow GNU Make 4.0 and greater.
49612         * configure: Regenerated.
49614 2013-10-30  Will Newton  <will.newton@linaro.org>
49616         [BZ #16038]
49617         * malloc/hooks.c (memalign_check): Limit alignment to the
49618         maximum representable power of two.
49619         * malloc/malloc.c (__libc_memalign): Likewise.
49620         * malloc/tst-memalign.c (do_test): Add test for very
49621         large alignment values.
49622         * malloc/tst-posix_memalign.c (do_test): Likewise.
49624 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
49626         [BZ #11087]
49627         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
49628         (munmap_chunk): Likewise.
49629         (mremap_chunk): Likewise.
49631 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
49633         [BZ #15799]
49634         * stdlib/div.c (div): Remove obsolete code.
49635         * stdlib/ldiv.c (ldiv): Likewise.
49636         * stdlib/lldiv.c (lldiv): Likewise.
49638 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49640         [BZ #16071]
49641         * nss/nss_files/files-XXX.c (get_contents_ret): New
49642         enumerator.
49643         (get_contents): New function.
49644         (internal_getent): Use it.  Expand size of LINEBUFLEN.
49646 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
49648         * configure.in: Moved to ...
49649         * configure.ac: ... here. Change reference to configure.in
49650         to configure.ac.
49651         * sysdeps/arm/preconfigure.ac: ... here.
49652         configure.in to configure.ac.
49653         * sysdeps/gnu/configure.in: Moved to ...
49654         * sysdeps/gnu/configure.ac: ... here.
49655         * sysdeps/i386/configure.in: Moved to ...
49656         * sysdeps/i386/configure.ac: ... here.
49657         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
49658         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
49659         * sysdeps/mach/configure.in: Moved to ...
49660         * sysdeps/mach/configure.ac: ... here.
49661         * sysdeps/mach/hurd/configure.in: Moved to ...
49662         * sysdeps/mach/hurd/configure.ac: ... here.
49663         * sysdeps/powerpc/configure.in: Moved to ...
49664         * sysdeps/powerpc/configure.ac: ... here.
49665         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
49666         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
49667         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
49668         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
49669         * sysdeps/s390/s390-32/configure.in: Moved to ...
49670         * sysdeps/s390/s390-32/configure.ac: ... here.
49671         * sysdeps/s390/s390-64/configure.in: Moved to ...
49672         * sysdeps/s390/s390-64/configure.ac: ... here.
49673         * sysdeps/sh/configure.in: Moved to ...
49674         * sysdeps/sh/configure.ac: ... here.
49675         * sysdeps/sparc/configure.in: Moved to ...
49676         * sysdeps/sparc/configure.ac: ... here.
49677         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
49678         * sysdeps/unix/sysv/linux/configure.ac: ... here.
49679         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
49680         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
49681         * sysdeps/x86_64/configure.in: Moved to ...
49682         * sysdeps/x86_64/configure.ac: ... here.
49683         * sysdeps/x86_64/preconfigure.in: Moved to ...
49684         * sysdeps/x86_64/preconfigure.ac: ... here.
49685         * aclocal.m4: Change reference to configure.in to configure.ac.
49686         * config.h.in: Likewise.
49687         * manual/install.texi: Likewise.
49688         * manual/maint.texi: Likewise.
49689         * Makefile: Likewise.
49690         * malloc/Makefile: Likewise.
49691         * nscd/Makefile: Likewise.
49692         * Makeconfig: Change reference to configure.in and
49693         preconfigure.in to configure.ac and preconfigure.ac
49694         respectively.
49695         * INSTALL: Regenerated.
49696         * configure: Likewise.
49697         * sysdeps/gnu/configure: Likewise.
49698         * sysdeps/i386/configure: Likewise.
49699         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
49700         * sysdeps/mach/configure: Likewise.
49701         * sysdeps/mach/hurd/configure: Likewise.
49702         * sysdeps/powerpc/configure: Likewise.
49703         * sysdeps/powerpc/powerpc32/configure: Likewise.
49704         * sysdeps/powerpc/powerpc64/configure: Likewise.
49705         * sysdeps/s390/s390-32/configure: Likewise.
49706         * sysdeps/s390/s390-64/configure: Likewise.
49707         * sysdeps/sh/configure: Likewise.
49708         * sysdeps/sparc/configure: Likewise.
49709         * sysdeps/unix/sysv/linux/configure: Likewise.
49710         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
49711         * sysdeps/x86_64/configure: Likewise.
49712         * sysdeps/x86_64/preconfigure: Likewise.
49714 2013-10-29  Andreas Schwab  <schwab@suse.de>
49716         * stdio-common/Makefile (tst-swscanf-ENV): Define.
49718 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49720         * benchtests/pow-inputs: Add new inputs.
49722         * benchtests/exp-inputs: Add new inputs.
49724         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
49725         conditional check for return value.
49726         (__cos32): Likewise.
49728 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49730         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
49731         to provide a boost for large inputs with word alignment.
49732         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
49733         implementation based on optimized PPC64 strcpy.
49734         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
49735         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
49736         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
49737         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
49739 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49741         [BZ #2801]
49742         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
49744 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49746         [BZ #14876]
49747         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
49748         * time/tst-strptime.c (day_tests): Add testcase.
49750 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49752         [BZ #14029]
49753         * manual/pattern.texi: Acknowledge that fnmatch can fail.
49755 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
49757         [BZ #16074]
49758         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
49759         MAP_FAILED on error.
49761 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49763         [BZ #16072]
49764         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
49765         heap for large requests.
49767 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
49769         [BZ #9954]
49770         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
49771         result if the result has no associated interface.
49772         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
49773         interface for all 127.X.Y.Z addresses.
49775 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
49777         * locale/iso-639.def: Add Ligurian (lij)
49779 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
49781         [BZ #15825]
49782         * sunrpc/rpc_main.c: Document rpcgen -5.
49784 2013-10-19  Michael Stahl  <mstahl@redhat.com>
49786         * elf/rtld.c (do_preload): Print the reason why preloading failed.
49788 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
49790         [BZ #10278]
49791         * posix/glob.c: Match only directories when trailing slash is present.
49792         * posix/tst-gnuglob.c (my_opendir): Do not open files.
49793         (main): Add testcase.
49795 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
49797         [BZ #15670]
49798         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
49800 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
49802         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
49803         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
49804         AUTH_DES and cindex for FIPS 140-2.
49805         (DES Encryption): Add cindex FIPS 46-3.
49807         * locale/locarchive.h (struct locarhandle): Add fname.
49808         * locale/programs/localedef.c (main): Pass ARGV[remaining]
49809         if an optional argument was specified to --list-archive,
49810         otherwise NULL.
49811         * locale/programs/locarchive.c (show_archive_content): Take new
49812         argument fname and pass it via ah.fname to open_archive.
49813         * locale/programs/localedef.h: Update decl.
49814         (open_archive): If AH->fname is non-null, open that file
49815         rather than the default file name, and don't ignore ENOENT.
49816         (create_archive): Set AH.fname to NULL.
49817         (delete_locales_from_archive): Likewise.
49818         (add_locales_to_archive): Likewise.
49819         * locale/programs/locfile.c (write_all_categories): Likewise.
49821 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
49822             Aldy Hernandez  <aldyh@redhat.com>
49824         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
49825         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
49826         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
49827         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
49828         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
49829         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
49830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
49831         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
49832         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
49833         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
49834         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
49835         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
49836         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
49837         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
49838         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
49839         Likewise.
49840         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
49841         Likewise.
49842         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
49843         Likewise.
49844         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
49845         Likewise.
49846         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
49847         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
49848         Likewise.
49849         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
49850         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
49851         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
49852         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
49853         Likewise.
49854         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
49855         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
49856         * sysdeps/powerpc/preconfigure: Likewise.
49857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
49858         Likewise.
49859         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
49860         Replace contents of file by #include of <fenv_libc.h>.
49861         * sysdeps/powerpc/soft-fp/sfp-machine.h
49862         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
49863         and <sys/prctl.h>.
49864         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
49865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
49866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
49867         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
49868         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
49869         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
49870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
49871         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
49872         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
49873         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
49874         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
49875         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
49876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49877         Allow copysignl PLT reference to be missing.
49879 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
49880             Joseph Myers  <joseph@codesourcery.com
49882         [BZ #15948]
49883         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
49884         single character.
49885         (add_to_tablewc): Assert sequence of wide characters is nonempty.
49887 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49889         * elf/tst-tls-dlinfo.c: Don't include tls.h.
49890         * elf/tst-tls1.c: Likewise.
49891         * elf/tst-tls10.h: Likewise.
49892         * elf/tst-tls14.c: Likewise.
49893         * elf/tst-tls2.c: Likewise.
49894         * elf/tst-tls3.c: Likewise.
49895         * elf/tst-tls4.c: Likewise.
49896         * elf/tst-tls5.c: Likewise.
49897         * elf/tst-tls6.c: Likewise.
49898         * elf/tst-tls7.c: Likewise.
49899         * elf/tst-tls8.c: Likewise.
49900         * elf/tst-tls9.c: Likewise.
49901         * elf/tst-tlsmod1.c: Likewise.
49902         * elf/tst-tlsmod13.c: Likewise.
49903         * elf/tst-tlsmod13a.c: Likewise.
49904         * elf/tst-tlsmod14a.c: Likewise.
49905         * elf/tst-tlsmod16a.c: Likewise.
49906         * elf/tst-tlsmod16b.c: Likewise.
49907         * elf/tst-tlsmod2.c: Likewise.
49908         * elf/tst-tlsmod3.c: Likewise.
49909         * elf/tst-tlsmod4.c: Likewise.
49910         * elf/tst-tlsmod5.c: Likewise.
49911         * elf/tst-tlsmod6.c: Likewise.
49913 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
49915         [BZ #12486]
49916         * malloc/malloc.c: remove checks for statistics.
49918 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49920         [BZ #15277]
49921         * inet/inet_net.c (inet_network): Detect additional invalid strings.
49922         * inet/tst-network.c: Add testcase.
49924 2013-10-17  Andreas Schwab  <schwab@suse.de>
49926         [BZ #15218]
49927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
49928         to determine canonical name.
49930 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49932         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
49933         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
49934         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49935         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49936         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49937         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49938         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49939         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49940         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49941         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49942         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49943         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49944         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49945         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49946         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49947         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49948         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49949         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49950         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49951         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49954         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49955         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49956         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49957         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49958         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49959         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49960         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49961         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49962         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49963         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49964         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49965         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49966         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49967         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49968         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49969         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49970         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49971         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49972         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49973         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49974         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49975         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49976         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49977         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49978         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49979         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49980         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49981         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49982         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49983         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49984         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49985         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49986         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49987         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49988         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49989         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49991 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49993         [BZ #16041]
49994         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49995         make result into a quiet NaN.
49997 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49999         * soft-fp/adddf3.c: Fix horizontal whitespace.
50000         * soft-fp/addsf3.c: Likewise.
50001         * soft-fp/addtf3.c: Likewise.
50002         * soft-fp/divdf3.c: Likewise.
50003         * soft-fp/divsf3.c: Likewise.
50004         * soft-fp/divtf3.c: Likewise.
50005         * soft-fp/double.h: Likewise.
50006         * soft-fp/eqdf2.c: Likewise.
50007         * soft-fp/eqsf2.c: Likewise.
50008         * soft-fp/eqtf2.c: Likewise.
50009         * soft-fp/extenddftf2.c: Likewise.
50010         * soft-fp/extended.h: Likewise.
50011         * soft-fp/extendsfdf2.c: Likewise.
50012         * soft-fp/extendsftf2.c: Likewise.
50013         * soft-fp/extendxftf2.c: Likewise.
50014         * soft-fp/fixdfdi.c: Likewise.
50015         * soft-fp/fixdfsi.c: Likewise.
50016         * soft-fp/fixdfti.c: Likewise.
50017         * soft-fp/fixsfdi.c: Likewise.
50018         * soft-fp/fixsfsi.c: Likewise.
50019         * soft-fp/fixsfti.c: Likewise.
50020         * soft-fp/fixtfdi.c: Likewise.
50021         * soft-fp/fixtfsi.c: Likewise.
50022         * soft-fp/fixtfti.c: Likewise.
50023         * soft-fp/fixunsdfdi.c: Likewise.
50024         * soft-fp/fixunsdfsi.c: Likewise.
50025         * soft-fp/fixunsdfti.c: Likewise.
50026         * soft-fp/fixunssfdi.c: Likewise.
50027         * soft-fp/fixunssfsi.c: Likewise.
50028         * soft-fp/fixunssfti.c: Likewise.
50029         * soft-fp/fixunstfdi.c: Likewise.
50030         * soft-fp/fixunstfsi.c: Likewise.
50031         * soft-fp/fixunstfti.c: Likewise.
50032         * soft-fp/floatdidf.c: Likewise.
50033         * soft-fp/floatdisf.c: Likewise.
50034         * soft-fp/floatditf.c: Likewise.
50035         * soft-fp/floatsidf.c: Likewise.
50036         * soft-fp/floatsisf.c: Likewise.
50037         * soft-fp/floatsitf.c: Likewise.
50038         * soft-fp/floattidf.c: Likewise.
50039         * soft-fp/floattisf.c: Likewise.
50040         * soft-fp/floattitf.c: Likewise.
50041         * soft-fp/floatundidf.c: Likewise.
50042         * soft-fp/floatundisf.c: Likewise.
50043         * soft-fp/floatunditf.c: Likewise.
50044         * soft-fp/floatunsidf.c: Likewise.
50045         * soft-fp/floatunsisf.c: Likewise.
50046         * soft-fp/floatunsitf.c: Likewise.
50047         * soft-fp/floatuntidf.c: Likewise.
50048         * soft-fp/floatuntisf.c: Likewise.
50049         * soft-fp/floatuntitf.c: Likewise.
50050         * soft-fp/fmadf4.c: Likewise.
50051         * soft-fp/fmasf4.c: Likewise.
50052         * soft-fp/fmatf4.c: Likewise.
50053         * soft-fp/gedf2.c: Likewise.
50054         * soft-fp/gesf2.c: Likewise.
50055         * soft-fp/getf2.c: Likewise.
50056         * soft-fp/ledf2.c: Likewise.
50057         * soft-fp/lesf2.c: Likewise.
50058         * soft-fp/letf2.c: Likewise.
50059         * soft-fp/muldf3.c: Likewise.
50060         * soft-fp/mulsf3.c: Likewise.
50061         * soft-fp/multf3.c: Likewise.
50062         * soft-fp/negdf2.c: Likewise.
50063         * soft-fp/negsf2.c: Likewise.
50064         * soft-fp/negtf2.c: Likewise.
50065         * soft-fp/op-1.h: Likewise.
50066         * soft-fp/op-2.h: Likewise.
50067         * soft-fp/op-4.h: Likewise.
50068         * soft-fp/op-8.h: Likewise.
50069         * soft-fp/op-common.h: Likewise.
50070         * soft-fp/quad.h: Likewise.
50071         * soft-fp/single.h: Likewise.
50072         * soft-fp/soft-fp.h: Likewise.
50073         * soft-fp/sqrtdf2.c: Likewise.
50074         * soft-fp/sqrtsf2.c: Likewise.
50075         * soft-fp/sqrttf2.c: Likewise.
50076         * soft-fp/subdf3.c: Likewise.
50077         * soft-fp/subsf3.c: Likewise.
50078         * soft-fp/subtf3.c: Likewise.
50079         * soft-fp/truncdfsf2.c: Likewise.
50080         * soft-fp/trunctfdf2.c: Likewise.
50081         * soft-fp/trunctfsf2.c: Likewise.
50082         * soft-fp/trunctfxf2.c: Likewise.
50083         * soft-fp/unorddf2.c: Likewise.
50084         * soft-fp/unordsf2.c: Likewise.
50085         * soft-fp/unordtf2.c: Likewise.
50087 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
50089         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50090         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50092 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
50094         * elf/dl-libc.c: Clear initfini list after freeing.
50096 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
50098         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50099         * soft-fp/addsf3.c: Likewise.
50100         * soft-fp/addtf3.c: Likewise.
50101         * soft-fp/divdf3.c: Likewise.
50102         * soft-fp/divsf3.c: Likewise.
50103         * soft-fp/divtf3.c: Likewise.
50104         * soft-fp/double.h: Likewise.
50105         * soft-fp/eqdf2.c: Likewise.
50106         * soft-fp/eqsf2.c: Likewise.
50107         * soft-fp/eqtf2.c: Likewise.
50108         * soft-fp/extenddftf2.c: Likewise.
50109         * soft-fp/extended.h: Likewise.
50110         * soft-fp/extendsfdf2.c: Likewise.
50111         * soft-fp/extendsftf2.c: Likewise.
50112         * soft-fp/extendxftf2.c: Likewise.
50113         * soft-fp/fixdfdi.c: Likewise.
50114         * soft-fp/fixdfsi.c: Likewise.
50115         * soft-fp/fixdfti.c: Likewise.
50116         * soft-fp/fixsfdi.c: Likewise.
50117         * soft-fp/fixsfsi.c: Likewise.
50118         * soft-fp/fixsfti.c: Likewise.
50119         * soft-fp/fixtfdi.c: Likewise.
50120         * soft-fp/fixtfsi.c: Likewise.
50121         * soft-fp/fixtfti.c: Likewise.
50122         * soft-fp/fixunsdfdi.c: Likewise.
50123         * soft-fp/fixunsdfsi.c: Likewise.
50124         * soft-fp/fixunsdfti.c: Likewise.
50125         * soft-fp/fixunssfdi.c: Likewise.
50126         * soft-fp/fixunssfsi.c: Likewise.
50127         * soft-fp/fixunssfti.c: Likewise.
50128         * soft-fp/fixunstfdi.c: Likewise.
50129         * soft-fp/fixunstfsi.c: Likewise.
50130         * soft-fp/fixunstfti.c: Likewise.
50131         * soft-fp/floatdidf.c: Likewise.
50132         * soft-fp/floatdisf.c: Likewise.
50133         * soft-fp/floatditf.c: Likewise.
50134         * soft-fp/floatsidf.c: Likewise.
50135         * soft-fp/floatsisf.c: Likewise.
50136         * soft-fp/floatsitf.c: Likewise.
50137         * soft-fp/floattidf.c: Likewise.
50138         * soft-fp/floattisf.c: Likewise.
50139         * soft-fp/floattitf.c: Likewise.
50140         * soft-fp/floatundidf.c: Likewise.
50141         * soft-fp/floatundisf.c: Likewise.
50142         * soft-fp/floatunsidf.c: Likewise.
50143         * soft-fp/floatunsisf.c: Likewise.
50144         * soft-fp/floatuntidf.c: Likewise.
50145         * soft-fp/floatuntisf.c: Likewise.
50146         * soft-fp/floatuntitf.c: Likewise.
50147         * soft-fp/fmadf4.c: Likewise.
50148         * soft-fp/fmasf4.c: Likewise.
50149         * soft-fp/fmatf4.c: Likewise.
50150         * soft-fp/gedf2.c: Likewise.
50151         * soft-fp/gesf2.c: Likewise.
50152         * soft-fp/getf2.c: Likewise.
50153         * soft-fp/ledf2.c: Likewise.
50154         * soft-fp/lesf2.c: Likewise.
50155         * soft-fp/letf2.c: Likewise.
50156         * soft-fp/muldf3.c: Likewise.
50157         * soft-fp/mulsf3.c: Likewise.
50158         * soft-fp/multf3.c: Likewise.
50159         * soft-fp/negdf2.c: Likewise.
50160         * soft-fp/negsf2.c: Likewise.
50161         * soft-fp/negtf2.c: Likewise.
50162         * soft-fp/op-1.h: Likewise.
50163         * soft-fp/op-2.h: Likewise.
50164         * soft-fp/op-4.h: Likewise.
50165         * soft-fp/op-8.h: Likewise.
50166         * soft-fp/op-common.h: Likewise.
50167         * soft-fp/quad.h: Likewise.
50168         * soft-fp/single.h: Likewise.
50169         * soft-fp/soft-fp.h: Likewise.
50170         * soft-fp/sqrtdf2.c: Likewise.
50171         * soft-fp/sqrtsf2.c: Likewise.
50172         * soft-fp/sqrttf2.c: Likewise.
50173         * soft-fp/subdf3.c: Likewise.
50174         * soft-fp/subsf3.c: Likewise.
50175         * soft-fp/subtf3.c: Likewise.
50176         * soft-fp/truncdfsf2.c: Likewise.
50177         * soft-fp/trunctfdf2.c: Likewise.
50178         * soft-fp/trunctfsf2.c: Likewise.
50179         * soft-fp/trunctfxf2.c: Likewise.
50180         * soft-fp/unorddf2.c: Likewise.
50181         * soft-fp/unordsf2.c: Likewise.
50182         * soft-fp/unordtf2.c: Likewise.
50184 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
50186         [BZ #15672]
50187         * misc/error.c (error_tail): Fix possible buffer overflow.
50189 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
50191         [BZ #13028]
50192         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50193         address.
50195 2013-10-14  P. J. McDermott  <pj@pehjota.net>
50197         [BZ #832]
50198         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
50199         testing pipefail option.
50201 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50203         * soft-fp/double.h: Indent preprocessor directives inside #if.
50204         * soft-fp/extended.h: Likewise.
50205         * soft-fp/op-2.h: Likewise.
50206         * soft-fp/op-4.h: Likewise.
50207         * soft-fp/op-common.h: Likewise.
50208         * soft-fp/quad.h: Likewise.
50209         * soft-fp/single.h: Likewise.
50210         * soft-fp/soft-fp.h: Likewise.
50212 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
50214         * iconv/iconv_prog.c: Fix typos.
50215         * stdio-common/psiginfo-data.h: Likewise.
50217 2013-10-12   Reuben Thomas <rrt@sc3d.org>
50219         [BZ #15764]
50220         * locale/setlocale.c: Fix typo.
50222 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50224         [BZ #16036]
50225         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
50226         signaling NaN arguments.
50227         * soft-fp/unordsf2.c (__unordsf2): Likewise.
50228         * soft-fp/unordtf2.c (__unordtf2): Likewise.
50230         [BZ #14910]
50231         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50232         unordered operands.
50233         * soft-fp/gesf2.c (__gesf2): Likewise.
50234         * soft-fp/getf2.c (__getf2): Likewise.
50235         * soft-fp/ledf2.c (__ledf2): Likewise.
50236         * soft-fp/lesf2.c (__lesf2): Likewise.
50237         * soft-fp/letf2.c (__letf2): Likewise.
50239         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
50240         * soft-fp/eqsf2.c (__eqsf2): Likewise.
50241         * soft-fp/eqtf2.c (__eqtf2): Likewise.
50242         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
50243         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
50244         * soft-fp/fixdfti.c (__fixdfti): Likewise.
50245         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
50246         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
50247         * soft-fp/fixsfti.c (__fixsfti): Likewise.
50248         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
50249         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
50250         * soft-fp/fixtfti.c (__fixtfti): Likewise.
50251         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
50252         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
50253         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
50254         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
50255         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
50256         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
50257         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
50258         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
50259         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
50260         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
50261         * soft-fp/floatdisf.c (__floatdisf): Likewise.
50262         * soft-fp/floatsisf.c (__floatsisf): Likewise.
50263         * soft-fp/floattidf.c (__floattidf): Likewise.
50264         * soft-fp/floattisf.c (__floattisf): Likewise.
50265         * soft-fp/floattitf.c (__floattitf): Likewise.
50266         * soft-fp/floatundidf.c (__floatundidf): Likewise.
50267         * soft-fp/floatundisf.c (__floatundisf): Likewise.
50268         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
50269         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
50270         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
50271         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
50272         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
50273         * soft-fp/gesf2.c (__gesf2): Likewise.
50274         * soft-fp/getf2.c (__getf2): Likewise.
50275         * soft-fp/ledf2.c (__ledf2): Likewise.
50276         * soft-fp/lesf2.c (__lesf2): Likewise.
50277         * soft-fp/letf2.c (__letf2): Likewise.
50279         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
50280         Undefine and redefine.
50281         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
50282         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
50283         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
50284         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
50285         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50286         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
50287         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50288         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
50289         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50290         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
50291         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50292         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
50293         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50294         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
50295         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50297         [BZ #16032]
50298         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
50299         without decrementing exponent if mantissa >= that for the
50300         denominator, not >.
50301         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
50302         denominator, not >.  Decrement exponent in < case instead of
50303         incrementing in >= case.
50304         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
50305         without decrementing exponent if mantissa >= that for the
50306         denominator, not >.
50308         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
50309         computing saturated result for unsigned overflow.
50311 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50312             Jeff Law  <law@redhat.com>
50314         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
50315         (atan2Mp): Add systemtap probe marker.
50316         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
50317         (__ieee754_log): Add systemtap probe marker.
50318         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
50319         (atanMp): Add systemtap probe marker.
50320         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
50321         (tanMp): Add systemtap probe marker.
50322         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
50323         (__slowexp): Add systemtap probe marker.
50324         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
50325         (__slowpow): Add systemtap probe marker.
50326         * manual/probes.texi: Document probes.
50328 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
50330         [BZ #15362]
50331         * libio/fileops.c (_IO_new_file_write): Return count of bytes
50332         written.
50333         (_IO_new_file_xsputn): Don't return EOF if nothing has been
50334         written.
50335         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
50336         written to buffer but not flushed.
50337         * libio/iofwrite_u.c:  Likewise.
50338         * libio/iopadn.c:  Return bytes returned even if EOF was
50339         encountered.
50340         * libio/iowpadn.c:  Likewise.
50341         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
50342         if _IO_padn does not write the whole buffer.
50343         [!COMPILE_WPRINTF] (PAD): Likewise.
50345 2013-10-10  David S. Miller  <davem@davemloft.net>
50347         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
50348         directory block.
50350 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
50352         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
50353         instead of FSF address.
50354         * soft-fp/fixdfti.c: Likewise.
50355         * soft-fp/fixsfti.c: Likewise.
50356         * soft-fp/fixtfti.c: Likewise.
50357         * soft-fp/fixunsdfti.c: Likewise.
50358         * soft-fp/fixunssfti.c: Likewise.
50359         * soft-fp/fixunstfti.c: Likewise.
50360         * soft-fp/floattidf.c: Likewise.
50361         * soft-fp/floattisf.c: Likewise.
50362         * soft-fp/floattitf.c: Likewise.
50363         * soft-fp/floatuntidf.c: Likewise.
50364         * soft-fp/floatuntisf.c: Likewise.
50365         * soft-fp/floatuntitf.c: Likewise.
50366         * soft-fp/trunctfxf2.c: Likewise.
50368         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
50369         * soft-fp/fixdfti.c: Likewise.
50370         * soft-fp/fixsfti.c: Likewise.
50371         * soft-fp/fixtfti.c: Likewise.
50372         * soft-fp/fixunsdfti.c: Likewise.
50373         * soft-fp/fixunssfti.c: Likewise.
50374         * soft-fp/fixunstfti.c: Likewise.
50375         * soft-fp/floattidf.c: Likewise.
50376         * soft-fp/floattisf.c: Likewise.
50377         * soft-fp/floattitf.c: Likewise.
50378         * soft-fp/floatuntidf.c: Likewise.
50379         * soft-fp/floatuntisf.c: Likewise.
50380         * soft-fp/floatuntitf.c: Likewise.
50381         * soft-fp/trunctfxf2.c: Likewise.
50383 2013-10-10  David S. Miller  <davem@davemloft.net>
50385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50387 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
50389         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50390         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
50391         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
50392         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
50393         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
50394         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
50395         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
50397         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
50398         for NaNs before doing comparisons on argument.
50399         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
50400         Likewise.
50402 2013-10-10  Will Newton  <will.newton@linaro.org>
50404         * malloc/hooks.c (memalign_check): Ensure the value of bytes
50405         passed to _int_memalign does not overflow.
50407 2013-10-10  Torvald Riegel  <triegel@redhat.com>
50409         * scripts/bench.pl: Add include-sources directive.
50410         * benchtests/README: Update documentation.
50412 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
50414         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
50415         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
50416         instead of FP_INIT_ROUNDMODE.
50417         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
50418         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
50420         [BZ #16034]
50421         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
50422         copy class of input value.
50423         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
50424         not handle exceptions.
50425         * soft-fp/negsf2.c (__negsf2): Likewise.
50426         * soft-fp/negtf2.c (__negtf2): Likewise.
50427         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
50429 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
50431         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
50432         semicolon.  From Linux kernel.
50434 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
50436         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
50438 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
50440         [BZ #156]
50441         * manual/socket.texi: Added statement about buffer
50442         for gethostbyname2_r.
50444 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
50446         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
50447         Use .p2align directive instead, throughout.
50448         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50449         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
50450         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
50451         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50452         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50453         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
50454         * sysdeps/x86_64/strchr.S: Likewise.
50455         * sysdeps/x86_64/strrchr.S: Likewise.
50457 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50459         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
50461         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
50463         * sysdeps/generic/math_private.h (__mpsin1): Remove
50464         declaration.
50465         (__mpcos1): Likewise.
50466         (__mpsin): New argument __range_reduce.
50467         (__mpcos): Likewise.
50468         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50469         (slow): Use __mpsin and __mpcos.
50470         (slow1): Likewise.
50471         (slow2): Likewise.
50472         (sloww): Likewise.
50473         (sloww1): Likewise.
50474         (sloww2): Likewise.
50475         (bsloww): Likewise.
50476         (bsloww1): Likewise.
50477         (bsloww2): Likewise.
50478         (cslow2): Likewise.
50479         (csloww): Likewise.
50480         (csloww1): Likewise.
50481         (csloww2): Likewise.
50482         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
50483         range_reduce.  Merge in __mpsin1.
50484         (__mpcos): Likewise.
50485         (__mpsin1): Remove.
50486         (__mpcos1): Likewise.
50488 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
50490         * locale/loadlocale.c (_nl_intern_locale_data): Use
50491         LOCFILE_ALIGNED_P.
50492         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
50493         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
50494         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
50495         obstack data is appropriately aligned.
50496         (obstack_int32_grow_fast): Likewise.
50497         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
50498         * locale/programs/locfile.c (add_locale_uint32): Likewise.
50499         (add_locale_uint32_array): Likewise.
50501 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50503         * benchtests/Makefile: Remove ARGLIST and RET variables.
50504         ($(objpfx)bench-%.c): Pass only function name to the script.
50505         * benchtests/README: Update documentation.
50506         * benchtests/acos-inputs: Add new directives.
50507         * benchtests/acosh-inputs: Likewise.
50508         * benchtests/asin-inputs: Likewise.
50509         * benchtests/asinh-inputs: Likewise.
50510         * benchtests/atan-inputs: Likewise.
50511         * benchtests/atanh-inputs: Likewise.
50512         * benchtests/cos-inputs: Likewise.
50513         * benchtests/cosh-inputs: Likewise.
50514         * benchtests/exp-inputs: Likewise.
50515         * benchtests/log-inputs: Likewise.
50516         * benchtests/pow-inputs: Likewise.
50517         * benchtests/rint-inputs: Likewise.
50518         * benchtests/sin-inputs: Likewise.
50519         * benchtests/sinh-inputs: Likewise.
50520         * benchtests/tan-inputs: Likewise.
50521         * benchtests/tanh-inputs: Likewise.
50522         * scripts/bench.pl: Add support for new directives.
50524 2013-10-07  Alan Modra  <amodra@gmail.com>
50526         * README: Fix careless merge.
50528 2013-10-05  Alan Modra  <amodra@gmail.com>
50530         * NEWS: Mention powerpc64le support and bugs fixed.
50531         * README: Both big-endian and little-endian powerpc64 supported.
50533 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50535         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
50536         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
50537         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
50538         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
50540 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
50542         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
50543         match prototype.
50545 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
50547         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
50548         Move -mhard-float appending from
50549         ports/sysdeps/powerpc/powerpc32/Makefile.
50550         [$(with-fp) = yes] (ASFLAGS): Likewise.
50551         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
50552         * sysdeps/powerpc/nofpu: Move directory from
50553         ports/sysdeps/powerpc/nofpu.
50554         * sysdeps/powerpc/soft-fp: Move directory from
50555         ports/sysdeps/powerpc/soft-fp.
50556         * sysdeps/powerpc/powerpc32/405: Move directory from
50557         ports/sysdeps/powerpc/powerpc32/405.
50558         * sysdeps/powerpc/powerpc32/440: Move directory from
50559         ports/sysdeps/powerpc/powerpc32/440.
50560         * sysdeps/powerpc/powerpc32/464: Move directory from
50561         ports/sysdeps/powerpc/powerpc32/464.
50562         * sysdeps/powerpc/powerpc32/476: Move directory from
50563         ports/sysdeps/powerpc/powerpc32/476.
50564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
50565         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
50566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
50567         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
50568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
50569         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
50570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
50571         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
50572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
50573         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
50574         * README: Update for powerpc-*-linux-gnu software floating point
50575         support in libc.
50577         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
50578         case to powerpc/powerpc32*.
50579         * sysdeps/unix/sysv/linux/configure: Regenerated.
50581         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
50582         (_FPU_MASK_OM): Define as 0x04.
50583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
50584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
50585         0x00c10080.
50586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
50587         0x0000003c.
50588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
50590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
50591         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
50592         getcontext_e500.
50593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
50594         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
50595         setcontext_e500.
50596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
50597         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
50598         and setcontext_e500.
50600 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
50602         * locale/iso-3166.def: Update iso-1366.def and related occurrences
50604 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50606         * manual/threads.texi (Default Thread Attributes): Fix typo.
50608 2013-10-04  Will Newton  <will.newton@linaro.org>
50610         * malloc/Makefile: Add tst-memalign.
50611         * malloc/tst-memalign.c: New file.
50613         * malloc/tst-posix_memalign.c: Add comments.
50614         (do_test): Add comments and call free on all potentially
50615         allocated pointers. Add space after cast.
50617         * malloc/tst-pvalloc.c: Add comments.
50618         (do_test): Add comments and call free on all potentially
50619         allocated pointers. Remove duplicate check for NULL pointer.
50620         Add space after cast.
50622         * malloc/tst-valloc.c: Add comments.
50623         (do_test): Add comments and call free on all potentially
50624         allocated pointers. Remove duplicate check for NULL pointer.
50625         Add space after cast.
50627 2013-10-04  Alan Modra  <amodra@gmail.com>
50629         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50630         Use stdint types in rather than __attribute__((mode())).
50631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50633 2013-10-04  Alan Modra  <amodra@gmail.com>
50635         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50636         Correct handling of unaligned relocs for little-endian.
50637         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50639 2013-10-04  Alan Modra  <amodra@gmail.com>
50641         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
50642         * configure: Regenerate.
50643         * nptl/shlib-versions: Powerpc*le starts at 2.18.
50644         * shlib-versions: Likewise.
50646 2013-10-04  Alan Modra  <amodra@gmail.com>
50648         * string/tester.c (test_memrchr): Increment reported test cycle.
50650 2013-10-04  Alan Modra  <amodra@gmail.com>
50652         * string/test-memcpy.c (do_one_test): When reporting errors, print
50653         string address and don't overrun end of string.
50655 2013-10-04  Alan Modra  <amodra@gmail.com>
50657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
50658         insrdi.  Make better use of reg selection to speed exit slightly.
50659         Schedule entry path a little better.  Remove useless "are we done"
50660         checks on entry to main loop.  Handle wrapping around zero address.
50661         Correct main loop count.  Handle single left-over word from main
50662         loop inline rather than by using loop_small.  Remove extra word
50663         case in loop_small caused by wrong loop count.  Add little-endian
50664         support.
50665         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50666         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
50667         cache hint.
50668         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50669         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
50670         support.  Avoid rlwimi.
50671         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
50673 2013-10-04  Alan Modra  <amodra@gmail.com>
50675         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
50676         insrdi.  Formatting.
50677         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
50678         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50679         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
50680         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50681         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50682         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
50684 2013-10-04  Alan Modra  <amodra@gmail.com>
50686         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
50687         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50688         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
50689         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
50690         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50691         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50692         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50693         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50694         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
50695         use of regs.  Use power7 mtocrf.  Tidy function tails.
50697 2013-10-04  Alan Modra  <amodra@gmail.com>
50699         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
50700         Formatting.  Consistently use rXXX register defines or rN defines.
50701         Use early exit labels that avoid restoring unused non-volatile regs.
50702         Make cr field use more consistent with rWORDn compares.  Rename
50703         regs used as shift registers for unaligned loop, using rN defines
50704         for short lifetime/multiple use regs.
50705         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50706         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
50707         addi 1,1,64 to pop stack frame.  Simplify return value code.
50708         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50710 2013-10-04  Alan Modra  <amodra@gmail.com>
50712         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
50713         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
50714         rather than rlwimi.
50715         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
50716         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
50717         little-endian support.  Correct typos.
50718         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
50719         rather than rlwimi.
50720         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
50721         in loop and entry code to keep "and." results.
50722         (strchr): Add little-endian support.  Comment.  Move cntlzd
50723         earlier in tail.
50724         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
50726 2013-10-04  Alan Modra  <amodra@gmail.com>
50728         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
50729         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
50730         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
50731         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
50733 2013-10-04  Alan Modra  <amodra@gmail.com>
50735         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
50736         (rTMP): Define as r11.
50737         (strcmp): Add little-endian support.  Optimise tail.
50738         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
50739         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50740         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50741         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50742         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50744         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50746 2013-10-04  Alan Modra  <amodra@gmail.com>
50748         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
50749         little-endian support.  Remove unnecessary "are we done" tests.
50750         Handle "s" wrapping around zero and extremely large "size".
50751         Correct main loop count.  Handle single left-over word from main
50752         loop inline rather than by using small_loop.  Correct comments.
50753         Delete "zero" tail, use "end_max" instead.
50754         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
50756 2013-10-04  Alan Modra  <amodra@gmail.com>
50758         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
50759         support.  Don't branch over align.
50760         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
50761         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
50762         support.  Rearrange tmp reg use to suit.  Comment.
50763         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
50765 2013-10-04  Alan Modra  <amodra@gmail.com>
50767         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
50769 2013-10-04  Alan Modra  <amodra@gmail.com>
50771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
50772         conditional form of branch and link when obtaining pc.
50773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
50775 2013-10-04  Alan Modra  <amodra@gmail.com>
50777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
50778         HIWORD/LOWORD.
50779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
50780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
50782 2013-10-04  Alan Modra  <amodra@gmail.com>
50784         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
50785         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
50786         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
50787         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
50788         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
50789         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50790         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
50791         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50792         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
50793         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
50795 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50796             Alistair Popple <alistair@ozlabs.au.ibm.com>
50797             Alan Modra <amodra@gmail.com>
50799         [BZ #15723]
50800         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
50801         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
50802         _dl_hwcap access for little-endian.
50803         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
50804         destroy vmx regs when saving unaligned.
50805         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
50806         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
50807         destroy vmx regs when saving unaligned.
50809 2013-10-04  Alan Modra  <amodra@gmail.com>
50811         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
50812         Don't use a union to pack hi/low value.
50814 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50816         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
50817         for little-endian.
50818         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50819         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
50820         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50821         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50822         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50824 2013-10-04  Alan Modra  <amodra@gmail.com>
50826         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
50827         constants to usual value for .cst8 section, and remove redundant
50828         high address load.
50829         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
50830         constant for 0x1p52.  Load little-endian words of double from
50831         correct stack offsets.
50833 2013-10-04  Alan Modra  <amodra@gmail.com>
50835         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
50836         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
50837         words of double from correct stack offsets.
50838         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
50839         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
50840         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50841         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50842         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50843         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50844         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50845         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
50846         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
50847         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50848         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50849         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50850         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50851         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50852         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50853         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
50854         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
50856 2013-10-04  Alan Modra  <amodra@gmail.com>
50858         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
50859         64-bit int/double union.
50860         (_FPU_SETCW): Likewise.
50861         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
50862         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
50864 2013-10-04  Alan Modra  <amodra@gmail.com>
50866         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
50867         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
50869 2013-10-04  Alan Modra  <amodra@gmail.com>
50871         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
50872         use vector int constants.
50873         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
50875 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50877         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
50878         array with long long.
50879         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
50880         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
50881         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
50882         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
50883         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
50884         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
50885         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
50886         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
50887         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
50888         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
50889         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
50890         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
50891         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
50893 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50895         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
50896         (__signbit): Likewise.  Correct for little-endian.
50897         (__signbitl): Call __signbit.
50898         (lrint): Correct for little-endian.
50899         (lrintf): Call lrint.
50901 2013-10-04  Alan Modra  <amodra@gmail.com>
50903         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
50904         union 32-bit int array member with 64-bit int array.
50905         (t515, tm256): Double rather than long double.
50906         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
50908 2013-10-04  Alan Modra  <amodra@gmail.com>
50910         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
50911         Delete.
50912         (IEEE854_LONG_DOUBLE_BIAS): Delete.
50913         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
50914         version of math_ldbl.h.
50916 2013-10-04  Alan Modra  <amodra@gmail.com>
50918         [BZ #15734], [BZ #15735]
50919         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
50920         all uses of ieee875 long double macros and unions.  Simplify test
50921         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
50922         ldbl_extract_mantissa value for ix,iy exponents.  Properly
50923         normalize after ldbl_extract_mantissa, and don't add hidden bit
50924         already handled.  Don't treat low word of ieee854 mantissa like
50925         low word of IBM long double and mask off bit when testing for
50926         zero.
50927         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
50928         all uses of ieee875 long double macros and unions.  Simplify tests
50929         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
50930         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
50931         two1022, instead use their values.  Recognise that tests for large
50932         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
50933         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
50934         Rewrite all uses of ieee875 long double macros and unions.  Simplify
50935         test for 0.0L and nan.  Correct negation.
50936         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
50937         ieee875 long double macros and unions.  Correct output for large
50938         magnitude x.  Correct absolute value calculation.
50939         (__erfcl): Likewise.
50940         * math/libm-test.inc: Add tests for errors discovered in IBM long
50941         double versions of fmodl, remainderl, erfl and erfcl.
50943 2013-10-04  Alan Modra  <amodra@gmail.com>
50945         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50946         all uses of ieee854 long double macros and unions.  Simplify tests
50947         for long doubles that are fully specified by the high double.
50948         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50949         Likewise.
50950         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50951         Remove dead code too.
50952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50953         (__ieee754_ynl): Likewise.
50954         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50955         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50956         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50957         Remove dead code too.
50958         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50959         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50960         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50961         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50962         Simplify.
50963         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50964         Simplify.
50965         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50966         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50967         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50968         Comment on variable precision.
50969         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50970         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50971         Likewise.
50972         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50973         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50974         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50975         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50976         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50978 2013-10-04  Alan Modra  <amodra@gmail.com>
50980         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50981         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50982         all uses of ieee854 long double macros and unions.
50983         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50984         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50985         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50986         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50987         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50988         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50989         Likewise.
50990         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50991         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50992         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50993         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50994         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50995         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50996         Simplify sign and nan test too.
50997         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50998         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50999         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51000         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51001         Likewise.
51002         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51003         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51004         Likewise.
51005         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51006         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51007         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51008         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51009         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51012 2013-10-04  Alan Modra  <amodra@gmail.com>
51014         * stdio-common/printf_size.c (__printf_size): Don't use
51015         union ieee854_long_double in fpnum union.
51016         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
51017         signbit macro to retrieve sign from long double.
51018         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51019         retrieve sign from long double.
51020         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51021         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51022         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51023         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51024         * math/test-misc.c (main): Don't use union ieee854_long_double.
51026 2013-10-04  Alan Modra  <amodra@gmail.com>
51028         [BZ #15680]
51029         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51030         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51031         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51032         calculation.  Remove unnecessary test for denormal exponent.
51033         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51034         Correct handling of denormals.  Avoid undefined shift behaviour.
51035         Correct normalisation of low mantissa when low double is denormal.
51036         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51037         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
51038         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51039         Correct normalisation of low mantissa.  Test for overflow of high
51040         mantissa and normalise.
51041         (ldbl_nearbyint): Use more readable constant for two52.
51042         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51043         (__mpn_construct_long_double): Fix test for overflow of high
51044         mantissa and correct normalisation.  Avoid undefined shift.
51046 2013-10-04  Alan Modra  <amodra@gmail.com>
51048         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51049         (union ibm_extended_long_double): Define as an array of ieee754_double.
51050         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51051         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51052         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51053         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51054         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51055         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51056         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51057         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51058         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51059         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51060         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51062 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
51064         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51065         page size instead of calling getpagesize.
51067         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51068         (LOCFILE_ALIGN_MASK): Likewise.
51069         (LOCFILE_ALIGN_UP): Likewise.
51070         (LOCFILE_ALIGNED_P): Likewise.
51071         * locale/programs/ld-collate.c (collate_output): Use the new
51072         macros instead of __alignof__ (int32_t).
51073         * locale/weight.h (findidx): Likewise.
51075 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
51077         [BZ #431]
51078         * manual/string.texi: Fix strncat and wcsncat.
51080 2013-10-03  Brooks Moses  <bmoses@google.com>
51082         [BZ #15915]
51083         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51084         * Makerules: ...here, and adjust associated comments.
51086 2013-10-02  Will Newton  <will.newton@linaro.org>
51088         * malloc/Makefile: Add tst-pvalloc.
51089         * malloc/tst-pvalloc.c: New file.
51091 2013-10-02  Will Newton  <will.newton@linaro.org>
51093         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51094         improve test coverage.
51096 2013-10-02  Will Newton  <will.newton@linaro.org>
51098         * malloc/Makefile: Add tst-posix_memalign.
51099         * malloc/tst-posix_memalign.c: New file.
51101 2013-10-01  Eric Blake  <eblake@redhat.com>
51103         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51104         Use __THROWNL rather than __THROW on static functions.
51106 2013-09-30  Petr Machata  <pmachata@redhat.com>
51108         * elf/elf.h (R_AARCH64_ABS16): New macro.
51109         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51110         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51111         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51112         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51113         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51114         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51115         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51116         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51117         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51118         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51119         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51120         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51121         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51122         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51123         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51124         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51125         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51126         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51127         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51128         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51129         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51130         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51131         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51132         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51133         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51134         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51135         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51136         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51137         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51138         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51139         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51140         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51141         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51142         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51143         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51144         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51145         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51146         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51147         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51148         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51149         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51150         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51151         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51152         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51153         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51154         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51155         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51156         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51157         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51158         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51159         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51160         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51161         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51162         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51163         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51164         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51165         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51166         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51167         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51168         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51169         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51170         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51171         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51172         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51173         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51174         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51175         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51176         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51177         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51178         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51179         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51180         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51181         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51182         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51183         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51184         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51185         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51186         (R_AARCH64_TLSDESC_LDR): Likewise.
51187         (R_AARCH64_TLSDESC_ADD): Likewise.
51188         (R_AARCH64_TLSDESC_CALL): Likewise.
51190 2013-09-30  Andreas Schwab  <schwab@suse.de>
51192         [BZ #15048]
51193         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51194         the nss database lookup.
51195         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51198 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
51200         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51202 2013-09-28  P. J. McDermott  <pj@pehjota.net>
51204         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51205         ${Bash-specific parameter/pattern/string} parameter expansion.
51206         * sysdeps/unix/make-syscalls.sh: Likewise.
51208 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51210         * sysdeps/sh/stackguard-macros.h: New file.
51212 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
51214         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51216         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51217         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51218         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51219         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51221 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51223         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
51224         Fix thread ID register.
51226 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
51228         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
51229         [POSIX || UNIX98]: Require rather than permitting all symbols from
51230         <time.h>.
51231         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
51232         element of struct sched_param.
51233         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
51234         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
51235         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
51236         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
51237         constant.
51239 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
51241         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
51242         argument calculation.
51244 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
51246         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
51247         Expect macro.
51248         [POSIX] (pthread_attr_t): Do not require type.
51249         [POSIX] (pthread_cond_t): Likewise.
51250         [POSIX] (pthread_condattr_t): Likewise.
51251         [POSIX] (pthread_key_t): Likewise.
51252         [POSIX] (pthread_mutex_t): Likewise.
51253         [POSIX] (pthread_mutexattr_t): Likewise.
51254         [POSIX] (pthread_once_t): Likewise.
51255         [POSIX] (pthread_t): Likewise.
51256         [POSIX-based standards] (pthread_atfork): Expect function.
51258 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
51259             Richard Sandiford  <richard@codesourcery.com>
51261         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
51262         (swap_endianness_p): New extern variable.
51263         (set_big_endian): New inline function.
51264         (maybe_swap_uint32): Likewise.
51265         (maybe_swap_uint32_array): Likewise.
51266         (maybe_swap_uint32_obstack): Likewise.
51267         * locale/programs/locfile.c: Include <stdbool.h>.
51268         (swap_endianness_p): New variable.
51269         (add_locale_uint32): Call maybe_swap_uint32.
51270         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
51271         (write_locale_data): Call maybe_swap_uint32_array.
51272         * locale/programs/ld-collate.c (obstack_int32_grow): Call
51273         maybe_swap_uint32.
51274         (obstack_int32_grow_fast): Likewise.
51275         (output_weightwc): Call maybe_swap_uint32_obstack.
51276         (collate_output): Likewise.
51277         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
51278         (OPT_LITTLE_ENDIAN): Likewise.
51279         (options): Add --little-endian and --big-endian options.
51280         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
51281         * locale/programs/locarchive.c: Include "locfile.h".
51282         (GET): New macro.
51283         (SET): Likewise.
51284         (INC): Likewise.
51285         (create_archive): Use the new macros to access fields of
51286         structures directly mapped from or written to locale archives.
51287         (oldlocrecentcmp): Likewise.
51288         (enlarge_archive): Likewise.
51289         (insert_name): Likewise.
51290         (add_alias): Likewise.
51291         (add_locale): Likewise.
51292         (delete_locales_from_archive): Likewise.
51293         (show_archive_content): Likewise.
51294         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
51295         locale data.
51297 2013-09-24  Roland McGrath  <roland@hack.frob.com>
51299         * manual/freemanuals.texi: Updated from (newly) canonical copy at
51300         http://www.gnu.org/doc/freemanuals.texi.
51301         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
51303 2013-09-24  Will Newton  <will.newton@linaro.org>
51305         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
51306         macro.
51308 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
51310         * locale/hashval.h (compute_hashval): Interpret bytes of key as
51311         unsigned char.
51313 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
51315         * manual/threads.texi (POSIX Threads): Fix a typo.
51317 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51319         [BZ #14547]
51320         * string/tst-strcoll-overflow.c: New test case.
51321         * string/Makefile (xtests): Add tst-strcoll-overflow.
51322         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
51323         cache if string sizes may cause integer overflow.
51325         [BZ #14547]
51326         * string/strcoll_l.c (coll_seq): New members rule, idx,
51327         save_idx and back_us.
51328         (get_next_seq_nocache): New function.
51329         (do_compare_nocache): New function.
51330         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
51331         when malloc fails.
51333 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
51335         [BZ #15754]
51336         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
51337         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
51338         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
51340         [BZ #15754]
51341         * elf/Makefile (tests): Add tst-ptrguard1.
51342         (tests-static): Add tst-ptrguard1-static.
51343         (tst-ptrguard1-ARGS): Define.
51344         (tst-ptrguard1-static-ARGS): Define.
51345         * elf/tst-ptrguard1.c: New file.
51346         * elf/tst-ptrguard1-static.c: New file.
51347         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
51348         * sysdeps/i386/stackguard-macros.h: Likewise.
51349         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51350         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51351         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51352         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51353         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51354         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51356 2013-09-23  Hector Marco  <hecmargi@upv.es>
51357             Ismael Ripoll  <iripoll@disca.upv.es>
51358             Carlos O'Donell  <carlos@redhat.com>
51360         [BZ #15754]
51361         * sysdeps/generic/stackguard-macros.h: Define
51362         __pointer_chk_guard_local and POINTER_CHK_GUARD.
51363         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
51364         Define __pointer_chk_guard_local.
51365         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
51366         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
51368 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
51370         [BZ #15859]
51371         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
51373 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
51375         * include/string.h (__ffs): Declare as hidden.
51376         * string/ffs.c (__ffs): Define as hidden.
51377         * sysdeps/i386/ffs.c (__ffs): Likewise.
51378         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
51379         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
51380         * sysdeps/s390/ffs.c (__ffs): Likewise.
51381         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
51383 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
51385         * NEWS: Mention malloc probes.
51387         * malloc/arena.c (new_heap): New memory_heap_new probe.
51388         (grow_heap): New memory_heap_more probe.
51389         (shrink_heap): New memory_heap_less probe.
51390         (heap_trim): New memory_heap_free probe.
51391         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
51392         (systrim): New memory_sbrk_less probe.
51393         * manual/probes.texi: Document them.
51395         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
51396         * manual/probes.texi: Document it.
51398         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
51399         (__libc_realloc): Add memory_realloc_retry probe.
51400         (__libc_memalign): Add memory_memalign_retry probe.
51401         (__libc_valloc): Add memory_valloc_retry probe.
51402         (__libc_pvalloc): Add memory_pvalloc_retry probe.
51403         (__libc_calloc): Add memory_calloc_retry probe.
51404         * manual/probes.texi: Document them.
51406         * malloc/arena.c (get_free_list): Add probe
51407         memory_arena_reuse_free_list.
51408         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
51409         and memory_arena_reuse.
51410         (arena_get2) [!PER_THREAD]: Likewise.
51411         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
51412         memory_arena_reuse_realloc.
51413         * manual/probes.texi: Document them.
51415         * malloc/malloc.c (__libc_free): Add
51416         memory_mallopt_free_dyn_thresholds probe.
51417         (__libc_mallopt): Add multiple memory_mallopt probes.
51418         * manual/probes.texi: Document them.
51420         * malloc/malloc.c: Include stap-probe.h.
51421         (__libc_mallopt): Add memory_mallopt probe.
51422         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
51423         * manual/probes.texi: New.
51424         * manual/Makefile (chapters): Add probes.
51425         * manual/threads.texi: Set next node.
51427 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
51429         [BZ #15963, #13985]
51430         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
51431         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
51432         Add `Chinese' to `nan' entry name.
51434 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51436         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
51437         (POLYNOMIAL): Likewise.
51438         (TAYLOR_SINCOS): Likewise.
51439         (TAYLOR_SLOW): Likewise.
51440         (__sin): Use TAYLOR_SINCOS.
51441         (__cos): Likewise.
51442         (slow): Use TAYLOR_SLOW.
51443         (sloww): Likewise.
51444         (bsloww): Likewise.
51445         (csloww): Likewise.
51447 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51449         * stdlib/strtod_l.c: Fix buffer overrun.
51451 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51453         * benchtests/Makefile (bench): Add sincos.
51454         * benchtests/bench-sincos.c: New file.
51456         * math/libm-test.inc (cos_test_data): New test inputs.
51457         (sin_test_data): Likewise.
51459         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
51460         macro.
51461         (__sin): Use it.
51462         (__cos): Likewise.
51463         (slow1): Likewise.
51464         (slow2): Likewise.
51465         (sloww1): Likewise.
51466         (sloww2): Likewise.
51467         (bsloww1): Likewise.
51468         (bsloww2): Likewise.
51469         (cslow2): Likewise.
51470         (csloww1): Likewise.
51471         (csloww2): Likewise.
51473         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
51474         function.
51475         (__sin): Use it.
51476         (__cos): Likewise.
51478         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
51479         gotos.
51480         (__cos): Likewise.
51482 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
51484         * config.h.in (HAVE_MIPS_NAN2008): New macro.
51485         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
51486         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
51487         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
51488         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
51489         * elf/cache.c (print_entry): Handle the new cache flags.
51491 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
51492             Aldy Hernandez  <aldyh@redhat.com>
51494         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
51495         Change condition to [_SOFT_FLOAT].
51496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
51497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
51498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
51499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
51500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
51501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
51502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
51503         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
51504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
51505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
51506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
51507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
51508         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
51509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
51510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
51511         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
51512         declaration.
51514 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
51516         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
51517         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51518         (__longjmp): Use LOAD_GP to load saved GPRs.
51519         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
51520         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51521         (__sigsetjmp): Use SAVE_GP to save GPRs.
51523         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
51524         Do not append -msoft-float.
51525         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
51527 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51529         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
51531 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
51533         [BZ #15966]
51534         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
51535         (_FPU_GETCW): Use initial "__" on variable and field names but not
51536         on macro parameter name.
51537         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
51538         parentheses around reference to macro parameter.
51540 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
51542         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
51543         prototype.
51544         (ctype_startup): Use uint32_t in cast and sizeof for
51545         ctype->charnames.
51547 2013-09-11  Jia Liu  <proljc@gmail.com>
51549         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
51550         __daddr_t_defined.
51551         [__FreeBSD__]: Likewise.
51553 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
51555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
51556         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
51557         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
51558         (strchr): Remove __strchr_sse42 ifunc selection.
51559         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
51560         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
51562 2013-09-11  Will Newton  <will.newton@linaro.org>
51564         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
51565         parameter to RES. Remove hardcoded 1000 value.
51566         * benchtests/bench-skeleton.c (main): Pass RES parameter
51567         to TIMING_INIT and multiply result by 1000.
51569 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51573 2013-09-11  Andreas Schwab  <schwab@suse.de>
51575         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
51576         if not defined.
51577         (O_TMPFILE) [__USE_GNU]: Define.
51578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
51579         Define.
51581 2013-09-11  Will Newton  <will.newton@linaro.org>
51583         [BZ #15857]
51584         * malloc/malloc.c (__libc_memalign): Check the value of bytes
51585         does not overflow.
51587 2013-09-11  Will Newton  <will.newton@linaro.org>
51589         [BZ #15856]
51590         * malloc/malloc.c (__libc_valloc): Check the value of bytes
51591         does not overflow.
51593 2013-09-11  Will Newton  <will.newton@linaro.org>
51595         [BZ #15855]
51596         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
51597         does not overflow.
51599 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
51601         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
51602         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51603         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51604         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51605         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51607 2013-09-10  Allan McRae  <allan@archlinux.org>
51609         [BZ #15748]
51610         * manual/arith.texi (Parsing of Floats): Clarify
51611         cross-reference.
51613         [BZ #15849]
51614         * manual/install.texi (Running make install): Mention
51615         --enable-pt-chown.
51616         * INSTALL: Regenerated.
51618 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
51620         * csu/init-first.c (_init): Remove the !SHARED condition around
51621         FPU control word initialization.
51622         * elf/dl-support.c (_dl_fpu_control): New variable.
51623         (_dl_aux_init) <AT_FPUCW>: Initialize it.
51624         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
51625         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
51626         * math/test-fpucw-static.c: New file.
51627         * math/test-fpucw-ieee.c: New file.
51628         * math/test-fpucw-ieee-static.c: New file.
51629         * math/Makefile (tests): Add `test-fpucw-ieee' and
51630         `$(tests-static)'.
51631         (tests-static): New variable.
51632         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
51633         dependency to...
51634         [($(build-shared),yes)]
51635         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51636         ... this.
51637         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
51638         New dependency.
51640 2013-09-09  Allan McRae  <allan@archlinux.org>
51642         [BZ #15939]
51643         * manual/string.texi (Collation Functions): Fix typo in
51644         strcoll example.
51645         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
51647         [BZ #15893]
51648         * stdlib/isomac.c (get_null_defines): Fix memory leak.
51650         [BZ #15892]
51651         * libio/memstream.c (open_memstream): Fix memory leak.
51652         * libio/wmemstream.c (open_wmemstream): Likewise.
51654         [BZ #15895]
51655         * nscd/netgroupcache.c: Fix nesting of ifdefs.
51657 2013-09-09  Will Newton  <will.newton@linaro.org>
51659         * malloc/Makefile: Add tst-realloc to tests.
51660         * malloc/tst-realloc.c: New file.
51662 2013-09-09  Allan McRae  <allan@archlinux.org>
51664         [BZ #15844]
51665         * COPYING: Update from GNU website to fix FSF address.
51666         * COPYING.LIB: Likewise.
51668 2013-09-06  David S. Miller  <davem@davemloft.net>
51670         * po/zh_TW.po: Update Chinese (traditional) translation from
51671         translation project.
51673 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
51674             Joseph Myers  <joseph@codesourcery.com>
51676         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
51677         "localeinfo.h".
51678         (obstack_chunk_alloc): New macro.
51679         (obstack_chunk_free): Likewise.
51680         (record_offset): New function.
51681         (init_locale_data): Likewise.
51682         (align_locale_data): Likewise.
51683         (add_locale_empty): Likewise.
51684         (add_locale_raw_data): Likewise.
51685         (add_locale_raw_obstack): Likewise.
51686         (add_locale_string): Likewise.
51687         (add_locale_wstring): Likewise.
51688         (add_locale_uint32): Likewise.
51689         (add_locale_uint32_array): Likewise.
51690         (add_locale_char): Likewise.
51691         (start_locale_structure): Likewise.
51692         (end_locale_structure): Likewise.
51693         (start_locale_prelude): Likewise.
51694         (end_locale_prelude): Likewise.
51695         (write_locale_data): Take locale_file structure rather than an
51696         iovec.
51697         * locale/programs/locfile.h: Include "obstack.h".
51698         (struct locale_file): Change to store locale file contents instead
51699         of header.
51700         (init_locale_data): New prototype.
51701         (align_locale_data): Likewise.
51702         (add_locale_empty): Likewise.
51703         (add_locale_raw_data): Likewise.
51704         (add_locale_raw_obstack): Likewise.
51705         (add_locale_string): Likewise.
51706         (add_locale_wstring): Likewise.
51707         (add_locale_uint32): Likewise.
51708         (add_locale_uint32_array): Likewise.
51709         (add_locale_char): Likewise.
51710         (start_locale_structure): Likewise.
51711         (end_locale_structure): Likewise.
51712         (start_locale_prelude): Likewise.
51713         (end_locale_prelude): Likewise.
51714         (write_locale_data): Update prototype.
51715         * locale/programs/3level.h (struct TABLE): Remove result field.
51716         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
51717         Use new locale_file interface.
51718         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
51719         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
51720         * locale/programs/ld-address.c (address_output): Use new
51721         locale_file interface.
51722         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
51723         NO_ADD_LOCALE.
51724         (collate_finish): Don't call collseq_table_finalize.
51725         (collate_output): Use new locale_file interface.
51726         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
51727         in file.
51728         (NO_FINALIZE): Change to NO_ADD_LOCALE.
51729         (TABLE): Move defines earlier in file.
51730         (ELEMENT): Likewise.
51731         (DEFAULT): Likewise.
51732         (wctrans_table_add): Move macro and inline function earlier in
51733         file.
51734         (struct wctype_table): Move type earlier in file.
51735         (add_locale_wctype_table): New static prototype.
51736         (struct locale_ctype_t): Use logical types instead of struct iovec
51737         pointers for members.
51738         (ctype_output): Use new locale_file interface.
51739         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
51740         new locale_file interface.
51741         (allocate_arrays): Update for use of new locale_file interface.
51742         * locale/programs/ld-identification.c (identification_output): Use
51743         new locale_file interface.
51744         * locale/programs/ld-measurement.c (measurement_output): Likewise.
51745         * locale/programs/ld-messages.c (messages_output): Likewise.
51746         * locale/programs/ld-monetary.c (monetary_output): Likewise.
51747         * locale/programs/ld-name.c (name_output): Likewise.
51748         * locale/programs/ld-numeric.c (numeric_output): Likewise.
51749         * locale/programs/ld-paper.c (paper_output): Likewise.
51750         * locale/programs/ld-telephone.c (telephone_output): Likewise.
51751         * locale/programs/ld-time.c (time_output): Likewise.
51753 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51755         * benchtests/Makefile: Add memrchr benchmark.
51756         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
51757         benchmark as memrchr.
51758         * benchtests/bench-memrchr-ifunc.c: New file.
51759         * benchtests/bench-memrchr.c: New file.
51761 2013-09-06   Will Newton  <will.newton@linaro.org>
51763         * benchtests/Makefile (string-bench): Add memcpy.
51765 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
51766             Cong Wang  <amwang@redhat.com>
51768         [BZ #15850]
51769         * sysdeps/unix/sysv/linux/bits/in.h
51770         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
51771         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
51772         before __USE_KERNEL_IPV6_DEFS uses.
51773         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
51774         IPPROTO_BEETPH.
51775         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
51776         sockaddr_in6, or ipv6_mreq.
51778 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51780         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
51781         memory access for final bytes in some large inputs.
51782         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
51784 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51786         * string/test-memrchr.c: New file.
51787         * string/test-memrchr-ifunc.c: New file.
51788         * string/Makefile: Add new memrchr testcase.
51790 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
51792         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
51793         fanotify_init returns EPERM.
51795 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
51797         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
51798         errors.
51799         (top level): Treat second token from macro or constant entries for
51800         allowed headers as allowed.
51801         * include/complex.h: Condition internal declarations on
51802         [!_ISOMAC].
51803         * include/fenv.h: Condition include of <stdbool.h> and internal
51804         declarations on [!_ISOMAC].
51806 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
51808         [BZ #15923]
51809         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
51811 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
51813         * configure.in (--enable-versioning): Remove configure option.
51814         (libc_cv_asm_symver_directive): Remove configure test.
51815         (libc_cv_ld_version_script_option): Likewise.
51816         (VERSIONING): Remove variable and AC_SUBST.
51817         (DO_VERSIONING): Remove AC_DEFINE.
51818         * configure: Regenerated.
51819         * config.h.in (DO_VERSIONING): Remove macro.
51820         * Makerules [$(versioning) = yes]: Change conditionals to
51821         [$(build-shared) = yes].
51822         * config.make.in (versioning): Remove variable.
51823         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
51824         [$(build-shared) = yes].
51825         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
51826         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
51827         * elf/Makefile [$(versioning) = yes]: Change conditionals to
51828         [$(build-shared) = yes].
51829         * extra-lib.mk [$(versioning) = yes]: Likewise.
51830         * hurd/Makefile [$(versioning) = yes]: Likewise.
51831         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
51832         [SHARED].
51833         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
51834         [SHARED].
51835         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51836         [SHARED && !NO_HIDDEN].
51837         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
51838         [SHARED].
51839         [SHARED && DO_VERSIONING]: Likewise..
51840         * libio/Makefile [$(versioning) = yes]: Change conditionals to
51841         [$(build-shared) = yes].
51842         * manual/install.texi (--disable-versioning): Remove
51843         documentation.
51844         * INSTALL: Regenerated.
51845         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
51846         to [SHARED].
51847         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
51848         [$(build-shared) = yes].
51849         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
51850         * sysdeps/i386/i686/multiarch/strstr-c.c
51851         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51852         [SHARED && !NO_HIDDEN].
51853         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
51854         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
51855         * sysdeps/powerpc/powerpc32/dl-machine.c
51856         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
51857         * sysdeps/powerpc/powerpc32/sysdep.h
51858         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
51859         to [SHARED && PIC && !NO_HIDDEN].
51860         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
51861         conditional to [SHARED].
51863 2013-09-04   Will Newton  <will.newton@linaro.org>
51865         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
51866         * benchtests/bench-string.h: Include bench-timing.h instead
51867         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
51868         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
51869         call to HP_TIMING_DIFF_INIT.
51870         * benchtests/bench-memccpy.c: Use bench-timing.h macros
51871         instead of hp-timing.h macros.
51872         * benchtests/bench-memchr.c: Likewise.
51873         * benchtests/bench-memcmp.c: Likewise.
51874         * benchtests/bench-memcpy.c: Likewise.
51875         * benchtests/bench-memmem.c: Likewise.
51876         * benchtests/bench-memmove.c: Likewise.
51877         * benchtests/bench-memset.c: Likewise.
51878         * benchtests/bench-rawmemchr.c: Likewise.
51879         * benchtests/bench-strcasecmp.c: Likewise.
51880         * benchtests/bench-strcasestr.c: Likewise.
51881         * benchtests/bench-strcat.c: Likewise.
51882         * benchtests/bench-strchr.c: Likewise.
51883         * benchtests/bench-strcmp.c: Likewise.
51884         * benchtests/bench-strcpy.c: Likewise.
51885         * benchtests/bench-strcpy_chk.c: Likewise.
51886         * benchtests/bench-strlen.c: Likewise.
51887         * benchtests/bench-strncasecmp.c: Likewise.
51888         * benchtests/bench-strncat.c: Likewise.
51889         * benchtests/bench-strncmp.c: Likewise.
51890         * benchtests/bench-strncpy.c: Likewise.
51891         * benchtests/bench-strnlen.c: Likewise.
51892         * benchtests/bench-strpbrk.c: Likewise.
51893         * benchtests/bench-strrchr.c: Likewise.
51894         * benchtests/bench-strspn.c: Likewise.
51895         * benchtests/bench-strstr.c: Likewise.
51897 2013-09-04  Will Newton  <will.newton@linaro.org>
51899         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
51901 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
51903         [BZ #15427]
51904         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
51905         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
51906         * math/libm-test.inc (lgamma_test_data): Add more tests.
51907         * sysdeps/i386/fpu/libm-test-ulps: Update.
51908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51910 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
51912         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
51913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51914         Add ifunc.
51915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51916         Add strcmp-sse2-unaligned
51917         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
51919 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51921         * Versions.def (libc): Add GLIBC_2.19.
51923 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51925         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
51926         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
51928 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
51930         [BZ #14155]
51931         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
51932         intermediate calculations in recurrence.
51933         (__ieee754_ynf): Likewise.
51934         * math/libm-test.inc (jn_test_data): Do not allow spurious
51935         underflow exception.  Add more tests.
51936         (yn_test_data): Add more tests.
51937         * sysdeps/i386/fpu/libm-test-ulps: Update.
51938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51940 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
51942         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51944 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51946         * csu/init-first.c: Fix then/than typos.
51947         * locale/programs/ld-collate.c: Likewise.
51948         * locale/programs/linereader.h: Likewise.
51949         * manual/charset.texi: Likewise.
51950         * manual/filesys.texi: Likewise.
51951         * manual/stdio.texi: Likewise.
51952         * manual/string.texi: Likewise.
51953         * stdlib/fmtmsg.c: Likewise.
51954         * sysdeps/i386/stpncpy.S: Likewise.
51955         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51956         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51957         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51958         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51960 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51962         * elf/dl-open.c: Fix typos.
51963         * iconvdata/gbbig5.c: Likewise.
51964         * iconvdata/iso-2022-jp.c: Likewise.
51965         * iconv/gconv_int.h: Likewise.
51966         * iconv/loop.c: Likewise.
51967         * nis/rpcsvc/nis.h: Likewise.
51968         * resolv/ns_name.c: Likewise.
51969         * stdio-common/vfscanf.c: Likewise.
51970         * streams/stropts.h: Likewise.
51971         * sunrpc/rpc_thread.c: Likewise.
51972         * sysdeps/i386/strpbrk.S: Likewise.
51973         * sysdeps/ieee754/k_standard.c: Likewise.
51974         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51976         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51977         * sysdeps/mach/hurd/profil.c: Likewise.
51978         * sysdeps/s390/dl-procinfo.h: Likewise.
51979         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51980         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51981         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51982         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51983         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51985 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51987         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51990 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51992         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51993         aix specific files.
51994         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51995         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51996         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51997         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51998         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51999         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52000         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52001         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52003 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52004             Roland McGrath  <roland@hack.frob.com>
52006         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52007         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52009 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52011         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52012         __executable_start symbol instead of _start.
52014 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52016         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52017         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52018         Move macros to...
52019         * sysdeps/gnu/ldsodefs.h: ... this new file.
52021         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52022         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52023         instead of ELFOSABI_LINUX.
52025         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52026         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52027         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52028         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52029         Likewise.
52030         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52031         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52032         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52033         Likewise.
52034         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52035         (ibm_extended_long_double): Add ieee_nan member.
52036         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52037         (do_test): New function.
52039         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52040         TEST_TRUNC.
52041         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52042         functions, renamed from truncdfsf_test, trunctfsf_test,
52043         trunctfdf_test.
52044         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52045         functions.
52046         (do_test): Run all these.
52048 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
52050         * argp/argp-help.c: Fix typos.
52051         * argp/argp-parse.c: Likewise.
52052         * debug/backtracesyms.c: Likewise.
52053         * elf/elf.h: Likewise.
52054         * malloc/malloc.c: Likewise.
52055         * nis/nis_print.c: Likewise.
52056         * resolv/res_comp.c: Likewise.
52057         * stdlib/stdlib.h: Likewise.
52058         * sunrpc/clnt_tcp.c: Likewise.
52059         * sunrpc/clnt_udp.c: Likewise.
52060         * sunrpc/clnt_unix.c: Likewise.
52061         * sysdeps/unix/bsd/ptsname.c: Likewise.
52062         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52063         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52065         Likewise.
52066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52067         Likewise.
52068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52069         Likewise.
52070         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52072 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52074         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52077 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
52079         [BZ #15897]
52080         * dlfcn/Makefile (tests): Add bug-dl-leaf.
52081         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52082         ($(objpfx)bug-dl-leaf): New rule.
52083         ($(objpfx)bug-dl-leaf.so): Likewise.
52084         ($(objpfx)bug-dl-leaf.out): Likewise.
52085         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52086         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52087         * dlfcn/bug-dl-leaf.c: New test.
52088         * dlfcn/bug-dl-leaf-lib.c: Likewise.
52089         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52090         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52091         (dlclose): Likewise.
52092         (dlmopen): Likewise.
52094 2013-08-27  Roland McGrath  <roland@hack.frob.com>
52096         * include/netdb.h [!_ISOMAC]:
52097         Don't include <tls.h>.
52098         (h_errno, __libc_h_errno): Move declaration and macros out of
52099         [_LIBC_REENTRANT].
52101         * include/resolv.h [_RESOLV_H_]:
52102         Don't include <tls.h>.
52103         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52104         * resolv/res_libc.c: Don't include <tls.h>.
52105         (_res): Use __attribute__ ((nocommon)) in place of
52106         __attribute__ ((section (".bss"))).
52108         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52109         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52111         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52113         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52114         only under [SIOCGIFCONF && SIOCGIFNETMASK].
52116         * resolv/res_mkquery.c: Include <sys/time.h>.
52118         * inet/ifreq.c: Moved to ...
52119         * sysdeps/unix/ifreq.c: ... here.
52120         * inet/ifreq.c: New file, true stub version.
52122         * socket/sa_len.c: New file.
52123         * socket/Makefile (aux): Add it.
52124         * sysdeps/unix/sysv/linux/Makefile
52125         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52126         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52127         and #include <socket/sa_len.c>.
52128         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52129         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52131         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52132         * bits/socket.h: ... here.
52134         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52135         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52136         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52138 2013-08-27  Andreas Schwab  <schwab@suse.de>
52140         [BZ #15736]
52141         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52142         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52143         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52144         * string/test-strcasecmp.c (test_main): Run tests in several
52145         locales.
52146         * string/test-strncasecmp.c (test_main): Likewise.
52148         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52149         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52150         to __strcasecmp_nonascii and __strncasecmp_nonascii.
52151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52152         (__strncasecmp_ssse3) [PIC]: Likewise.
52154 2013-08-26  Roland McGrath  <roland@hack.frob.com>
52156         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52158         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52159         instead of explicitly declaring xdecrypt.
52160         * nis/nss_nis/nis-publickey.c: Likewise.
52162 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52164         [BZ #15890]
52165         * nscd/aicache.c: Include res_hconf.h.
52166         (addhstaiX): Initialize res_hconf.
52168 2013-08-26  Andreas Schwab  <schwab@suse.de>
52170         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52171         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52173 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52175         * nscd/aicache.c (addhstaiX): Fix indentation.
52177 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
52179         * configure.ac: Quote $build_pt_chown test.
52180         * configure: Regenerated.
52182 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
52184         [BZ #15532]
52185         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52186         * math/s_cexpf.c (__cexpf): Likewise.
52187         * math/s_cexpl.c (__cexpl): Likewise.
52188         * math/libm-test.inc (cexp_test_data): Correct expected return
52189         value for NaN + i0.  Add another test.
52191 2013-08-22  David S. Miller  <davem@davemloft.net>
52193         * po/ca.po: Update Catalan translation from translation project.
52194         * po/uk.po: Add Ukrainian translations from translation project.
52196 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
52198         [BZ #15797]
52199         * math/s_fdim.c (__fdim): Check for infinite arguments if result
52200         is infinite, not alongside NaN test.
52201         * math/s_fdimf.c (__fdimf): Likewise.
52202         * math/s_fdiml.c (__fdiml): Likewise.
52203         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
52204         errno is unchanged.
52206 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
52208         * argp/argp-help.c: Fix typos.
52209         * crypt/speeds.c: Likewise.
52210         * csu/check_fds.c: Likewise.
52211         * elf/dl-load.c: Likewise.
52212         * elf/dl-open.c: Likewise.
52213         * elf/reldep3.c: Likewise.
52214         * elf/reldep.c: Likewise.
52215         * elf/sprof.c: Likewise.
52216         * iconv/iconv_charmap.c: Likewise.
52217         * iconv/skeleton.c: Likewise.
52218         * iconv/strtab.c: Likewise.
52219         * io/lockf64.c: Likewise.
52220         * libio/libioP.h: Likewise.
52221         * resolv/gai_notify.c: Likewise.
52222         * resolv/ns_name.c: Likewise.
52223         * resolv/ns_samedomain.c: Likewise.
52224         * resolv/res_send.c: Likewise.
52225         * stdlib/random.c: Likewise.
52226         * sunrpc/rpc/xdr.h: Likewise.
52227         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
52228         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52229         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52230         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52231         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52232         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52233         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52234         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52235         * sysdeps/mach/hurd/check_fds.c: Likewise.
52236         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52237         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52238         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52239         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52240         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52241         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52242         * sysdeps/pthread/aio_notify.c: Likewise.
52243         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
52244         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
52245         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
52246         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52247         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52249 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52251         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
52252         version if bit_Slow_SSE4_2 is set.
52253         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52254         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52256 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52258         [BZ #15867]
52259         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
52260         trampoline stack frame information.
52261         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
52262         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
52263         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
52264         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
52265         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
52266         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52267         (_libc_vdso_platform_setup): Initialize the signal trampolines.
52268         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
52269         sa_flags value.
52270         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
52271         interrupting a syscall and set with option SA_SIGINFO.
52273 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
52275         [BZ #15531]
52276         * math/s_cproj.c (__cproj): Only return an infinity if one part of
52277         argument is infinite.
52278         * math/s_cprojf.c (__cprojf): Likewise.
52279         * math/s_cprojl.c (__cprojl): Likewise.
52280         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
52281         * math/libm-test.inc (cproj_test_data): Add more tests.
52283         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
52285         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
52286         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
52287         size.  Use __ffs to determine corresponding shift.
52289 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
52290             Roland McGrath  <roland@hack.frob.com>
52292         * Makefile (INSTALL): Remove trailing blank lines from output of
52293         makeinfo.
52295 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52297         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
52298         Align 32 bit compat elf_greg to 8 bytes.
52300 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
52302         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
52304 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52306         * string/strcoll_l.c (coll_seq): New structure.
52307         (get_next_seq_cached): New function.
52308         (get_next_seq): New function.
52309         (do_compare): New function.
52310         (STRCOLL): Use GNU style definition.  Simplify implementation
52311         by using get_next_seq, get_next_seq_cached and do_compare.
52313 2013-08-16  Florian Weimer  <fweimer@redhat.com>
52315         [BZ #14699]
52316         CVE-2013-4237
52317         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
52318         member.
52319         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
52320         member.
52321         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
52322         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
52323         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
52324         conditional.
52325         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
52326         GETDENTS_64BIT_ALIGNED.
52327         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52328         * manual/filesys.texi (Reading/Closing Directory): Document
52329         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
52330         strongly.
52331         * manual/conf.texi (Limits for Files): Add portability note to
52332         NAME_MAX, PATH_MAX.
52333         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
52335 2013-08-13  Andreas Schwab  <schwab@suse.de>
52337         [BZ #15749]
52338         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
52339         of fabs.
52340         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
52341         LDBL_MAX_EXP >= 16384]: Add tests for it.
52343 2013-08-12  David S. Miller  <davem@davemloft.net>
52345         * version.h (RELEASE): Set to "development".
52346         (VERSION): Set to "2.18.90".
52347         * NEWS: Add 2.19 section.
52349 2013-08-03  David S. Miller  <davem@davemloft.net>
52351         * po/ko.po: Update Korean translation from translation project.
52353 2013-08-01  David S. Miller  <davem@davemloft.net>
52355         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
52356         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
52357         Bilka.
52359 2013-07-30  David S. Miller  <davem@davemloft.net>
52361         * po/fr.po: Update French translation from translation project.
52363 2013-07-28  David S. Miller  <davem@davemloft.net>
52365         * po/cs.po: Update Czech translation from translation project.
52367         * po/sv.po: Update Swedish translation from translation project.
52369 2013-07-27  David S. Miller  <davem@davemloft.net>
52371         * po/eo.po: Update Esperanto translation from translation project.
52373         * po/vi.po: Update Vietnamese translation from translation project.
52375         * po/de.po: Update German translation from translation project.
52377 2013-07-26  David S. Miller  <davem@davemloft.net>
52379         * po/bg.po: Update Bulgarian translation from translation project.
52381         * po/nl.po: Update Dutch translation from translation project.
52382         * po/pl.po: Update Polish translation from translation project.
52383         * po/ru.po: Update Russian translation from translation project.
52385 2013-07-24  David S. Miller  <davem@davemloft.net>
52387         * po/libc.pot: Update.
52389 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52391         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
52392         variable page size.
52393         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
52394         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
52395         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
52397 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52399         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
52401 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52402             Andreas Schwab  <schwab@suse.de>
52403             Roland McGrath  <roland@hack.frob.com>
52404             Joseph Myers  <joseph@codesourcery.com>
52405             Carlos O'Donell  <carlos@redhat.com>
52407         [BZ #15755]
52408         * config.h.in: Define HAVE_PT_CHOWN.
52409         * config.make.in (build-pt-chown): New variable.
52410         * configure.in (--enable-pt_chown): New configure option.
52411         * configure: Regenerate.
52412         * login/Makefile: Include Makeconfig.  Build pt_chown only if
52413         build-pt-chown is enabled.
52414         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
52415         pt_chown to fix pty ownership.
52416         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
52417         CLOSE_ALL_FDS.
52418         * manual/install.texi (Configuring and compiling): Mention
52419         --enable-pt_chown. Add @findex for grantpt.
52420         * INSTALL: Regenerate.
52422 2013-07-20  David S. Miller  <davem@davemloft.net>
52424         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
52425         difference between 32-bit and 64-bit.
52427 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
52429         [BZ #15711]
52430         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
52431         Avoid system header dependency with -ffreestanding.
52432         ($(objpfx)bits/syscall%d): Likewise.
52434 2013-07-13  David S. Miller  <davem@davemloft.net>
52436         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
52437         underflows from atanl/atan2l due to bug 15319.
52438         (casinh_test_data): Likewise.
52440 2013-07-07  David S. Miller  <davem@davemloft.net>
52442         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
52444 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
52446         * sysdeps/i386/fpu/libm-test-ulps: Update.
52447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52449 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52451         * configure.in (--enable-lock-elision): Fix message text.
52452         * INSTALL: Regenerate.
52453         * configure: Regenerate.
52455 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52459 2013-07-03  Andreas Jaeger  <aj@suse.de>
52461         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
52462         define.
52463         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
52464         (ptrace_peeksiginfo_args): Add.
52465         (__ptrace_peeksiginfo_flags): Add.
52466         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52467         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52468         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52470 2013-07-03  Allan McRae  <allan@archlinux.org>
52472         * sysdeps/i386/fpu/libm-test-ulps: Update.
52474 2013-07-02  David S. Miller  <davem@davemloft.net>
52476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52478 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
52480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52482 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
52484         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52487 2013-07-02  Andi Kleen <ak@linux.intel.com>
52489         * config.h.in (ENABLE_LOCK_ELISION): Add.
52490         * configure.in (--enable-lock-elision): Add option.
52491         * manual/install.texi: Document --enable lock elision.
52492         * configure: Regenerate
52493         * INSTALL: Regenerate.
52495 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
52497         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
52498         SSE4.2 strcasecmp for libc.a.
52499         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
52501 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
52503         [BZ #13304]
52504         * soft-fp/op-common.h (_FP_FMA): New macro.
52505         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
52506         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
52507         (_FP_MUL_MEAT_1_imm): ... here.
52508         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
52509         (_FP_MUL_MEAT_1_wide): ... here.
52510         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
52511         (_FP_MUL_MEAT_1_hard): ... here.
52512         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
52513         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
52514         (_FP_MUL_MEAT_2_wide): ... here.
52515         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
52516         (_FP_MUL_MEAT_2_wide_3mul): ... here.
52517         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
52518         (_FP_MUL_MEAT_2_gmp): ... here.
52519         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
52520         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
52521         (_FP_MUL_MEAT_4_wide): ... here.
52522         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
52523         (_FP_MUL_MEAT_4_gmp): ... here.
52524         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
52525         (_FP_WFRACBITS_DW_S): Likewise.
52526         (_FP_WFRACXBITS_DW_S): Likewise.
52527         (_FP_HIGHBIT_DW_S): Likewise.
52528         (FP_FMA_S): Likewise.
52529         (_FP_FRAC_HIGH_DW_S): Likewise.
52530         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
52531         (_FP_WFRACBITS_DW_D): Likewise.
52532         (_FP_WFRACXBITS_DW_D): Likewise.
52533         (_FP_HIGHBIT_DW_D): Likewise.
52534         (FP_FMA_D): Likewise.
52535         (_FP_FRAC_HIGH_DW_D): Likewise.
52536         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
52537         (_FP_WFRACBITS_DW_E): Likewise.
52538         (_FP_WFRACXBITS_DW_E): Likewise.
52539         (_FP_HIGHBIT_DW_E): Likewise.
52540         (FP_FMA_E): Likewise.
52541         (_FP_FRAC_HIGH_DW_E): Likewise.
52542         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
52543         (_FP_WFRACBITS_DW_Q): Likewise.
52544         (_FP_WFRACXBITS_DW_Q): Likewise.
52545         (_FP_HIGHBIT_DW_Q): Likewise.
52546         (FP_FMA_Q): Likewise.
52547         (_FP_FRAC_HIGH_DW_Q): Likewise.
52548         * soft-fp/fmasf4.c: New file.
52549         * soft-fp/fmadf4.c: Likewise.
52550         * soft-fp/fmatf4.c: Likewise.
52552 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52555         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
52556         Silvermont.
52557         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
52558         macro.
52559         (index_Slow_SSE4_2): Likewise.
52560         (index_Prefer_PMINUB_for_stringop): Likewise.
52561         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
52562         bit_Slow_SSE4_2 is set.
52563         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52564         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52566 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52568         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
52569         rtld_global._dl_hwcap2.
52570         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
52571         POWER8.
52572         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
52573         POWER8 feature descriptions defined in _dl_hwcap2.
52574         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
52575         string handling for POWER8 feature bits.
52576         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
52577         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
52578         _dl_powerpc_cap_flags.
52579         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
52580         * sysdeps/powerpc/rtld-global-offsets.sym
52581         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
52582         _dl_hwcap2 in the rtld_global_ro structure.
52584 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52586         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
52587         hardware capabilities in support of AT_HWCAP2.
52588         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
52589         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
52590         GLRO(dl_hwcap2).
52591         (_dl_show_auxv): Add support for calling _dl_procinfo to display
52592         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
52593         explicitly the unknown a_type display mechanism is used.
52594         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
52595         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
52596         struct member.
52597         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
52598         to macro prototype for AT_HWCAP2 support.
52599         * sysdeps/i386/dl-procinfo.h: Likewise.
52600         * sysdeps/s390/dl-procinfo.h: Likewise.
52601         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
52602         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
52603         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
52604         return -1 for unknown a_type display fallback.
52605         * sysdeps/sparc/dl-procinfo.h: Likewise.
52606         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
52607         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
52609 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
52611         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
52612         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
52614 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
52616         [BZ #12492]
52617         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
52618         mprotect making __stack_prot writable.
52620 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
52621             Joseph Myers  <joseph@codesourcery.com>
52623         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
52624         as being properly aligned.
52626 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
52628         * dlfcn/modstatic5.c: New file.
52629         * dlfcn/tststatic5.c: New file.
52630         * dlfcn/Makefile (tests): Add tststatic5.
52631         (tests-static): Likewise.
52632         (modules-names): Add modstatic5.
52633         (tststatic5-ENV): New variable.
52634         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
52636         [BZ #15022]
52637         * elf/dl-support.c (_dl_main_map): New variable.
52638         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
52639         (_dl_nns, _dl_load_adds): Set to 1.
52640         (_dl_initial_searchlist): Refer to _dl_main_map.
52641         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
52642         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
52643         call to _dl_get_origin.
52644         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
52645         around call_map.
52646         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
52647         * dlfcn/modstatic3.c: New file.
52648         * dlfcn/tststatic3.c: New file.
52649         * dlfcn/tststatic4.c: New file.
52650         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
52651         (tests-static): Likewise.
52652         (modules-names): Add modstatic3.
52653         (tststatic3-ENV, tststatic4-ENV): New variables.
52654         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
52655         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
52657 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
52659         * configure.in (CC): Require GCC version 4.4 or later.
52660         * configure: Regenerated.
52661         * manual/install.texi (Tools for Compilation): Update GCC version
52662         requirement.
52663         * INSTALL: Regenerated.
52665 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52667         [BZ #15674]
52668         * string/test-memcmp.c (check2): New.
52669         (main): Call check2.
52671         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
52673 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
52675         [BZ #15022]
52676         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
52677         over to...
52678         (dl_open_worker) [!SHARED]: ... here.
52680 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52682         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
52684 2013-06-25  Richard Henderson  <rth@redhat.com>
52686         * locale/programs/locarchive.c: Include <libc-internal.h>
52688 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
52690         * manual/texinfo.tex: Update to version 2013-06-21.17, with
52691         trailing whitespace removed.
52693 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
52695         [BZ #10283]
52696         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
52697         * locale/programs/locarchive.c: Include libc-mmap.h.
52698         (prepare_address_space): Take two new outputs (the mmap base and len).
52699         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
52700         values.
52701         (create_archive): Declare new mmap base and len values for
52702         prepare_address_space, and store the result in ah.
52703         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
52704         (enlarge_archive): If ah->mmap_base is not NULL, use that and
52705         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52706         Declare new mmap base and len values for
52707         prepare_address_space, and store the result in new_ah.
52708         (open_archive): Declare new mmap base and len values for
52709         prepare_address_space, and store the result in ah.
52710         (close_archive): If ah->mmap_base is not NULL, use that and
52711         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52712         * sysdeps/generic/libc-mmap.h: New file.
52714 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
52716         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
52717         (ALIGN_UP): Likewise.
52718         (PTR_ALIGN_DOWN): Likewise.
52719         (PTR_ALIGN_UP): Likewise.
52721 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52723         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
52724         entry mapped to PPC_PLATFORM_POWER8.
52725         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
52726         POWER8.
52727         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
52728         (_dl_string_platform): Add case for exporting platform position for
52729         POWER8.
52730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
52731         search path to sysdeps/powerpc/powerpc32/power8 directory.
52732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
52733         search path to sysdeps/powerpc/powerpc64/power8 directory.
52734         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
52735         power7 directories.
52736         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
52737         power7 directories.
52739 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52741         * INSTALL: Regenerate.
52743         * nscd/connections.c (nscd_init): Fix comment.
52745 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
52747         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
52749         [BZ #15667]
52750         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
52751         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
52753 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
52755         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
52756         DL_DST_REQ_STATIC.
52757         (DL_DST_REQ_STATIC): Remove macro.
52759 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
52761         [BZ #7006]
52762         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
52763         with a shift of 0 bits.
52765 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
52767         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
52768         $(tststatic-ENV).
52770 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52772         [BZ #15655]
52773         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
52775 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52777         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
52778         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
52779         accepts -fno-tree-loop-distribute-patterns.
52780         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
52781         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
52782         recursive call.
52783         * string/memset.c (memset): Likewise.
52784         * string/test-memmove.c (simple_memmove): Disable loop transformation
52785         to library calls.
52786         * string/test-memset.c (simple_memset): Likewise.
52787         * benchtests/bench-memmove.c (simple_memmove): Likewise.
52788         * benchtests/bench-memset.c (simple_memset): Likewise.
52789         * configure: Regenerated.
52791 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
52793         * math/test-misc.c (main): Ignore fesetround failure when failures
52794         of subsequent rounding tests would be ignored.
52796         [BZ #15654]
52797         * math/fedisblxcpt.c (fedisableexcept): Return 0.
52798         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
52799         * math/fegetenv.c (__fegetenv): Return 0.
52800         * math/fegetexcept.c (fegetexcept): Return 0.
52801         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
52802         FE_TONEAREST.
52803         * math/feholdexcpt.c (feholdexcept): Return 0.
52804         * math/fesetenv.c (__fesetenv): Return 0.
52805         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
52806         argument FE_TONEAREST.
52807         * math/feupdateenv.c (__feupdateenv): Return 0.
52808         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
52810 2013-06-18  Roland McGrath  <roland@hack.frob.com>
52812         * elf/rtld-Rules (rtld-compile-command.S): New variable.
52813         (rtld-compile-command.s, rtld-compile-command.c): New variables.
52814         ($(objpfx)rtld-%.os rules): Use them.
52816 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52818         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
52819         fields.
52821 2013-06-17  Roland McGrath  <roland@hack.frob.com>
52823         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
52824         length of target pattern, then descending length of dependency pattern.
52825         * configure.in (AWK): Require gawk 3.1.2 or newer.
52826         * manual/install.texi (Tools for Compilation): Say that we do.
52827         * configure: Regenerated.
52829         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
52830         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
52831         * scripts/sysd-rules.awk: ... this new script.
52832         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
52833         than a glob-style pattern.
52835 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
52837         * math/test-misc.c (main): Do not treat incorrectly rounded
52838         conversions as failure unless ROUNDING_TESTS passes.
52840 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
52842         [BZ #15631]
52843         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
52844         restore exception state around main square root computation, then
52845         check for inexactness explicitly.
52847         * math/libm-test.inc (fma_test_data): Add another test.
52849 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52851         * manual/threads.texi (Non-POSIX Extensions): New document
52852         node.  Document pthread_getattr_default_np and
52853         pthread_setattr_default_np.
52855         * Versions.def (libpthread): Add GLIBC_2.18.
52856         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
52857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52858         Likewise.
52859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52860         Likewise.
52861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52862         Likewise.
52863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52864         Likewise.
52865         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
52866         Likewise.
52867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52868         Likewise.
52869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52870         Likewise.
52871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52872         Likewise.
52873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
52874         Likewise.
52876 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52879         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
52881 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52882             H.J. Lu  <hjl.tools@gmail.com>
52884         [BZ #15627]
52885         * sysdeps/x86_64/rtld-memset.c: Remove file.
52886         * sysdeps/x86_64/rtld-memset.S: New file.
52888 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
52890         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
52891         (test_in_one_mode): Take arguments for whether the rounding mode
52892         is supported for each floating-point type.
52893         (do_test): Pass new arguments to test_in_one_mode using
52894         ROUNDING_TESTS.
52896 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52898         * posix/tst-waitid.c (do_test): Distinguish different instances of
52899         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
52900         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
52901         before entering the kernel for waitpid.
52903 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52905         * NEWS: Fix note on clock function precision.  Text by Roland
52906         McGrath.
52908 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52910         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
52911         it into place only when and if the sanity check passes.
52913 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
52915         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
52916         output for whether conversion result is exact.  Take argument
52917         indicating whether type is IBM long double.
52918         (round_for_all): Change need_exact field to ibm_ld.
52919         * stdlib/tst-strtod-round.c (struct exactness): New type.
52920         (struct test): Change bool ld_ok field to struct exactness exact.
52921         (TEST): Update all definitions for change to field.
52922         (tests): Regenerate array contents.
52923         (test_in_one_mode): Take pointer to new field instead of old ld_ok
52924         field value.  Check for IBM long double here.
52925         (do_test): Update calls to test_in_one_mode.
52927 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52929         [BZ #12515]
52930         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
52931         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
52933 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52935         [BZ #15605]
52936         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
52937         generated by the compiler on loop optimizations.
52938         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
52939         general definitions.
52941 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
52943         * math/bug-nextafter.c: Include <math-tests.h>.
52944         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52945         the relevant type.
52946         * math/bug-nexttoward.c: Include <math-tests.h>.
52947         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52948         the relevant type.
52949         * math/test-misc.c: Include <math-tests.h>.
52950         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52951         the relevant type.
52953 2013-06-12  Andreas Jaeger  <aj@suse.de>
52955         * po/ia.po: Update Interlingua translation from translation
52956         project.
52958 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52960         * include/fenv.h: Include stdbool.h.
52961         (struct rm_ctx): New structure.
52962         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52963         Define macro.
52964         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52965         (SET_RESTORE_ROUNDF): Likewise.
52966         (SET_RESTORE_ROUNDL): Likewise.
52967         (SET_RESTORE_ROUND_NOEX): Likewise.
52968         (SET_RESTORE_ROUND_NOEXF): Likewise.
52969         (SET_RESTORE_ROUND_NOEXL): Likewise.
52970         (SET_RESTORE_ROUND_53BIT): Likewise.
52971         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52972         (libc_feresetround_noexf_ctx): Likewise.
52973         (libc_feresetround_noexl_ctx): Likewise.
52974         (libc_feholdsetround_53bit_ctx): Likewise.
52975         (libc_feresetround_53bit_ctx): Likewise.
52976         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52977         (libc_feholdexcept_setround_sse_ctx): New function.
52978         (libc_fesetenv_sse_ctx): Likewise.
52979         (libc_feupdateenv_sse_ctx): Likewise.
52980         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52981         (libc_feholdexcept_setround_387_ctx): Likewise.
52982         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52983         (libc_feholdsetround_387_prec_ctx): Likewise.
52984         (libc_feholdsetround_387_ctx): Likewise.
52985         (libc_feholdsetround_387_53bit_ctx): Likewise.
52986         (libc_feholdsetround_sse_ctx): Likewise.
52987         (libc_feresetround_sse_ctx): Likewise.
52988         (libc_feresetround_387_ctx): Likewise.
52989         (libc_feupdateenv_387_ctx): Likewise.
52990         (libc_feholdexcept_setroundf_ctx): Define macro.
52991         (libc_fesetenvf_ctx): Likewise.
52992         (libc_feupdateenvf_ctx): Likewise.
52993         (libc_feholdsetroundf_ctx): Likewise.
52994         (libc_feresetroundf_ctx): Likewise.
52995         (libc_feholdexcept_setround_ctx): Likewise.
52996         (libc_fesetenv_ctx): Likewise.
52997         (libc_feupdateenv_ctx): Likewise.
52998         (libc_feholdsetround_ctx): Likewise.
52999         (libc_feresetround_ctx): Likewise.
53000         (libc_feholdexcept_setroundl_ctx): Likewise.
53001         (libc_feupdateenvl_ctx): Likewise.
53002         (libc_feholdsetroundl_ctx): Likewise.
53003         (libc_feresetroundl_ctx): Likewise.
53004         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53005         (libc_feresetround_53bit_ctx): Likewise.
53007 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53009         * locale/iso-639.def: Convert to UTF-8.
53011 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
53013         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53014         (EXCEPTION_TESTS_double): Likewise.
53015         (EXCEPTION_TESTS_long_double): Likewise.
53016         (EXCEPTION_TESTS): Likewise.
53017         * math/libm-test.inc (test_exceptions): Only test exceptions if
53018         EXCEPTION_TESTS (FLOAT).
53020 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53022         * benchtests/Makefile (string-bench): Add strcpy_chk and
53023         stpcpy_chk.
53024         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53025         * benchtests/bench-stpcpy_chk.c: New file.
53026         * benchtests/bench-strcpy_chk-ifunc.c: New file.
53027         * benchtests/bench-strcpy_chk.c: New file.
53028         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53029         code.
53030         (do_test): Likewise.
53032 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53034         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53035         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53036         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53037         with tabs where appropriate.
53038         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53039         dl-procinfo.h.
53040         [PPC_PLATFORM_PPC440]: Likewise.
53041         [PPC_PLATFORM_PPC464]: Likewise.
53042         [PPC_PLATFORM_PPC476]: Likewise.
53043         (_dl_string_platform): Add support for detecting ppc405, ppc440,
53044         ppc464, and ppc476 platform strings merging from ports/
53045         dl-procinfo.h.
53047 2013-06-11  Andreas Schwab  <schwab@suse.de>
53049         [BZ #14991]
53050         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53051         (from_ucs4_idx): Regenerate.
53052         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53053         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53054         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53055         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53056         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53057         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53058         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53059         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53060         from FROM_LOOP and TO_LOOP specific macros.
53061         (BODY): Handle combining characters.
53062         * iconvdata/BIG5HKSCS.irreversible: Update.
53063         * iconvdata/BIG5HKSCS.precomposed: New file.
53064         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53065         characters.
53066         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53068 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53070         * include/sys/time.h: Fix indentation and add copyright header.
53072         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53073         (do_test): Likewise.
53074         * string/test-memchr.c (do_one_test): Likewise.
53075         (do_test): Likewise.
53076         * string/test-memcmp.c (do_one_test): Likewise.
53077         (do_test): Likewise.
53078         * string/test-memcpy.c (do_one_test): Likewise.
53079         (do_test): Likewise.
53080         * string/test-memmem.c (do_one_test): Likewise.
53081         (do_test): Likewise.
53082         (do_random_tests): Likewise.
53083         * string/test-memmove.c (do_one_test): Likewise.
53084         (do_test): Likewise.
53085         * string/test-memset.c (do_one_test): Likewise.
53086         (do_test): Likewise.
53087         * string/test-rawmemchr.c (do_one_test): Likewise.
53088         (do_test): Likewise.
53089         * string/test-strcasecmp.c (do_one_test): Likewise.
53090         (do_test): Likewise.
53091         * string/test-strcasestr.c (do_one_test): Likewise.
53092         (do_test): Likewise.
53093         * string/test-strcat.c (do_one_test): Likewise.
53094         (do_test): Likewise.
53095         * string/test-strchr.c (do_one_test): Likewise.
53096         (do_test): Likewise.
53097         * string/test-strcmp.c (do_one_test): Likewise.
53098         (do_test): Likewise.
53099         * string/test-strcpy.c (do_one_test): Likewise.
53100         (do_test): Likewise.
53101         * string/test-string.h: Likewise.
53102         (test_init): Likewise.
53103         * string/test-strlen.c (do_one_test): Likewise.
53104         (do_test): Likewise.
53105         * string/test-strncasecmp.c (do_one_test): Likewise.
53106         (do_test): Likewise.
53107         * string/test-strncat.c (do_one_test): Likewise.
53108         (do_test): Likewise.
53109         * string/test-strncmp.c (do_one_test): Likewise.
53110         (do_test_limit): Likewise.
53111         (do_test): Likewise.
53112         * string/test-strncpy.c (do_one_test): Likewise.
53113         (do_test): Likewise.
53114         * string/test-strnlen.c (do_one_test): Likewise.
53115         (do_test): Likewise.
53116         * string/test-strpbrk.c (do_one_test): Likewise.
53117         (do_test): Likewise.
53118         * string/test-strrchr.c (do_one_test): Likewise.
53119         (do_test): Likewise.
53120         * string/test-strspn.c (do_one_test): Likewise.
53121         (do_test): Likewise.
53122         * string/test-strstr.c (do_one_test): Likewise.
53123         (do_test): Likewise.
53125         * benchtests/Makefile (string-bench): Add string benchmarks.
53126         * benchtests/bench-bcopy-ifunc.c: New file.
53127         * benchtests/bench-bcopy.c: New file.
53128         * benchtests/bench-bzero-ifunc.c: New file.
53129         * benchtests/bench-bzero.c: New file.
53130         * benchtests/bench-memccpy-ifunc.c: New file.
53131         * benchtests/bench-memccpy.c: New file.
53132         * benchtests/bench-memchr-ifunc.c: New file.
53133         * benchtests/bench-memchr.c: New file.
53134         * benchtests/bench-memcmp-ifunc.c: New file.
53135         * benchtests/bench-memcmp.c: New file.
53136         * benchtests/bench-memmem-ifunc.c: New file.
53137         * benchtests/bench-memmem.c: New file.
53138         * benchtests/bench-memmove-ifunc.c: New file.
53139         * benchtests/bench-memmove.c: New file.
53140         * benchtests/bench-mempcpy-ifunc.c: New file.
53141         * benchtests/bench-mempcpy.c: New file.
53142         * benchtests/bench-memset-ifunc.c: New file.
53143         * benchtests/bench-memset.c: New file.
53144         * benchtests/bench-rawmemchr-ifunc.c: New file.
53145         * benchtests/bench-rawmemchr.c: New file.
53146         * benchtests/bench-stpcpy-ifunc.c: New file.
53147         * benchtests/bench-stpcpy.c: New file.
53148         * benchtests/bench-stpncpy-ifunc.c: New file.
53149         * benchtests/bench-stpncpy.c: New file.
53150         * benchtests/bench-strcasecmp-ifunc.c: New file.
53151         * benchtests/bench-strcasecmp.c: New file.
53152         * benchtests/bench-strcasestr-ifunc.c: New file.
53153         * benchtests/bench-strcasestr.c: New file.
53154         * benchtests/bench-strcat-ifunc.c: New file.
53155         * benchtests/bench-strcat.c: New file.
53156         * benchtests/bench-strchr-ifunc.c: New file.
53157         * benchtests/bench-strchr.c: New file.
53158         * benchtests/bench-strchrnul-ifunc.c: New file.
53159         * benchtests/bench-strchrnul.c: New file.
53160         * benchtests/bench-strcmp-ifunc.c: New file.
53161         * benchtests/bench-strcmp.c: New file.
53162         * benchtests/bench-strcpy-ifunc.c: New file.
53163         * benchtests/bench-strcpy.c: New file.
53164         * benchtests/bench-strcspn-ifunc.c: New file.
53165         * benchtests/bench-strcspn.c: New file.
53166         * benchtests/bench-strlen-ifunc.c: New file.
53167         * benchtests/bench-strlen.c: New file.
53168         * benchtests/bench-strncasecmp-ifunc.c: New file.
53169         * benchtests/bench-strncasecmp.c: New file.
53170         * benchtests/bench-strncat-ifunc.c: New file.
53171         * benchtests/bench-strncat.c: New file.
53172         * benchtests/bench-strncmp-ifunc.c: New file.
53173         * benchtests/bench-strncmp.c: New file.
53174         * benchtests/bench-strncpy-ifunc.c: New file.
53175         * benchtests/bench-strncpy.c: New file.
53176         * benchtests/bench-strnlen-ifunc.c: New file.
53177         * benchtests/bench-strnlen.c: New file.
53178         * benchtests/bench-strpbrk-ifunc.c: New file.
53179         * benchtests/bench-strpbrk.c: New file.
53180         * benchtests/bench-strrchr-ifunc.c: New file.
53181         * benchtests/bench-strrchr.c: New file.
53182         * benchtests/bench-strspn-ifunc.c: New file.
53183         * benchtests/bench-strspn.c: New file.
53184         * benchtests/bench-strstr-ifunc.c: New file.
53185         * benchtests/bench-strstr.c: New file.
53187         * benchtests/Makefile: Disable parallel execution of targets.
53188         (string-bench): Add memcpy.
53189         (benchset): New variable to store a list of benchmark sets.
53190         (bench-func): Renamed from bench.
53191         (bench-set): New target.
53192         (bench): Depend on bench-func and bench-set.
53193         * benchtests/README: Add section on benchmark sets.
53194         * benchtests/bench-memcpy-ifunc.c: New file.
53195         * benchtests/bench-memcpy.c: New file.
53196         * benchtests/bench-string.h: New file.
53198 2013-06-11  Andreas Schwab  <schwab@suse.de>
53200         [BZ #15577]
53201         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53202         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53203         values in the triple.
53204         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53205         terminator in the group key.
53207 2013-06-11  Andreas Jaeger  <aj@suse.de>
53209         * po/zh_TW.po: Update Chinese (traditional) translation from
53210         translation project.
53212 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53214         * include/time.h (__clock_gettime): Add libc_hidden_proto.
53215         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53216         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
53217         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53218         (clock_getcpuclockid): Likewise.
53219         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53220         Add weak_alias and libc_hidden_def.
53221         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53222         * rt/clock_gettime.c (clock_gettime): Rename to
53223         __clock_gettime.  Add weak_alias and libc_hidden_def.
53224         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
53225         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
53226         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
53227         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
53228         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
53229         Likewise.
53230         * rt/clock_settime.c (clock_settime): Rename to
53231         __clock_settime.  Add weak_alias and libc_hidden_def.
53232         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
53234 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
53236         * mach/err_boot.sub: Remove trailing whitespace.
53237         * mach/err_ipc.sub: Likewise.
53238         * mach/err_mach.sub: Likewise.
53240         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
53241         (ROUNDING_TESTS_double): Likewise.
53242         (ROUNDING_TESTS_long_double): Likewise.
53243         (ROUNDING_TESTS): Likewise.
53244         * math/libm-test.inc: Include <math-tests.h>.
53245         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
53246         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53247         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53248         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53250 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53252         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
53253         of assigning.
53255 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
53257         * sysdeps/gnu/errlist.awk: Do not generate space at end of
53258         otherwise empty TRANS lines.
53259         * sysdeps/gnu/errlist.c: Regenerated.
53261         * catgets/gencat.c (error_print): Use (void) in function
53262         definition.
53263         * crypt/crypt_util.c (__init_des): Likewise.
53264         * crypt/speeds.c (Stop): Likewise.
53265         (main): Likewise.
53266         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
53267         * inet/ruserpass.c (token): Likewise.
53268         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
53269         * intl/localealias.c (extend_alias_table): Likewise.
53270         * intl/plural-exp.c (init_germanic_plural): Likewise.
53271         * libio/fcloseall.c (__fcloseall): Likewise.
53272         * libio/genops.c (_IO_flush_all): Likewise.
53273         (_IO_flush_all_linebuffered): Likewise.
53274         (_IO_cleanup): Likewise.
53275         (_IO_iter_begin): Likewise.
53276         (_IO_iter_end): Likewise.
53277         (_IO_list_lock): Likewise.
53278         (_IO_list_unlock): Likewise.
53279         (_IO_list_resetlock): Likewise.
53280         * libio/getchar.c (getchar): Likewise.
53281         * libio/getchar_u.c (getchar_unlocked): Likewise.
53282         * libio/getwchar.c (getwchar): Likewise.
53283         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
53284         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
53285         * login/getpt.c (__getpt): Likewise.
53286         * login/tst-utmp.c (main): Likewise.
53287         * malloc/hooks.c (__malloc_check_init): Likewise.
53288         * malloc/malloc.c (__malloc_stats): Likewise.
53289         * malloc/mtrace.c (tr_break): Likewise.
53290         (mtrace): Likewise.
53291         (muntrace): Likewise.
53292         * misc/fstab.c (endfsent): Likewise.
53293         * misc/getclktck.c (__getclktck): Likewise.
53294         * misc/getdtsz.c (__getdtablesize): Likewise.
53295         * misc/gethostid.c (gethostid): Likewise.
53296         * misc/getpagesize.c (__getpagesize): Likewise.
53297         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
53298         (__get_nprocs): Likewise.
53299         (__get_phys_pages): Likewise.
53300         (__get_avphys_pages): Likewise.
53301         * misc/getttyent.c (getttyent): Likewise.
53302         (setttyent): Likewise.
53303         (endttyent): Likewise.
53304         * misc/getusershell.c (getusershell): Likewise.
53305         (endusershell): Likewise.
53306         (setusershell): Likewise.
53307         (initshells): Likewise.
53308         * misc/hsearch.c (__hdestroy): Likewise.
53309         * misc/sync.c (sync): Likewise.
53310         * misc/syslog.c (closelog_internal): Likewise.
53311         (closelog): Likewise.
53312         * misc/ttyslot.c (ttyslot): Likewise.
53313         * misc/vhangup.c (vhangup): Likewise.
53314         * posix/fork.c (__fork): Likewise.
53315         * posix/getegid.c (__getegid): Likewise.
53316         * posix/geteuid.c (__geteuid): Likewise.
53317         * posix/getgid.c (__getgid): Likewise.
53318         * posix/getpid.c (__getpid): Likewise.
53319         * posix/getppid.c (__getppid): Likewise.
53320         * posix/getuid.c (__getuid): Likewise.
53321         * posix/pause.c (pause): Likewise.
53322         * posix/setpgrp.c (setpgrp): Likewise.
53323         * posix/setsid.c (__setsid): Likewise.
53324         * posix/test-vfork.c (noop): Likewise.
53325         * resolv/gethnamaddr.c (_endhtent): Likewise.
53326         (_gethtent): Likewise.
53327         (ht_endhostent): Likewise.
53328         (gethostent): Likewise.
53329         (dns_service): Likewise.
53330         * stdlib/drand48.c (drand48): Likewise.
53331         * stdlib/lrand48.c (lrand48): Likewise.
53332         * stdlib/mrand48.c (mrand48): Likewise.
53333         * stdlib/rand.c (rand): Likewise.
53334         * stdlib/random.c (__random): Likewise.
53335         * stdlib/setenv.c (clearenv): Likewise.
53336         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
53337         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
53338         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
53339         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
53340         (__get_nprocs): Likewise.
53341         (__get_phys_pages): Likewise.
53342         (__get_avphys_pages): Likewise.
53343         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
53344         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
53345         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
53346         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
53347         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
53348         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
53349         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
53350         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
53351         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
53352         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
53353         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
53354         * sysdeps/mach/hurd/sync.c (sync): Likewise.
53355         * sysdeps/posix/clock.c (clock): Likewise.
53356         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
53357         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
53358         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
53359         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
53360         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
53361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
53362         (__get_nprocs_conf): Likewise.
53363         (__get_phys_pages): Likewise.
53364         (__get_avphys_pages): Likewise.
53365         * time/clock.c (clock): Likewise.
53366         * time/tzset.c (__tzname_max): Likewise.
53368 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
53370         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
53371         (__bswap_32): Do not use "register".
53372         * crypt/crypt.c (_ufc_doit_r): Likewise.
53373         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53374         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53375         * gmon/gmon.c (__monstartup): Likewise.
53376         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
53377         * hurd/hurdmalloc.c (more_memory): Likewise.
53378         (malloc): Likewise.
53379         (free): Likewise.
53380         (realloc): Likewise.
53381         (malloc_fork_prepare): Likewise.
53382         (malloc_fork_parent): Likewise.
53383         (malloc_fork_child): Likewise.
53384         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
53385         (_svcauth_des): Likewise.
53386         * inet/inet_lnaof.c (inet_lnaof): Likewise.
53387         * inet/inet_net.c (inet_network): Likewise.
53388         * inet/inet_netof.c (inet_netof): Likewise.
53389         * inet/rcmd.c (__validuser2_sa): Likewise.
53390         * io/fts.c (fts_open): Likewise.
53391         (fts_load): Likewise.
53392         (fts_close): Likewise.
53393         (fts_read): Likewise.
53394         (fts_children): Likewise.
53395         (fts_build): Likewise.
53396         (fts_stat): Likewise.
53397         (fts_sort): Likewise.
53398         (fts_alloc): Likewise.
53399         (fts_lfree): Likewise.
53400         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
53401         (_IO_file_xsgetn): Likewise.
53402         (_IO_file_xsgetn_mmap): Likewise.
53403         * libio/iofopncook.c (_IO_cookie_read): Likewise.
53404         (_IO_cookie_write): Likewise.
53405         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
53406         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
53407         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
53408         * malloc/obstack.c (_obstack_begin): Likewise.
53409         (_obstack_begin_1): Likewise.
53410         (_obstack_newchunk): Likewise.
53411         (_obstack_allocated_p): Likewise.
53412         (obstack_free): Likewise.
53413         (_obstack_memory_used): Likewise.
53414         * misc/getttyent.c (getttynam): Likewise.
53415         (getttyent): Likewise.
53416         (skip): Likewise.
53417         (value): Likewise.
53418         * misc/getusershell.c (initshells): Likewise.
53419         * misc/syslog.c (__vsyslog_chk): Likewise.
53420         * misc/ttyslot.c (ttyslot): Likewise.
53421         * nis/nis_hash.c (__nis_hash): Likewise.
53422         * posix/fnmatch_loop.c (FCT): Likewise.
53423         * posix/getconf.c (print_all): Likewise.
53424         (main): Likewise.
53425         * posix/getopt.c (exchange): Likewise.
53426         * posix/glob.c (globfree): Likewise.
53427         (prefix_array): Likewise.
53428         (__glob_pattern_type): Likewise.
53429         * resolv/arpa/nameser.h (NS_GET16): Likewise.
53430         (NS_GET32): Likewise.
53431         (NS_PUT16): Likewise.
53432         (NS_PUT32): Likewise.
53433         * resolv/gethnamaddr.c (getanswer): Likewise.
53434         (gethostbyname2): Likewise.
53435         (gethostbyaddr): Likewise.
53436         (_gethtent): Likewise.
53437         (_gethtbyname2): Likewise.
53438         (_gethtbyaddr): Likewise.
53439         * resolv/ns_print.c (dst_s_get_int16): Likewise.
53440         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
53441         * resolv/res_init.c (__res_vinit): Likewise.
53442         (net_mask): Likewise.
53443         * resolv/res_mkquery.c (outchar): Likewise.
53444         (PRINT): Likewise.
53445         * stdio-common/printf_fp.c (outchar): Likewise.
53446         (PRINT): Likewise.
53447         * stdio-common/printf_fphex.c (outchar): Likewise.
53448         (PRINT): Likewise.
53449         * stdio-common/printf_size.c (outchar): Likewise.
53450         (PRINT): Likewise.
53451         * stdio-common/test_rdwr.c (main): Likewise.
53452         * stdio-common/tfformat.c (matches): Likewise.
53453         * stdio-common/vfprintf.c (outchar): Likewise.
53454         (printf_unknown): Likewise.
53455         (buffered_vfprintf): Likewise.
53456         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53457         * stdio-common/xbug.c (AppendToBuffer): Likewise.
53458         (ReadFile): Likewise.
53459         * stdlib/qsort.c (SWAP): Likewise.
53460         (_quicksort): Likewise.
53461         * stdlib/setenv.c (__add_to_environ): Likewise.
53462         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53463         * stdlib/strtol_l.c (__strtol_l): Likewise.
53464         * stdlib/tst-strtod.c (main): Likewise.
53465         * stdlib/tst-strtol.c (main): Likewise.
53466         * stdlib/tst-strtoll.c (main): Likewise.
53467         * string/bits/string2.h (__strcmp_cc): Likewise.
53468         (__strcmp_cg): Likewise.
53469         (__strcspn_c1): Likewise.
53470         (__strcspn_c2): Likewise.
53471         (__strcspn_c3): Likewise.
53472         (__strspn_c1): Likewise.
53473         (__strspn_c2): Likewise.
53474         (__strspn_c3): Likewise.
53475         (__strsep_1c): Likewise.
53476         (__strsep_2c): Likewise.
53477         (__strsep_3c): Likewise.
53478         * string/memccpy.c (__memccpy): Likewise.
53479         * string/stpcpy.c (__stpcpy): Likewise.
53480         * string/strcmp.c (strcmp): Likewise.
53481         * string/strrchr.c (strrchr): Likewise.
53482         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
53483         Likewise.
53484         * sysdeps/mach/hurd/getcwd.c
53485         (_hurd_canonicalize_directory_name_internal): Likewise.
53486         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
53487         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
53488         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
53489         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
53490         Likewise, in both definitions.
53491         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
53492         definitions.
53493         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
53494         64] (__bswap_64): Likewise.
53495         * time/test_time.c (main): Likewise.
53496         * time/tzfile.c (__tzfile_read): Likewise.
53497         (__tzfile_compute): Likewise.
53498         * time/tzset.c (__tzset_parse_tz): Likewise.
53499         (tzset_internal): Likewise.
53500         (compute_change): Likewise.
53501         * wcsmbs/wcscat.c (__wcscat): Likewise.
53502         * wcsmbs/wcschr.c (wcschr): Likewise.
53503         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
53504         * wcsmbs/wcscspn.c (wcscspn): Likewise.
53505         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
53506         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
53507         * wcsmbs/wcsspn.c (wcsspn): Likewise.
53508         * wcsmbs/wcsstr.c (wcsstr): Likewise.
53509         * wcsmbs/wmemchr.c (wmemchr): Likewise.
53510         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53511         * wcsmbs/wmemset.c (wmemset): Likewise.
53513 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
53515         * scripts/config.guess: Update to version 2013-05-16.
53516         * scripts/config.sub: Update to version 2013-04-24.
53517         * scripts/install-sh: Update to version 2011-11-20.07.
53518         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
53519         * scripts/move-if-change: Update to version 2012-01-06 07:23.
53521 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
53523         * debug/fgetws_u_chk.c: Fix leading whitespaces.
53524         * elf/sln.c: Likewise.
53525         * hurd/hurd/ioctl.h: Likewise.
53526         * hurd/hurdmalloc.c: Likewise.
53527         * hurd/xattr.c: Likewise.
53528         * include/shlib-compat.h: Likewise.
53529         * inet/ruserpass.c: Likewise.
53530         * libio/iofgets_u.c: Likewise.
53531         * libio/iofgetws_u.c: Likewise.
53532         * locale/programs/ld-identification.c: Likewise.
53533         * locale/programs/ld-time.c: Likewise.
53534         * mach/msg-destroy.c: Likewise.
53535         * nss/nss_files/files-netgrp.c: Likewise.
53536         * resolv/res_data.c: Likewise.
53537         * soft-fp/op-1.h: Likewise.
53538         * soft-fp/op-2.h: Likewise.
53539         * soft-fp/op-4.h: Likewise.
53540         * soft-fp/op-common.h: Likewise.
53541         * stdio-common/printf_fphex.c: Likewise.
53542         * stdlib/strtod_l.c: Likewise.
53543         * sunrpc/rpc/clnt.h: Likewise.
53544         * sysdeps/generic/framestate.c: Likewise.
53545         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53546         * sysdeps/i386/bsd-setjmp.S: Likewise.
53547         * sysdeps/i386/__longjmp.S: Likewise.
53548         * sysdeps/i386/setjmp.S: Likewise.
53549         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53550         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53551         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53552         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53553         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53554         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53555         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53556         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53557         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53558         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53559         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53560         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53561         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53562         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53563         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53564         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53565         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53566         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
53567         * sysdeps/ieee754/support.c: Likewise.
53568         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53569         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
53570         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
53571         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
53572         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
53573         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
53574         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
53575         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
53576         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
53577         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
53578         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
53579         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
53580         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
53581         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
53582         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
53583         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
53584         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
53587 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
53589         * posix/transbug.c: Remove executable mode.
53591 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
53593         * crypt/speeds.c: Remove trailing whitespace.
53594         * dlfcn/default.c: Likewise.
53595         * elf/ifuncdep2.c: Likewise.
53596         * elf/ifuncmain1.c: Likewise.
53597         * elf/ifuncmain1vis.c: Likewise.
53598         * elf/testobj.h: Likewise.
53599         * elf/tst-stackguard1.c: Likewise.
53600         * gmon/sys/gmon.h: Likewise.
53601         * hurd/hurdmsg.c: Likewise.
53602         * hurd/new-fd.c: Likewise.
53603         * hurd/ports-get.c: Likewise.
53604         * iconvdata/ibm1008_420.c: Likewise.
53605         * inet/tst-getni1.c: Likewise.
53606         * inet/tst-getni2.c: Likewise.
53607         * libio/ioungetc.c: Likewise.
53608         * libio/wfiledoalloc.c: Likewise.
53609         * manual/libm-err-tab.pl: Likewise.
53610         * math/w_dremf.c: Likewise.
53611         * misc/ftruncate.c: Likewise.
53612         * posix/bug-glob2.c: Likewise.
53613         * posix/tst-pcre.c: Likewise.
53614         * posix/wait4.c: Likewise.
53615         * resolv/README: Likewise.
53616         * resolv/res_debug.h: Likewise.
53617         * resolv/tst-inet_ntop.c: Likewise.
53618         * setjmp/bug269-setjmp.c: Likewise.
53619         * soft-fp/extended.h: Likewise.
53620         * soft-fp/op-1.h: Likewise.
53621         * soft-fp/op-2.h: Likewise.
53622         * soft-fp/op-4.h: Likewise.
53623         * soft-fp/op-8.h: Likewise.
53624         * soft-fp/testit.c: Likewise.
53625         * stdio-common/bug16.c: Likewise.
53626         * stdlib/random.c: Likewise.
53627         * sunrpc/rpcsvc/rquota.x: Likewise.
53628         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
53629         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53630         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53631         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53632         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53633         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53634         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53635         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53636         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53637         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53638         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53639         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53640         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53641         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53642         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53643         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53644         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53645         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53646         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53647         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53648         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53649         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53650         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
53651         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53652         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53653         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53655         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53656         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53657         * sysdeps/ieee754/s_lib_version.c: Likewise.
53658         * sysdeps/mach/hurd/check_fds.c: Likewise.
53659         * sysdeps/mach/hurd/getsockname.c: Likewise.
53660         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
53661         * sysdeps/mach/hurd/recvfrom.c: Likewise.
53662         * sysdeps/powerpc/bits/link.h: Likewise.
53663         * sysdeps/powerpc/dl-procinfo.c: Likewise.
53664         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
53665         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
53666         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
53667         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53668         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53669         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
53670         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53671         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
53672         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53673         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
53674         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53675         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
53676         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53677         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53678         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53679         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53680         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53681         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53682         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53683         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53684         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
53685         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53686         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53687         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
53688         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53689         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53690         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53691         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53692         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53693         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53694         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53695         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53696         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53697         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
53698         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53699         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
53700         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53701         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
53702         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
53703         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
53704         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
53705         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
53706         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
53707         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53708         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
53709         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
53710         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53711         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
53712         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
53713         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53714         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53715         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53716         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53717         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
53718         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
53719         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
53720         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53721         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
53722         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
53723         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
53724         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
53725         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
53726         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53727         * sysdeps/powerpc/sysdep.h: Likewise.
53728         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53729         * sysdeps/s390/s390-64/sub_n.S: Likewise.
53730         * sysdeps/sh/dl-trampoline.S: Likewise.
53731         * sysdeps/sh/memset.S: Likewise.
53732         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
53733         * sysdeps/sh/strlen.S: Likewise.
53734         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
53735         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
53736         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
53737         * sysdeps/sparc/sparc32/rem.S: Likewise.
53738         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
53739         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
53740         * sysdeps/sparc/sparc32/strchr.S: Likewise.
53741         * sysdeps/sparc/sparc32/udiv.S: Likewise.
53742         * sysdeps/sparc/sparc32/urem.S: Likewise.
53743         * sysdeps/sparc/sparc64/add_n.S: Likewise.
53744         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53745         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
53746         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
53747         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
53748         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
53749         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
53750         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
53751         * sysdeps/unix/bsd/times.c: Likewise.
53752         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
53753         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
53754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
53755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
53756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
53757         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
53758         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53759         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
53760         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
53761         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
53762         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
53763         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53764         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
53765         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53766         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53767         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
53768         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53769         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
53770         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
53771         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
53772         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
53773         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
53774         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53775         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
53776         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
53777         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
53778         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
53779         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53780         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
53781         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
53782         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
53783         * sysdeps/x86_64/strcspn.S: Likewise.
53785 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53787         * locale/C-translit.h: Revert #include <stdint.h> because this is a
53788         generated file.  Regenerate properly from gen-translit.pl.
53789         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
53790         locale/C-translit.h.
53792 2013-06-05  Andreas Schwab  <schwab@suse.de>
53794         [BZ #15100]
53795         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
53796         week as 6 instead of -1.
53797         * time/tst-strptime.c (day_tests): Add test case.
53799 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53801         * sysdeps/generic/math_private.h
53802         (libc_feholdexcept_setround_53bit): Replace with
53803         libc_feholdsetround_53bit.
53804         (libc_feupdateenv_53bit): Replace with
53805         libc_feresetround_53bit.
53806         (SET_RESTORE_ROUND_53BIT): Adjust.
53808 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53810         * string/test-strchrnul.c: Add copyright header.
53812         * posix/tst-getaddrinfo4.c: Increase test timeout.
53814 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
53816         [BZ #15536]
53817         * math/libm-test.inc (MAX_EXP): Remove
53818         (MIN_EXP): Define.
53819         (ulp): Use MIN_EXP - MANT_DIG.
53820         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
53822 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
53824         * po/be.po: Revert last change.
53825         * po/zh_CN.po: Likewise.
53826         * po/header.pot: Likewise.
53828 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
53830         * Makefile ($(common-objpfx)linkobj/libc.so): Define
53831         link-libc-deps to empty as target-specific variable.
53832         * Makerules (link-libc-args): New variable.
53833         (libc-for-link): Likewise.
53834         (link-libc-deps): Likewise.
53835         (lib%.so): Depend on $(link-libc-deps).  Link with
53836         $(link-libc-args).
53837         (build-module): Link with $(link-libc-args).
53838         (build-module-asneeded): Likewise.
53839         (build-module-helper-objlist): Filter out $(link-libc-deps) from
53840         list of objects.
53841         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
53842         target-specific variable.
53843         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
53844         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
53845         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
53846         libc.
53847         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
53848         libc and ld.so.
53849         ($(objpfx)libpcprofile.so): Likewise.
53850         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
53851         libc_nonshared.a.
53852         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
53853         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
53854         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
53855         $(link-libc-deps).
53856         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
53857         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
53858         * login/Makefile ($(objpfx)libutil.so): Likewise.
53859         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
53860         * math/Makefile ($(objpfx)libm.so): Likewise.
53861         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
53862         $(objpfx)libnsl.so): Define libc-for-link as target-specific
53863         variable instead of depending directly on libc.
53864         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
53865         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
53866         $(link-libc-deps).
53867         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
53868         libc.
53869         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
53870         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
53871         ($(objpfx)libanl.so): Likewise.
53872         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
53873         ld.so.
53874         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
53875         $(link-libc-deps).
53876         * sysdeps/i386/fpu/Makefile: Remove file.
53877         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
53878         ($(objpfx)libm.so): Remove dependency on ld.so.
53880 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
53882         [BZ # 15553]
53883         * nis/yp_xdr.c (XDRMAXNAME): Define.
53884         (XDRMAXRECORD): Define.
53885         (xdr_domainname): Use XDRMAXNAME.
53886         (xdr_mapname): Likewise.
53887         (xdr_peername): Likewise.
53888         (xdr_keydat): Use XDRMAXRECORD.
53889         (xdr_valdat): Likewise.
53891 2013-05-30  Jeff Law  <law@redhat.com>
53893         [BZ #14256]
53894         * manual/errno.texi (ESTALE): Update to account for more than
53895         just NFS file systems.
53896         * sysdeps/gnu/errlist.c: Regenerated.
53898 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53900         [BZ #15465]
53901         * elf/Makefile (tests): Add tst-null-argv.
53902         (modules-names):  Add tst-null-argv-lib.
53903         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
53904         (tst-null-argv-ENV): Set environment for tst-null-argv.
53905         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
53906         (RTLD_PROGNAME): New macro.
53907         * elf/tst-null-argv.c: New test case.
53908         * elf/tst-null-argv-lib.c: Library for test case.
53909         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
53910         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
53911         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
53912         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
53913         * elf/dl-init.c (call_init): Likewise.
53914         (_dl_init): Likewise.
53915         * elf/dl-load.c (print_search_path): Likewise.
53916         (_dl_map_object): Likewise.
53917         * elf/dl-lookup.c (do_lookup_x): Likewise.
53918         (add_dependency): Likewise.
53919         (_dl_lookup_symbol_x): Likewise.
53920         (_dl_debug_bindings): Likewise.
53921         * elf/dl-open.c (_dl_show_scope): Likewise.
53922         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53923         * elf/dl-version.c (match_symbol): Likewise.
53924         (_dl_check_map_versions): Likewise.
53925         * elf/rtld.c (dl_main): Likewise.
53926         (print_unresolved): Use RTLD_PROGNAME.
53927         (print_missing_version): Likewise.
53928         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
53929         (elf_machine_rela): Likewise.
53930         * sysdeps/powerpc/powerpc32/dl-machine.c
53931         (__process_machine_rela): Likewise.
53932         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53933         Likewise.
53934         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53935         Likewise.
53936         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
53937         Likewise.
53938         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53939         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
53940         Likewise.
53941         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53942         Likewise.
53943         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53945 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
53947         * po/be.po: Add descriptive title.
53948         * po/zh_CN.po: Likewise.
53949         * po/header.pot: Likewise.
53951 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53953         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53954         error message.
53955         (enlarge_archive): Likewise.
53957 2013-05-28  Ben North  <ben@redfrontdoor.org>
53959         * manual/arith.texi (frexp): It is the magnitude of the return
53960         value which lies in [0.5, 1), not the return value itself.
53962 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53966 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53968         * stdio-common/bug26.c (main): Correct fscanf template.
53970         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53971         declare _dl_skip_args.
53973         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53974         Don't declare.
53976         * manual/platform.texi: Add missing @end deftypefun.
53978 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53980         [BZ #15529]
53981         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53982         bit of mantissa of 2^16382.
53983         * math/libm-test.inc (hypot_test_data): Add more tests.
53985         * math/libm-test.inc: Add drem and pow10 to list of tested
53986         functions.
53987         (pow10_test): New function.
53988         (drem_test): Likewise.
53989         (drem_test_tonearest): Likewise.
53990         (drem_test_towardzero): Likewise.
53991         (drem_test_downward): Likewise.
53992         (drem_test_upward): Likewise.
53993         (main): Call the new functions.
53995         * math/libm-test.inc (finite_test_data): Remove.
53996         (finite_test): Run tests from isfinite_test_data.
53997         (gamma_test_data): Remove.
53998         (gamma_test): Run tests from lgamma_test_data.
53999         * sysdeps/i386/fpu/libm-test-ulps: Update.
54000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54002 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54004         * manual/platform.texi: Add PowerPC PPR function set documentation.
54005         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54006         implementation.
54008 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
54010         * math/libm-test.inc (MAX_EXP): Define.
54011         (ULPDIFF): Define.
54012         (ulp): New function.
54013         (check_float_internal): Use ULPDIFF.
54014         (cpow_test): Disable failing test.
54015         (check_ulp): Test ulp() implementation.
54016         (main): Call check_ulp before starting tests.
54018 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54020         * math/gen-libm-test.pl (generate_testfile): Do not handle
54021         START_DATA and END_DATA.
54022         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54023         END_DATA.
54024         (acos_tonearest_test_data): Likewise.
54025         (acos_towardzero_test_data): Likewise.
54026         (acos_downward_test_data): Likewise.
54027         (acos_upward_test_data): Likewise.
54028         (acosh_test_data): Likewise.
54029         (asin_test_data): Likewise.
54030         (asin_tonearest_test_data): Likewise.
54031         (asin_towardzero_test_data): Likewise.
54032         (asin_downward_test_data): Likewise.
54033         (asin_upward_test_data): Likewise.
54034         (asinh_test_data): Likewise.
54035         (atan_test_data): Likewise.
54036         (atanh_test_data): Likewise.
54037         (atan2_test_data): Likewise.
54038         (cabs_test_data): Likewise.
54039         (cacos_test_data): Likewise.
54040         (cacosh_test_data): Likewise.
54041         (carg_test_data): Likewise.
54042         (casin_test_data): Likewise.
54043         (casinh_test_data): Likewise.
54044         (catan_test_data): Likewise.
54045         (catanh_test_data): Likewise.
54046         (cbrt_test_data): Likewise.
54047         (ccos_test_data): Likewise.
54048         (ccosh_test_data): Likewise.
54049         (ceil_test_data): Likewise.
54050         (cexp_test_data): Likewise.
54051         (cimag_test_data): Likewise.
54052         (clog_test_data): Likewise.
54053         (clog10_test_data): Likewise.
54054         (conj_test_data): Likewise.
54055         (copysign_test_data): Likewise.
54056         (cos_test_data): Likewise.
54057         (cos_tonearest_test_data): Likewise.
54058         (cos_towardzero_test_data): Likewise.
54059         (cos_downward_test_data): Likewise.
54060         (cos_upward_test_data): Likewise.
54061         (cosh_test_data): Likewise.
54062         (cosh_tonearest_test_data): Likewise.
54063         (cosh_towardzero_test_data): Likewise.
54064         (cosh_downward_test_data): Likewise.
54065         (cosh_upward_test_data): Likewise.
54066         (cpow_test_data): Likewise.
54067         (cproj_test_data): Likewise.
54068         (creal_test_data): Likewise.
54069         (csin_test_data): Likewise.
54070         (csinh_test_data): Likewise.
54071         (csqrt_test_data): Likewise.
54072         (ctan_test_data): Likewise.
54073         (ctan_tonearest_test_data): Likewise.
54074         (ctan_towardzero_test_data): Likewise.
54075         (ctan_downward_test_data): Likewise.
54076         (ctan_upward_test_data): Likewise.
54077         (ctanh_test_data): Likewise.
54078         (ctanh_tonearest_test_data): Likewise.
54079         (ctanh_towardzero_test_data): Likewise.
54080         (ctanh_downward_test_data): Likewise.
54081         (ctanh_upward_test_data): Likewise.
54082         (erf_test_data): Likewise.
54083         (erfc_test_data): Likewise.
54084         (exp_test_data): Likewise.
54085         (exp_tonearest_test_data): Likewise.
54086         (exp_towardzero_test_data): Likewise.
54087         (exp_downward_test_data): Likewise.
54088         (exp_upward_test_data): Likewise.
54089         (exp10_test_data): Likewise.
54090         (exp2_test_data): Likewise.
54091         (expm1_test_data): Likewise.
54092         (fabs_test_data): Likewise.
54093         (fdim_test_data): Likewise.
54094         (finite_test_data): Likewise.
54095         (floor_test_data): Likewise.
54096         (fma_test_data): Likewise.
54097         (fma_towardzero_test_data): Likewise.
54098         (fma_downward_test_data): Likewise.
54099         (fma_upward_test_data): Likewise.
54100         (fmax_test_data): Likewise.
54101         (fmin_test_data): Likewise.
54102         (fmod_test_data): Likewise.
54103         (fpclassify_test_data): Likewise.
54104         (frexp_test_data): Likewise.
54105         (gamma_test_data): Likewise.
54106         (hypot_test_data): Likewise.
54107         (ilogb_test_data): Likewise.
54108         (isfinite_test_data): Likewise.
54109         (isgreater_test_data): Likewise.
54110         (isgreaterequal_test_data): Likewise.
54111         (isinf_test_data): Likewise.
54112         (isless_test_data): Likewise.
54113         (islessequal_test_data): Likewise.
54114         (islessgreater_test_data): Likewise.
54115         (isnan_test_data): Likewise.
54116         (isnormal_test_data): Likewise.
54117         (issignaling_test_data): Likewise.
54118         (isunordered_test_data): Likewise.
54119         (j0_test_data): Likewise.
54120         (j1_test_data): Likewise.
54121         (jn_test_data): Likewise.
54122         (ldexp_test_data): Likewise.
54123         (lgamma_test_data): Likewise.
54124         (lrint_test_data): Likewise.
54125         (lrint_tonearest_test_data): Likewise.
54126         (lrint_towardzero_test_data): Likewise.
54127         (lrint_downward_test_data): Likewise.
54128         (lrint_upward_test_data): Likewise.
54129         (llrint_test_data): Likewise.
54130         (llrint_tonearest_test_data): Likewise.
54131         (llrint_towardzero_test_data): Likewise.
54132         (llrint_downward_test_data): Likewise.
54133         (llrint_upward_test_data): Likewise.
54134         (log_test_data): Likewise.
54135         (log10_test_data): Likewise.
54136         (log1p_test_data): Likewise.
54137         (log2_test_data): Likewise.
54138         (logb_test_data): Likewise.
54139         (logb_downward_test_data): Likewise.
54140         (lround_test_data): Likewise.
54141         (llround_test_data): Likewise.
54142         (modf_test_data): Likewise.
54143         (nearbyint_test_data): Likewise.
54144         (nextafter_test_data): Likewise.
54145         (nexttoward_test_data): Likewise.
54146         (pow_test_data): Likewise.
54147         (pow_tonearest_test_data): Likewise.
54148         (pow_towardzero_test_data): Likewise.
54149         (pow_downward_test_data): Likewise.
54150         (pow_upward_test_data): Likewise.
54151         (remainder_test_data): Likewise.
54152         (remainder_tonearest_test_data): Likewise.
54153         (remainder_towardzero_test_data): Likewise.
54154         (remainder_downward_test_data): Likewise.
54155         (remainder_upward_test_data): Likewise.
54156         (remquo_test_data): Likewise.
54157         (rint_test_data): Likewise.
54158         (rint_tonearest_test_data): Likewise.
54159         (rint_towardzero_test_data): Likewise.
54160         (rint_downward_test_data): Likewise.
54161         (rint_upward_test_data): Likewise.
54162         (round_test_data): Likewise.
54163         (scalb_test_data): Likewise.
54164         (scalbn_test_data): Likewise.
54165         (scalbln_test_data): Likewise.
54166         (signbit_test_data): Likewise.
54167         (sin_test_data): Likewise.
54168         (sin_tonearest_test_data): Likewise.
54169         (sin_towardzero_test_data): Likewise.
54170         (sin_downward_test_data): Likewise.
54171         (sin_upward_test_data): Likewise.
54172         (sincos_test_data): Likewise.
54173         (sinh_test_data): Likewise.
54174         (sinh_tonearest_test_data): Likewise.
54175         (sinh_towardzero_test_data): Likewise.
54176         (sinh_downward_test_data): Likewise.
54177         (sinh_upward_test_data): Likewise.
54178         (sqrt_test_data): Likewise.
54179         (tan_test_data): Likewise.
54180         (tan_tonearest_test_data): Likewise.
54181         (tan_towardzero_test_data): Likewise.
54182         (tan_downward_test_data): Likewise.
54183         (tan_upward_test_data): Likewise.
54184         (tanh_test_data): Likewise.
54185         (tgamma_test_data): Likewise.
54186         (trunc_test_data): Likewise.
54187         (y0_test_data): Likewise.
54188         (y1_test_data): Likewise.
54189         (yn_test_data): Likewise.
54190         (significand_test_data): Likewise.
54192         * math/gen-libm-test.pl (@functions): Remove variable.
54193         (generate_testfile): Don't handle START and END lines.
54194         * math/libm-test.inc (START): New macro.
54195         (END): Likewise.
54196         (END_COMPLEX): Likewise.
54197         (acos_test): Use END macro without arguments.
54198         (acos_test_tonearest): Likewise.
54199         (acos_test_towardzero): Likewise.
54200         (acos_test_downward): Likewise.
54201         (acos_test_upward): Likewise.
54202         (acosh_test): Likewise.
54203         (asin_test): Likewise.
54204         (asin_test_tonearest): Likewise.
54205         (asin_test_towardzero): Likewise.
54206         (asin_test_downward): Likewise.
54207         (asin_test_upward): Likewise.
54208         (asinh_test): Likewise.
54209         (atan_test): Likewise.
54210         (atanh_test): Likewise.
54211         (atan2_test): Likewise.
54212         (cabs_test): Likewise.
54213         (cacos_test): Use END_COMPLEX macro without arguments.
54214         (cacosh_test): Likewise.
54215         (carg_test): Use END macro without arguments.
54216         (casin_test): Use END_COMPLEX macro without arguments.
54217         (casinh_test): Likewise.
54218         (catan_test): Likewise.
54219         (catanh_test): Likewise.
54220         (cbrt_test): Use END macro without arguments.
54221         (ccos_test): Use END_COMPLEX macro without arguments.
54222         (ccosh_test): Likewise.
54223         (ceil_test): Use END macro without arguments.
54224         (cexp_test): Use END_COMPLEX macro without arguments.
54225         (cimag_test): Use END macro without arguments.
54226         (clog_test): Use END_COMPLEX macro without arguments.
54227         (clog10_test): Likewise.
54228         (conj_test): Likewise.
54229         (copysign_test): Use END macro without arguments.
54230         (cos_test): Likewise.
54231         (cos_test_tonearest): Likewise.
54232         (cos_test_towardzero): Likewise.
54233         (cos_test_downward): Likewise.
54234         (cos_test_upward): Likewise.
54235         (cosh_test): Likewise.
54236         (cosh_test_tonearest): Likewise.
54237         (cosh_test_towardzero): Likewise.
54238         (cosh_test_downward): Likewise.
54239         (cosh_test_upward): Likewise.
54240         (cpow_test): Use END_COMPLEX macro without arguments.
54241         (cproj_test): Likewise.
54242         (creal_test): Use END macro without arguments.
54243         (csin_test): Use END_COMPLEX macro without arguments.
54244         (csinh_test): Likewise.
54245         (csqrt_test): Likewise.
54246         (ctan_test): Likewise.
54247         (ctan_test_tonearest): Likewise.
54248         (ctan_test_towardzero): Likewise.
54249         (ctan_test_downward): Likewise.
54250         (ctan_test_upward): Likewise.
54251         (ctanh_test): Likewise.
54252         (ctanh_test_tonearest): Likewise.
54253         (ctanh_test_towardzero): Likewise.
54254         (ctanh_test_downward): Likewise.
54255         (ctanh_test_upward): Likewise.
54256         (erf_test): Use END macro without arguments.
54257         (erfc_test): Likewise.
54258         (exp_test): Likewise.
54259         (exp_test_tonearest): Likewise.
54260         (exp_test_towardzero): Likewise.
54261         (exp_test_downward): Likewise.
54262         (exp_test_upward): Likewise.
54263         (exp10_test): Likewise.
54264         (exp2_test): Likewise.
54265         (expm1_test): Likewise.
54266         (fabs_test): Likewise.
54267         (fdim_test): Likewise.
54268         (finite_test): Likewise.
54269         (floor_test): Likewise.
54270         (fma_test): Likewise.
54271         (fma_test_towardzero): Likewise.
54272         (fma_test_downward): Likewise.
54273         (fma_test_upward): Likewise.
54274         (fmax_test): Likewise.
54275         (fmin_test): Likewise.
54276         (fmod_test): Likewise.
54277         (fpclassify_test): Likewise.
54278         (frexp_test): Likewise.
54279         (gamma_test): Likewise.
54280         (hypot_test): Likewise.
54281         (ilogb_test): Likewise.
54282         (isfinite_test): Likewise.
54283         (isgreater_test): Likewise.
54284         (isgreaterequal_test): Likewise.
54285         (isinf_test): Likewise.
54286         (isless_test): Likewise.
54287         (islessequal_test): Likewise.
54288         (islessgreater_test): Likewise.
54289         (isnan_test): Likewise.
54290         (isnormal_test): Likewise.
54291         (issignaling_test): Likewise.
54292         (isunordered_test): Likewise.
54293         (j0_test): Likewise.
54294         (j1_test): Likewise.
54295         (jn_test): Likewise.
54296         (ldexp_test): Likewise.
54297         (lgamma_test): Likewise.
54298         (lrint_test): Likewise.
54299         (lrint_test_tonearest): Likewise.
54300         (lrint_test_towardzero): Likewise.
54301         (lrint_test_downward): Likewise.
54302         (lrint_test_upward): Likewise.
54303         (llrint_test): Likewise.
54304         (llrint_test_tonearest): Likewise.
54305         (llrint_test_towardzero): Likewise.
54306         (llrint_test_downward): Likewise.
54307         (llrint_test_upward): Likewise.
54308         (log_test): Likewise.
54309         (log10_test): Likewise.
54310         (log1p_test): Likewise.
54311         (log2_test): Likewise.
54312         (logb_test): Likewise.
54313         (logb_test_downward): Likewise.
54314         (lround_test): Likewise.
54315         (llround_test): Likewise.
54316         (modf_test): Likewise.
54317         (nearbyint_test): Likewise.
54318         (nextafter_test): Likewise.
54319         (nexttoward_test): Likewise.
54320         (pow_test): Likewise.
54321         (pow_test_tonearest): Likewise.
54322         (pow_test_towardzero): Likewise.
54323         (pow_test_downward): Likewise.
54324         (pow_test_upward): Likewise.
54325         (remainder_test): Likewise.
54326         (remainder_test_tonearest): Likewise.
54327         (remainder_test_towardzero): Likewise.
54328         (remainder_test_downward): Likewise.
54329         (remainder_test_upward): Likewise.
54330         (remquo_test): Likewise.
54331         (rint_test): Likewise.
54332         (rint_test_tonearest): Likewise.
54333         (rint_test_towardzero): Likewise.
54334         (rint_test_downward): Likewise.
54335         (rint_test_upward): Likewise.
54336         (round_test): Likewise.
54337         (scalb_test): Likewise.
54338         (scalbn_test): Likewise.
54339         (scalbln_test): Likewise.
54340         (signbit_test): Likewise.
54341         (sin_test): Likewise.
54342         (sin_test_tonearest): Likewise.
54343         (sin_test_towardzero): Likewise.
54344         (sin_test_downward): Likewise.
54345         (sin_test_upward): Likewise.
54346         (sincos_test): Likewise.
54347         (sinh_test): Likewise.
54348         (sinh_test_tonearest): Likewise.
54349         (sinh_test_towardzero): Likewise.
54350         (sinh_test_downward): Likewise.
54351         (sinh_test_upward): Likewise.
54352         (sqrt_test): Likewise.
54353         (tan_test): Likewise.
54354         (tan_test_tonearest): Likewise.
54355         (tan_test_towardzero): Likewise.
54356         (tan_test_downward): Likewise.
54357         (tan_test_upward): Likewise.
54358         (tanh_test): Likewise.
54359         (tgamma_test): Likewise.
54360         (trunc_test): Likewise.
54361         (y0_test): Likewise.
54362         (y1_test): Likewise.
54363         (yn_test): Likewise.
54364         (significand_test): Likewise.
54366 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
54368         [BZ #15381]
54369         * libio/genops.c (_IO_no_init): Initialize wide struct info.
54371 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54373         [BZ #14894]
54374         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
54375         __ppc_mdoio and __ppc_mdoom.
54376         * manual/platform.texi: Document new functions __ppc_yield,
54377         __ppc_mdoio and __ppc_mdoom.
54379 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
54381         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
54382         (main): Mention "tls" pseudo-hwcap is legacy.
54383         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
54385 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
54387         * math/gen-libm-test.pl (parse_args): Output only string of
54388         arguments as text for test name, not full call or descriptions of
54389         tests for extra outputs.
54390         (generate_testfile): Do not pass function name to parse_args.
54391         Generate this_func variable from START.
54392         * math/libm-test.inc (struct test_f_f_data): Rename test_name
54393         field to arg_str.
54394         (struct test_ff_f_data): Likewise.
54395         (test_ff_f_data_nexttoward): Likewise.
54396         (struct test_fi_f_data): Likewise.
54397         (struct test_fl_f_data): Likewise.
54398         (struct test_if_f_data): Likewise.
54399         (struct test_fff_f_data): Likewise.
54400         (struct test_c_f_data): Likewise.
54401         (struct test_f_f1_data): Likewise.  Remove field extra_name.
54402         (struct test_fF_f1_data): Likewise.
54403         (struct test_ffI_f1_data): Likewise.
54404         (struct test_c_c_data): Rename test_name field to arg_str.
54405         (struct test_cc_c_data): Likewise.
54406         (struct test_f_i_data): Likewise.
54407         (struct test_ff_i_data): Likewise.
54408         (struct test_f_l_data): Likewise.
54409         (struct test_f_L_data): Likewise.
54410         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
54411         and extra2_name.
54412         (COMMON_TEST_SETUP): New macro.
54413         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
54414         (COMMON_TEST_CLEANUP): Likewise.
54415         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
54416         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
54417         macros.
54418         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
54419         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
54420         macros.
54421         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
54422         (RUN_TEST_fff_f): Take argument string.  Call new setup and
54423         cleanup macros.
54424         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
54425         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
54426         macros.
54427         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
54428         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
54429         macros.
54430         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
54431         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
54432         cleanup macros.
54433         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
54434         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
54435         cleanup macros.
54436         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
54437         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
54438         cleanup macros.
54439         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
54440         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
54441         macros.
54442         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
54443         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
54444         macros.
54445         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
54446         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
54447         macros.
54448         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
54449         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
54450         cleanup macros.
54451         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
54452         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
54453         cleanup macros.
54454         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
54455         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
54456         macros.
54457         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
54458         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
54459         cleanup macros.
54460         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
54461         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
54462         macros.
54463         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
54464         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
54465         macros.
54466         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
54467         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
54468         cleanup macros.
54469         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
54471 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
54473         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
54474         to _sifields.sigfault.
54475         (si_addr_lsb): Define new macro.
54476         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54478         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
54480 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
54482         [BZ #15441]
54483         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
54484         returns -1.
54485         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
54486         null return -1.
54487         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
54488         loading the domain.
54490 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
54492         * math/gen-libm-test.pl (parse_args): Do not include expected
54493         result in test name.
54494         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
54495         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54496         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54497         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54498         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54501 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54503         * benchtests/Makefile: Sort function entries.
54505         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
54506         tanh, asinh, acosh, atanh.
54507         * benchtests/acos-inputs: New file.
54508         * benchtests/acosh-inputs: New file.
54509         * benchtests/asin-inputs: New file.
54510         * benchtests/asinh-inputs: New file.
54511         * benchtests/atanh-inputs: New file.
54512         * benchtests/cosh-inputs: New file.
54513         * benchtests/log-inputs: New file.
54514         * benchtests/sinh-inputs: New file.
54515         * benchtests/tanh-inputs: New file.
54517 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
54519         [BZ #15339]
54520         * posix/tst-getaddrinfo4.c: New test.
54521         * posix/Makefile (tests): Add it.
54523 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54525         [BZ #15339]
54526         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
54527         when no services were used.
54528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
54529         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
54531 2013-05-21  Andreas Schwab  <schwab@suse.de>
54533         [BZ #15014]
54534         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
54535         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
54536         successful.
54537         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
54538         redundant variable declarations and reallocation of buffer when
54539         parsing as IPv6 address.  Always set NSS status when called from
54540         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
54541         buffer too small.  Correct computation of needed size.
54542         * nss/Makefile (tests): Add test-digits-dots.
54543         * nss/test-digits-dots.c: New test.
54545 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54547         * benchtests/Makefile: Remove instructions for adding
54548         benchmark tests.
54549         * benchtests/README: New file to explain how to execute and
54550         enhance the benchmark tests.
54552 2013-05-21  Andreas Schwab  <schwab@suse.de>
54554         [BZ #15493]
54555         * setjmp/Makefile (tests): Add tst-sigsetjmp.
54556         * setjmp/tst-sigsetjmp.c: New test.
54558 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
54560         * sysdeps/x86_64/memset.S (memset): New implementation.
54561         (__bzero): Likewise.
54562         (__memset_tail): New function.
54564 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
54566         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
54567         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
54568         __memcpy_sse2_unaligned ifunc selection.
54569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54570         Add memcpy-sse2-unaligned.S.
54571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54572         Add: __memcpy_sse2_unaligned.
54574 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
54576         [BZ #15490]
54577         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54578         math_force_eval before restoring floating-point envrionment.
54579         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
54580         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
54581         Likewise.
54582         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
54583         <math_private.h>.
54584         (__nearbyintl): Use math_force_eval before restoring
54585         floating-point environment.
54586         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
54588         * math/gen-libm-test.pl (special_functions): Remove.
54589         (parse_args): Don't handle TEST_extra.  Handle functions with no
54590         return value.
54591         * math/libm-test.inc (struct test_sincos_data): Replace with
54592         struct test_fFF_11_data.
54593         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
54594         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
54595         (sincos_test_data): Change element type to struct
54596         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
54597         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
54598         RUN_TEST_LOOP_sincos.
54599         * math/README.libm-test: Don't mention special handling of
54600         individual functions.
54601         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
54602         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54603         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54604         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54605         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54608         * math/gen-libm-test.pl (get_variable): Remove function.
54609         (parse_args): Don't show pointer parameters to call in test
54610         names.  Use "extra output N" in test names for extra outputs
54611         rather than naming variables.
54613 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
54615         [BZ #15488]
54616         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
54617         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
54618         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
54619         double tests.
54620         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
54621         disable.
54622         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
54623         check_long_double.
54625         * math/gen-libm-test.pl (@tests): Remove variable.
54626         ($count): Likewise.
54627         (new_test): Remove function.
54628         (show_exceptions): New function.
54629         (special_functions): Use show_exceptions instead of new_test.
54630         (parse_args): Likewise.
54631         (generate_testfile): Pass only function name in generated call to
54632         print_max_error or print_complex_max_error.
54633         (get_ulps): Do not handle complex tests specially.
54634         (output_test): Rename to ...
54635         (get_all_ulps_for_test): ... this.  Return a string rather than
54636         printing to a file.  Require ulps to be present.
54637         (output_ulps): Generate arrays rather than #defines.
54638         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
54639         (struct ulp_data): New type.
54640         (BUILD_COMPLEX_ULP): Remove macro.
54641         (compare_ulp_data): New function.
54642         (find_ulps): Likewise.
54643         (find_test_ulps): Likewise.
54644         (find_function_ulps): Likewise.
54645         (find_complex_function_ulps): Likewise.
54646         (print_max_error): Determine allowed ulps using
54647         find_function_ulps.
54648         (print_complex_max_error): Determine allowed ulps using
54649         find_complex_function_ulps.
54650         (check_float_internal): Determine max ulps using find_test_ulps.
54651         (check_float): Do not take max_ulp parameter.  Update call to
54652         check_float_internal.
54653         (check_complex): Likewise.
54654         (check_int): Do not take max_ulp parameter.
54655         (check_long): Likewise.
54656         (check_bool): Likewise.
54657         (check_longlong): Likewise.
54658         (struct test_f_f_data): Remove max_ulp field.
54659         (struct test_ff_f_data): Likewise.
54660         (struct test_ff_f_data_nexttoward): Likewise.
54661         (struct test_fi_f_data): Likewise.
54662         (struct test_fl_f_data): Likewise.
54663         (struct test_if_f_data): Likewise.
54664         (struct test_fff_f_data): Likewise.
54665         (struct test_c_f_data): Likewise.
54666         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
54667         (struct test_fF_f1_data): Likewise.
54668         (struct test_ffI_f1_data): Likewise.
54669         (struct test_c_c_data): Remove max_ulp field.
54670         (struct test_cc_c_data): Likewise.
54671         (struct test_f_i_data): Likewise.
54672         (struct test_ff_i_data): Likewise.
54673         (struct test_f_l_data): Likewise.
54674         (struct test_f_L_data): Likewise.
54675         (struct test_sincos_data): Likewise.
54676         (RUN_TEST_f_f): Do not handle ulps.
54677         (RUN_TEST_LOOP_f_f): Likewise.
54678         (RUN_TEST_2_f): Likewise.
54679         (RUN_TEST_LOOP_2_f): Likewise.
54680         (RUN_TEST_fff_f): Likewise.
54681         (RUN_TEST_LOOP_fff_f): Likewise.
54682         (RUN_TEST_c_f): Likewise.
54683         (RUN_TEST_LOOP_c_f): Likewise.
54684         (RUN_TEST_f_f1): Likewise.
54685         (RUN_TEST_LOOP_f_f1): Likewise.
54686         (RUN_TEST_fF_f1): Likewise.
54687         (RUN_TEST_LOOP_fF_f1): Likewise.
54688         (RUN_TEST_fI_f1): Likewise.
54689         (RUN_TEST_LOOP_fI_f1): Likewise.
54690         (RUN_TEST_ffI_f1): Likewise.
54691         (RUN_TEST_LOOP_ffI_f1): Likewise.
54692         (RUN_TEST_c_c): Likewise.
54693         (RUN_TEST_LOOP_c_c): Likewise.
54694         (RUN_TEST_cc_c): Likewise.
54695         (RUN_TEST_LOOP_cc_c): Likewise.
54696         (RUN_TEST_f_i): Likewise.
54697         (RUN_TEST_LOOP_f_i): Likewise.
54698         (RUN_TEST_f_i_tg): Likewise.
54699         (RUN_TEST_LOOP_f_i_tg): Likewise.
54700         (RUN_TEST_ff_i_tg): Likewise.
54701         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54702         (RUN_TEST_f_b): Likewise.
54703         (RUN_TEST_LOOP_f_b): Likewise.
54704         (RUN_TEST_f_b_tg): Likewise.
54705         (RUN_TEST_LOOP_f_b_tg): Likewise.
54706         (RUN_TEST_f_l): Likewise.
54707         (RUN_TEST_LOOP_f_l): Likewise.
54708         (RUN_TEST_f_L): Likewise.
54709         (RUN_TEST_LOOP_f_L): Likewise.
54710         (RUN_TEST_sincos): Likewise.
54711         (RUN_TEST_LOOP_sincos): Likewise.
54713 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
54715         [BZ #15480]
54716         [BZ #15485]
54717         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
54718         main case of finite arguments, set rounding mode to FE_TONEAREST
54719         and discard exceptions.
54720         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
54721         exceptions.
54722         (remainder_tonearest_test_data): New variable.
54723         (remainder_test_tonearest): New function.
54724         (remainder_towardzero_test_data): New variable.
54725         (remainder_test_towardzero): New function.
54726         (remainder_downward_test_data): New variable.
54727         (remainder_test_downward): New function.
54728         (remainder_upward_test_data): New variable.
54729         (remainder_test_upward): New function.
54730         (main): Call the new test functions.
54732         * math/libm-test.inc (struct test_f_f1_data): Remove field
54733         extra_init.
54734         (struct test_fF_f1_data): Likewise.
54735         (struct test_ffI_f1_data): Likewise.
54736         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
54737         based on value of EXTRA_EXPECTED.
54738         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
54739         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
54740         EXTRA_VAR based on value of EXTRA_EXPECTED.
54741         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
54742         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
54743         EXTRA_VAR based on value of EXTRA_EXPECTED.
54744         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
54745         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
54746         EXTRA_VAR based on value of EXTRA_EXPECTED.
54747         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
54748         * math/gen-libm-test.pl (parse_args): Don't output initializers
54749         for extra output values.
54751         * math/libm-test.inc (check_int): Expect result to be exactly
54752         equal to expected value and do not handle ulps.
54753         (check_long): Likewise.
54754         (check_longlong): Likewise.
54756         * math/libm-test.inc (ceil_test_data): Test for "inexact"
54757         exceptions.
54758         (cimag_test_data): Likewise.
54759         (conj_test_data): Likewise.
54760         (copysign_test_data): Likewise.
54761         (cproj_test_data): Likewise.
54762         (creal_test_data): Likewise.
54763         (fabs_test_data): Likewise.
54764         (fdim_test_data): Likewise.
54765         (finite_test_data): Likewise.
54766         (floor_test_data): Likewise.
54767         (fmax_test_data): Likewise.
54768         (fmin_test_data): Likewise.
54769         (fmod_test_data): Likewise.
54770         (fpclassify_test_data): Likewise.
54771         (frexp_test_data): Likewise.
54772         (ilogb_test_data): Likewise.
54773         (isfinite_test_data): Likewise.
54774         (isgreater_test_data): Likewise.
54775         (isgreaterequal_test_data): Likewise.
54776         (isinf_test_data): Likewise.
54777         (isless_test_data): Likewise.
54778         (islessequal_test_data): Likewise.
54779         (islessgreater_test_data): Likewise.
54780         (isnan_test_data): Likewise.
54781         (isnormal_test_data): Likewise.
54782         (issignaling_test_data): Likewise.
54783         (isunordered_test_data): Likewise.
54784         (ldexp_test_data): Likewise.
54785         (lrint_test_data): Likewise.
54786         (lrint_test_data) [TEST_FLOAT]: Disable one test.
54787         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
54788         (lrint_tonearest_test_data): Test for "inexact" exceptions.
54789         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54790         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
54791         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54792         test input.
54793         (lrint_towardzero_test_data): Test for "inexact" exceptions.
54794         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54795         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
54796         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
54797         that test input.
54798         (lrint_downward_test_data): Test for "inexact" exceptions.
54799         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54800         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
54801         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54802         test input.
54803         (lrint_upward_test_data): Test for "inexact" exceptions.
54804         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
54805         test input.
54806         (llrint_test_data): Test for "inexact" exceptions.
54807         (llrint_test_data) [TEST_FLOAT]: Disable one test.
54808         (llrint_tonearest_test_data): Test for "inexact" exceptions.
54809         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54810         (llrint_towardzero_test_data): Test for "inexact" exceptions.
54811         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54812         (llrint_downward_test_data): Test for "inexact" exceptions.
54813         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54814         (llrint_upward_test_data): Test for "inexact" exceptions.
54815         (logb_test_data): Likewise.
54816         (logb_downward_test_data): Likewise.
54817         (nextafter_test_data): Likewise.
54818         (nexttoward_test_data): Likewise.
54819         (remainder_test_data): Likewise.
54820         (remquo_test_data): Likewise.
54821         (scalbn_test_data): Likewise.
54822         (scalbln_test_data): Likewise.
54823         (signbit_test_data): Likewise.
54824         (sqrt_test_data): Likewise.
54825         (significand_test_data): Likewise.
54827 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54829         [BZ #15424]
54830         * benchtests/bench-modf.c (struct args): Mark arg0 as
54831         volatile.
54832         * scripts/bench.pl: Mark members of struct args as volatile.
54834 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54836         [BZ # 15497]
54837         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
54838         negative infinity on POWER6 or lower.
54839         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
54841 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
54843         [BZ #15442]
54844         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
54845         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
54846         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
54847         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
54848         (_FP_SETQNAN): New macro.
54849         (_FP_SETQNAN_SEMIRAW): Likewise.
54850         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
54851         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
54852         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
54853         (FP_EXTEND): Use _FP_FRAC_SNANP.
54854         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
54855         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
54856         into account.
54857         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54858         New macro.
54859         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54860         Likewise.
54862 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54864         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
54865         with DIVIDE_BY_ZERO_EXCEPTION.
54866         (gamma_test_data): Likewise.
54867         (lgamma_test_data): Likewise.
54868         (log_test_data): Likewise.
54869         (log10_test_data): Likewise.
54870         (log2_test_data): Likewise.
54871         (tgamma_test_data): Likewise.
54873         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
54874         (acos_test_tonearest): Likewise.
54875         (acos_test_towardzero): Likewise.
54876         (acos_test_downward): Likewise.
54877         (acos_test_upward): Likewise.
54878         (acosh_test): Likewise.
54879         (asin_test): Likewise.
54880         (asin_test_tonearest): Likewise.
54881         (asin_test_towardzero): Likewise.
54882         (asin_test_downward): Likewise.
54883         (asin_test_upward): Likewise.
54884         (asinh_test): Likewise.
54885         (atan_test): Likewise.
54886         (atanh_test): Likewise.
54887         (atan2_test): Likewise.
54888         (cabs_test): Likewise.
54889         (cacos_test): Likewise.
54890         (cacosh_test): Likewise.
54891         (casin_test): Likewise.
54892         (casinh_test): Likewise.
54893         (catan_test): Likewise.
54894         (catanh_test): Likewise.
54895         (cbrt_test): Likewise.
54896         (ccos_test): Likewise.
54897         (ccosh_test): Likewise.
54898         (cexp_test): Likewise.
54899         (clog_test): Likewise.
54900         (clog10_test): Likewise.
54901         (cos_test): Likewise.
54902         (cos_test_tonearest): Likewise.
54903         (cos_test_towardzero): Likewise.
54904         (cos_test_downward): Likewise.
54905         (cos_test_upward): Likewise.
54906         (cosh_test): Likewise.
54907         (cosh_test_tonearest): Likewise.
54908         (cosh_test_towardzero): Likewise.
54909         (cosh_test_downward): Likewise.
54910         (cosh_test_upward): Likewise.
54911         (cpow_test): Likewise.
54912         (csin_test): Likewise.
54913         (csinh_test): Likewise.
54914         (csqrt_test): Likewise.
54915         (ctan_test): Likewise.
54916         (ctan_test_tonearest): Likewise.
54917         (ctan_test_towardzero): Likewise.
54918         (ctan_test_downward): Likewise.
54919         (ctan_test_upward): Likewise.
54920         (ctanh_test): Likewise.
54921         (ctanh_test_tonearest): Likewise.
54922         (ctanh_test_towardzero): Likewise.
54923         (ctanh_test_downward): Likewise.
54924         (ctanh_test_upward): Likewise.
54925         (erf_test): Likewise.
54926         (erfc_test): Likewise.
54927         (exp_test): Likewise.
54928         (exp_test_tonearest): Likewise.
54929         (exp_test_towardzero): Likewise.
54930         (exp_test_downward): Likewise.
54931         (exp_test_upward): Likewise.
54932         (exp10_test): Likewise.
54933         (exp2_test): Likewise.
54934         (expm1_test): Likewise.
54935         (fmod_test): Likewise.
54936         (gamma_test): Likewise.
54937         (hypot_test): Likewise.
54938         (j0_test): Likewise.
54939         (j1_test): Likewise.
54940         (jn_test): Likewise.
54941         (lgamma_test): Likewise.
54942         (log_test): Likewise.
54943         (log10_test): Likewise.
54944         (log1p_test): Likewise.
54945         (log2_test): Likewise.
54946         (logb_test_downward): Likewise.
54947         (pow_test): Likewise.
54948         (pow_test_tonearest): Likewise.
54949         (pow_test_towardzero): Likewise.
54950         (pow_test_downward): Likewise.
54951         (pow_test_upward): Likewise.
54952         (remainder_test): Likewise.
54953         (remquo_test): Likewise.
54954         (sin_test): Likewise.
54955         (sin_test_tonearest): Likewise.
54956         (sin_test_towardzero): Likewise.
54957         (sin_test_downward): Likewise.
54958         (sin_test_upward): Likewise.
54959         (sincos_test): Likewise.
54960         (sinh_test): Likewise.
54961         (sinh_test_tonearest): Likewise.
54962         (sinh_test_towardzero): Likewise.
54963         (sinh_test_downward): Likewise.
54964         (sinh_test_upward): Likewise.
54965         (sqrt_test): Likewise.
54966         (tan_test): Likewise.
54967         (tan_test_tonearest): Likewise.
54968         (tan_test_towardzero): Likewise.
54969         (tan_test_downward): Likewise.
54970         (tan_test_upward): Likewise.
54971         (tanh_test): Likewise.
54972         (tgamma_test): Likewise.
54973         (y0_test): Likewise.
54974         (y1_test): Likewise.
54975         (yn_test): Likewise.
54977         * math/gen-libm-test.pl (adjust_arg): Remove function.
54978         (special_function): Remove argument $in_func.  Only handle
54979         generating output for tables of tests, not inside functions.
54980         (parse_args): Likewise.
54981         (generate_testfile): Remove variable $in_func.  Update call to
54982         parse_args.
54983         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54984         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54985         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54986         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54987         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54988         (MAX_VALUE_INIT): Rename macro to max_value.
54989         (MIN_VALUE_INIT): Rename macro to min_value.
54990         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54991         (plus_zero): Remove variable.
54992         (minus_zero): Likewise.
54993         (plus_infty): Likewise.
54994         (minus_infty): Likewise.
54995         (qnan_value): Likewise.
54996         (max_value): Likewise.
54997         (min_value): Likewise.
54998         (min_subnorm_value): Likewise.
55000 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55002         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55003         uint64_t or uint32_t usage.
55004         * crypt/sha256-block.c: Likewise.
55005         * crypt/sha256-crypt.c: Likewise.
55006         * crypt/sha256.c: Likewise.
55007         * crypt/sha512-block.c: Likewise.
55008         * crypt/sha512-crypt.c: Likewise.
55009         * crypt/sha512.c: Likewise.
55010         * debug/backtrace-tst.c: Likewise.
55011         * debug/pcprofiledump.c: Likewise.
55012         * elf/cache.c: Likewise.
55013         * elf/dl-cache.c: Likewise.
55014         * elf/dl-misc.c: Likewise.
55015         * elf/dl-profile.c: Likewise.
55016         * elf/dl-support.c: Likewise.
55017         * elf/ldconfig.c: Likewise.
55018         * elf/sprof.c: Likewise.
55019         * iconv/dummy-repertoire.c: Likewise.
55020         * iconv/iconv_charmap.c: Likewise.
55021         * iconv/skeleton.c: Likewise.
55022         * iconvdata/8bit-generic.c: Likewise.
55023         * iconvdata/cp737.h: Likewise.
55024         * iconvdata/cp775.h: Likewise.
55025         * iconvdata/ibm1008.h: Likewise.
55026         * iconvdata/ibm1025.h: Likewise.
55027         * iconvdata/ibm1046.h: Likewise.
55028         * iconvdata/ibm1097.h: Likewise.
55029         * iconvdata/ibm1112.h: Likewise.
55030         * iconvdata/ibm1122.h: Likewise.
55031         * iconvdata/ibm1123.h: Likewise.
55032         * iconvdata/ibm1124.h: Likewise.
55033         * iconvdata/ibm1129.h: Likewise.
55034         * iconvdata/ibm1130.h: Likewise.
55035         * iconvdata/ibm1132.h: Likewise.
55036         * iconvdata/ibm1133.h: Likewise.
55037         * iconvdata/ibm1137.h: Likewise.
55038         * iconvdata/ibm1140.h: Likewise.
55039         * iconvdata/ibm1141.h: Likewise.
55040         * iconvdata/ibm1142.h: Likewise.
55041         * iconvdata/ibm1143.h: Likewise.
55042         * iconvdata/ibm1144.h: Likewise.
55043         * iconvdata/ibm1145.h: Likewise.
55044         * iconvdata/ibm1146.h: Likewise.
55045         * iconvdata/ibm1147.h: Likewise.
55046         * iconvdata/ibm1148.h: Likewise.
55047         * iconvdata/ibm1149.h: Likewise.
55048         * iconvdata/ibm1153.h: Likewise.
55049         * iconvdata/ibm1154.h: Likewise.
55050         * iconvdata/ibm1155.h: Likewise.
55051         * iconvdata/ibm1156.h: Likewise.
55052         * iconvdata/ibm1157.h: Likewise.
55053         * iconvdata/ibm1158.h: Likewise.
55054         * iconvdata/ibm1160.h: Likewise.
55055         * iconvdata/ibm1161.h: Likewise.
55056         * iconvdata/ibm1162.h: Likewise.
55057         * iconvdata/ibm1163.h: Likewise.
55058         * iconvdata/ibm1164.h: Likewise.
55059         * iconvdata/ibm1166.h: Likewise.
55060         * iconvdata/ibm1167.h: Likewise.
55061         * iconvdata/ibm12712.h: Likewise.
55062         * iconvdata/ibm1390.h: Likewise.
55063         * iconvdata/ibm1399.h: Likewise.
55064         * iconvdata/ibm16804.h: Likewise.
55065         * iconvdata/ibm4517.h: Likewise.
55066         * iconvdata/ibm4899.h: Likewise.
55067         * iconvdata/ibm4909.h: Likewise.
55068         * iconvdata/ibm4971.h: Likewise.
55069         * iconvdata/ibm5347.h: Likewise.
55070         * iconvdata/ibm803.h: Likewise.
55071         * iconvdata/ibm856.h: Likewise.
55072         * iconvdata/ibm901.h: Likewise.
55073         * iconvdata/ibm902.h: Likewise.
55074         * iconvdata/ibm9030.h: Likewise.
55075         * iconvdata/ibm9066.h: Likewise.
55076         * iconvdata/ibm921.h: Likewise.
55077         * iconvdata/ibm922.h: Likewise.
55078         * iconvdata/ibm9448.h: Likewise.
55079         * iconvdata/isiri-3342.h: Likewise.
55080         * iconvdata/jis0201.h: Likewise.
55081         * include/link.h: Likewise.
55082         * include/netdb.h: Likewise.
55083         * inet/check_native.c: Likewise.
55084         * inet/check_pf.c: Likewise.
55085         * inet/getipv4sourcefilter.c: Likewise.
55086         * inet/getnameinfo.c: Likewise.
55087         * inet/getsourcefilter.c: Likewise.
55088         * inet/htonl.c: Likewise.
55089         * inet/setipv4sourcefilter.c: Likewise.
55090         * inet/setsourcefilter.c: Likewise.
55091         * inet/test-inet6_opt.c: Likewise.
55092         * inet/tst-network.c: Likewise.
55093         * locale/C-collate.c: Likewise.
55094         * locale/C-ctype.c: Likewise.
55095         * locale/C-time.c: Likewise.
55096         * locale/C-translit.h: Likewise.
55097         * locale/loadarchive.c: Likewise.
55098         * locale/programs/3level.h: Likewise.
55099         * locale/programs/charmap.c: Likewise.
55100         * locale/programs/charmap.h: Likewise.
55101         * locale/programs/ld-address.c: Likewise.
55102         * locale/programs/ld-collate.c: Likewise.
55103         * locale/programs/ld-ctype.c: Likewise.
55104         * locale/programs/ld-identification.c: Likewise.
55105         * locale/programs/ld-measurement.c: Likewise.
55106         * locale/programs/ld-messages.c: Likewise.
55107         * locale/programs/ld-monetary.c: Likewise.
55108         * locale/programs/ld-name.c: Likewise.
55109         * locale/programs/ld-numeric.c: Likewise.
55110         * locale/programs/ld-paper.c: Likewise.
55111         * locale/programs/ld-telephone.c: Likewise.
55112         * locale/programs/ld-time.c: Likewise.
55113         * locale/programs/linereader.c: Likewise.
55114         * locale/programs/locale.c: Likewise.
55115         * locale/programs/locarchive.c: Likewise.
55116         * locale/programs/locfile.h: Likewise.
55117         * locale/programs/repertoire.c: Likewise.
55118         * locale/programs/simple-hash.c: Likewise.
55119         * locale/programs/simple-hash.h: Likewise.
55120         * malloc/memusage.c: Likewise.
55121         * malloc/memusagestat.c: Likewise.
55122         * nis/nis_defaults.c: Likewise.
55123         * nis/nis_hash.c: Likewise.
55124         * nis/nis_print.c: Likewise.
55125         * nis/nis_xdr.c: Likewise.
55126         * nscd/connections.c: Likewise.
55127         * nscd/hstcache.c: Likewise.
55128         * nscd/nscd_gethst_r.c: Likewise.
55129         * nscd/nscd_getserv_r.c: Likewise.
55130         * nscd/nscd_helper.c: Likewise.
55131         * nscd/servicescache.c: Likewise.
55132         * nss/makedb.c: Likewise.
55133         * nss/nss_db/db-XXX.c: Likewise.
55134         * nss/nss_db/db-initgroups.c: Likewise.
55135         * nss/nss_db/db-netgrp.c: Likewise.
55136         * nss/nss_files/files-network.c: Likewise.
55137         * nss/nss_files/files-parse.c: Likewise.
55138         * posix/bug-regex5.c: Likewise.
55139         * posix/fnmatch_loop.c: Likewise.
55140         * posix/regcomp.c: Likewise.
55141         * posix/regexec.c: Likewise.
55142         * posix/tst-rfc3484-2.c: Likewise.
55143         * posix/tst-rfc3484-3.c: Likewise.
55144         * posix/tst-rfc3484.c: Likewise.
55145         * resolv/nss_dns/dns-canon.c: Likewise.
55146         * resolv/nss_dns/dns-network.c: Likewise.
55147         * resolv/res_init.c: Likewise.
55148         * resolv/res_mkquery.c: Likewise.
55149         * resolv/tst-aton.c: Likewise.
55150         * stdlib/cxa_atexit.c: Likewise.
55151         * stdlib/cxa_finalize.c: Likewise.
55152         * stdlib/gen-fpioconst.c: Likewise.
55153         * stdlib/strtol_l.c: Likewise.
55154         * string/tst-endian.c: Likewise.
55155         * sunrpc/auth_des.c: Likewise.
55156         * sunrpc/clnt_udp.c: Likewise.
55157         * sunrpc/rtime.c: Likewise.
55158         * sunrpc/svcauth_des.c: Likewise.
55159         * sunrpc/xdr.c: Likewise.
55160         * sunrpc/xdr_intXX_t.c: Likewise.
55161         * sunrpc/xdr_rec.c: Likewise.
55162         * sysdeps/generic/ldconfig.h: Likewise.
55163         * sysdeps/generic/ldsodefs.h: Likewise.
55164         * sysdeps/generic/memusage.h: Likewise.
55165         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55166         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55167         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55168         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55169         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55170         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55171         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55172         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55173         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55175         * sysdeps/posix/getaddrinfo.c: Likewise.
55176         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55177         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55178         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55179         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55180         * sysdeps/powerpc/test-gettimebase.c: Likewise.
55181         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55182         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55183         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55184         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55185         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55186         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55187         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55188         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55189         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55190         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55191         * sysdeps/x86_64/dl-tls.h: Likewise.
55192         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55193         * time/alt_digit.c: Likewise.
55194         * time/era.c: Likewise.
55195         * wcsmbs/tst-c16c32-1.c: Likewise.
55197 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55199         * math/libm-test.inc (struct test_sincos_data): New type.
55200         (RUN_TEST_LOOP_sincos): New macro.
55201         (sincos_test_data): New variable.
55202         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55204 2013-05-16  Richard Henderson  <rth@redhat.com>
55206         * math/atest-exp2.c (LIMB64): New macro.
55207         (CONSTSZ): New macro.
55208         (mp_exp1, mp_exp_m1, mp_log2): New variables.
55209         (hexdig): Move ...
55210         (print_mpn_fp): ... to function scope.
55211         (read_mpn_hex): Remove.
55212         (get_log2): Remove.
55213         (exp2_mpn): Use mp_log2.
55214         (main): Use mp_exp1.
55216 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55218         * math/libm-test.inc: Remove comment about not testing "inexact"
55219         exceptions.
55220         (INEXACT_EXCEPTION): New macro.
55221         (NO_INEXACT_EXCEPTION): Likewise.
55222         (INVALID_EXCEPTION_OK): Update value.
55223         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55224         (OVERFLOW_EXCEPTION_OK): Likewise.
55225         (UNDERFLOW_EXCEPTION_OK): Likewise.
55226         (IGNORE_ZERO_INF_SIGN): Likewise.
55227         (ERRNO_UNCHANGED): Likewise.
55228         (ERRNO_EDOM): Likewise.
55229         (ERRNO_ERANGE): Likewise.
55230         (test_exceptions): Handle testing "inexact" exceptions.
55231         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
55232         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
55233         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
55234         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
55235         INEXACT_EXCEPTION.
55236         (rint_towardzero_test_data): Likewise.
55237         (rint_downward_test_data): Likewise.
55238         (rint_upward_test_data): Likewise.
55240         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
55241         with OVERFLOW_EXCEPTION.
55242         (exp10_test_data): Likewise.
55243         (exp2_test_data): Likewise.
55244         (expm1_test_data): Likewise.
55245         (lgamma_test_data): Likewise.
55246         (pow_test_data): Likewise.
55247         (tgamma_test_data): Likewise.
55248         (yn_test_data): Remove duplicate test of overflow.
55250         * math/libm-test.inc (struct test_cc_c_data): New type.
55251         (RUN_TEST_LOOP_cc_c): New macro.
55252         (cpow_test_data): New variable.
55253         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
55255         * math/libm-test.inc (struct test_f_L_data): New type.
55256         (RUN_TEST_LOOP_f_L): New macro.
55257         (llrint_test_data): New variable.
55258         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
55259         (llrint_tonearest_test_data): New variable.
55260         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
55261         (llrint_towardzero_test_data): New variable.
55262         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
55263         (llrint_downward_test_data): New variable.
55264         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
55265         (llrint_upward_test_data): New variable.
55266         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
55267         (llround_test_data): New variable.
55268         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
55270 2013-05-13  Peter Collingbourne  <pcc@google.com>
55272         * math/atest-exp2.c (get_log2): Remove const attribute.
55274 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
55276         * math/libm-test.inc (struct test_f_l_data): New type.
55277         (RUN_TEST_LOOP_f_l): New macro.
55278         (lrint_test_data): New variable.
55279         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
55280         (lrint_tonearest_test_data): New variable.
55281         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
55282         (lrint_towardzero_test_data): New variable.
55283         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
55284         (lrint_downward_test_data): New variable.
55285         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
55286         (lrint_upward_test_data): New variable.
55287         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
55288         (lround_test_data): New variable.
55289         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
55291 2013-05-15  Peter Collingbourne  <pcc@google.com>
55293         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
55294         (EXTRACT_WORDS64) Use where appropriate.
55295         (INSERT_WORDS64) Likewise.
55297         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
55298         constraints with x constraints.
55299         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
55301         * malloc/obstack.c (_obstack_compat): Add initializer.
55303 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55305         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
55306         si_trapno and add si_addr_lsb to _sifields.sigfault.
55307         (si_trapno): Remove macro.
55308         (si_addr_lsb): Define new macro.
55309         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55311 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
55313         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
55314         instead of TEST_f_l.
55315         (llrint_test_tonearest): Likewise.
55316         (llrint_test_towardzero): Likewise.
55317         (llrint_test_downward): Likewise.
55318         (llrint_test_upward): Likewise.
55319         (llround_test): Likewise.
55321         * math/libm-test.inc (struct test_f_i_data): Add comment.
55322         (RUN_TEST_LOOP_f_b): New macro.
55323         (RUN_TEST_LOOP_f_b_tg): Likewise.
55324         (finite_test_data): New variable.
55325         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
55326         (isfinite_test_data): New variable.
55327         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55328         (isinf_test_data): New variable.
55329         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55330         (isnan_test_data): New variable.
55331         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55332         (isnormal_test_data): New variable.
55333         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55334         (issignaling_test_data): New variable.
55335         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55336         (signbit_test_data): New variable.
55337         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55339         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
55340         with INVALID_EXCEPTION.
55341         (acosh_test_data): Likewise.
55342         (asin_test_data): Likewise.
55343         (atanh_test_data): Likewise.
55344         (fmod_test_data): Likewise.
55345         (log_test_data): Likewise.
55346         (log10_test_data): Likewise.
55347         (log2_test_data): Likewise.
55348         (pow_test_data): Likewise.
55349         (sqrt_test_data): Likewise.
55350         (y0_test_data): Likewise.
55351         (y1_test_data): Likewise.
55352         (yn_test_data): Likewise.
55354         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
55355         function contents.
55357         * math/libm-test.inc (struct test_ff_i_data): New type.
55358         (RUN_TEST_LOOP_ff_i_tg): New macro.
55359         (isgreater_test_data): New variable.
55360         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55361         (isgreaterequal_test_data): New variable.
55362         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55363         (isless_test_data): New variable.
55364         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55365         (islessequal_test_data): New variable.
55366         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55367         (islessgreater_test_data): New variable.
55368         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55369         (isunordered_test_data): New variable.
55370         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55372 2013-05-14  David S. Miller  <davem@davemloft.net>
55374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55376 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
55378         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
55380         * math/libm-test.inc (struct test_fF_f1_data): Change type of
55381         extra_test to int.
55382         (struct test_f_i_data): Change type of max_ulp to int.
55384         * math/libm-test.inc (test_ffI_f1_data): New type.
55385         (RUN_TEST_LOOP_ffI_f1): New macro.
55386         (remquo_test_data): New variable.
55387         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
55389         * setjmp/tst-setjmp-fp.c: New file.
55390         * setjmp/Makefile (tests): Add tst-setjmp-fp.
55391         (link-libm): New variable.
55392         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
55394         * math/libm-test.inc (struct test_f_i_data): New type.
55395         (RUN_TEST_LOOP_f_i): New macro.
55396         (RUN_TEST_LOOP_f_i_tg): Likewise.
55397         (fpclassify_test_data): New variable.
55398         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
55399         (ilogb_test_data): New variable.
55400         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
55402         * math/libm-test.inc (scalbln_test): Correct function name in END
55403         call.
55405         * math/libm-test.inc (struct test_f_f1_data): Add comment.
55406         (RUN_TEST_LOOP_fI_f1): New macro.
55407         (frexp_test_data): New variable.
55408         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
55410         * math/libm-test.inc (struct test_fF_f1_data): New type.
55411         (RUN_TEST_LOOP_fF_f1): New macro.
55412         (modf_test_data): New variable.
55413         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
55415         * math/libm-test.inc (struct test_f_f1_data): New type.
55416         (RUN_TEST_LOOP_f_f1): New macro.
55417         (gamma_test_data): New variable.
55418         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
55419         (lgamma_test_data): New variable.
55420         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
55422 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
55424         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
55425         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
55426         (main): Comment "tls" pseudo-hwcap.
55428 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
55430         * math/libm-test.inc (struct test_fl_f_data): New type.
55431         (RUN_TEST_LOOP_fl_f): New variable.
55432         (scalbln_test_data): New variable.
55433         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
55435         * math/libm-test.inc (struct test_fi_f_data): New type.
55436         (RUN_TEST_LOOP_fi_f): New macro.
55437         (ldexp_test_data): New variable.
55438         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
55439         (scalbn_test_data): New variable.
55440         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
55442         * math/libm-test.inc (struct test_c_f_data): New type.
55443         (RUN_TEST_LOOP_c_f): New macro.
55444         (cabs_test_data): New variable.
55445         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
55446         (carg_test_data): New variable.
55447         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
55448         (cimag_test_data): New variable.
55449         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
55450         (creal_test_data): New variable.
55451         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
55453         * math/libm-test.inc (struct test_if_f_data): New type.
55454         (RUN_TEST_LOOP_if_f): New macro.
55455         (jn_test_data): New variable.
55456         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
55457         (yn_test_data): New variable.
55458         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
55460         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
55462 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55464         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
55465         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
55467 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55469         * benchtests/Makefile (CPPFLAGS-nonlib): Add
55470         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
55471         (bench-deps): Add bench-timing.h.
55472         * benchtests-bench-skeleton.c: Include bench-timing.h.
55473         (main): Use TIMING_* macros instead of clock_gettime.
55474         * benchtests/bench-timing.h: New file.
55476         [BZ #14582]
55477         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
55478         Renamed from _LIB_VERSION.
55479         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
55481 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
55483         * math/libm-test.inc (struct test_fff_f_data): New type.
55484         (RUN_TEST_LOOP_fff_f): New macro.
55485         (fma_test_data): New variable.
55486         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
55487         (fma_towardzero_test_data): New variable.
55488         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
55489         (fma_downward_test_data): New variable.
55490         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
55491         (fma_upward_test_data): New variable.
55492         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
55494         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
55495         (struct test_c_c_data): New type.
55496         (RUN_TEST_LOOP_c_c): New macro.
55497         (cacos_test_data): New variable.
55498         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
55499         (cacosh_test_data): New variable.
55500         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
55501         (casin_test_data): New variable.
55502         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
55503         (casinh_test_data): New variable.
55504         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
55505         (catan_test_data): New variable.
55506         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
55507         (catanh_test_data): New variable.
55508         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
55509         (ccos_test_data): New variable.
55510         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
55511         (ccosh_test_data): New variable.
55512         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
55513         (cexp_test_data): New variable.
55514         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
55515         (clog_test_data): New variable.
55516         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
55517         (clog10_test_data): New variable.
55518         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
55519         (conj_test_data): New variable.
55520         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
55521         (cproj_test_data): New variable.
55522         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
55523         (csin_test_data): New variable.
55524         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
55525         (csinh_test_data): New variable.
55526         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
55527         (csqrt_test_data): New variable.
55528         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
55529         (ctan_test_data): New variable.
55530         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
55531         (ctan_tonearest_test_data): New variable.
55532         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
55533         (ctan_towardzero_test_data): New variable.
55534         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
55535         (ctan_downward_test_data): New variable.
55536         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
55537         (ctan_upward_test_data): New variable.
55538         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
55539         (ctanh_test_data): New variable.
55540         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
55541         (ctanh_tonearest_test_data): New variable.
55542         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
55543         (ctanh_towardzero_test_data): New variable.
55544         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
55545         (ctanh_downward_test_data): New variable.
55546         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
55547         (ctanh_upward_test_data): New variable.
55548         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
55549         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
55550         of BUILD_COMPLEX.
55552         * math/libm-test.inc (struct test_ff_f_data): New type.
55553         (struct test_ff_f_data_nexttoward): Likewise.
55554         (RUN_TEST_LOOP_2_f): New macro.
55555         (RUN_TEST_LOOP_ff_f): Likewise.
55556         (atan2_test_data): New variable.
55557         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
55558         (copysign_test_data): New variable.
55559         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
55560         (fdim_test_data): New variable.
55561         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
55562         (fmax_test_data): New variable.
55563         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
55564         (fmin_test_data): New variable.
55565         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
55566         (fmod_test_data): New variable.
55567         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
55568         (hypot_test_data): New variable.
55569         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
55570         (nextafter_test_data): New variable.
55571         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
55572         (nexttoward_test_data): New variable.
55573         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
55574         (pow_test_data): New variable.
55575         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
55576         (pow_tonearest_test_data): New variable.
55577         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
55578         (pow_towardzero_test_data): New variable.
55579         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
55580         (pow_downward_test_data): New variable.
55581         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
55582         (pow_upward_test_data): New variable.
55583         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
55584         (remainder_test_data): New variable.
55585         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
55586         (scalb_test_data): New variable.
55587         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
55588         * sysdeps/i386/fpu/libm-test-ulps: Update.
55590 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
55592         * math/libm-test.inc (fma_test): Use max_value instead of local
55593         variable fltmax.
55594         (nextafter_test): Likewise.
55596         * math/libm-test.inc (acos_towardzero_test_data): New variable.
55597         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55598         (acos_downward_test_data): New variable.
55599         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55600         (acos_upward_test_data): New variable.
55601         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55602         (acosh_test_data): New variable.
55603         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
55604         (asin_test_data): New variable.
55605         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
55606         (asin_tonearest_test_data): New variable.
55607         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55608         (asin_towardzero_test_data): New variable.
55609         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55610         (asin_downward_test_data): New variable.
55611         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55612         (asin_upward_test_data): New variable.
55613         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55614         (asinh_test_data): New variable.
55615         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
55616         (atan_test_data): New variable.
55617         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
55618         (atanh_test_data): New variable.
55619         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
55620         (cbrt_test_data): New variable.
55621         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
55622         (ceil_test_data): New variable.
55623         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
55624         (cos_test_data): New variable.
55625         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
55626         (cos_tonearest_test_data): New variable.
55627         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55628         (cos_towardzero_test_data): New variable.
55629         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55630         (cos_downward_test_data): New variable.
55631         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55632         (cos_upward_test_data): New variable.
55633         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55634         (cosh_test_data): New variable.
55635         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
55636         (cosh_tonearest_test_data): New variable.
55637         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55638         (cosh_towardzero_test_data): New variable.
55639         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55640         (cosh_downward_test_data): New variable.
55641         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55642         (cosh_upward_test_data): New variable.
55643         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55644         (erf_test_data): New variable.
55645         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
55646         (erfc_test_data): New variable.
55647         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
55648         (exp_test_data): New variable.
55649         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
55650         (exp_tonearest_test_data): New variable.
55651         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55652         (exp_towardzero_test_data): New variable.
55653         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55654         (exp_downward_test_data): New variable.
55655         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55656         (exp_upward_test_data): New variable.
55657         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55658         (exp10_test_data): New variable.
55659         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
55660         (exp2_test_data): New variable.
55661         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
55662         (expm1_test_data): New variable.
55663         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
55664         (fabs_test_data): New variable.
55665         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
55666         (floor_test_data): New variable.
55667         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
55668         (j0_test_data): New variable.
55669         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
55670         (j1_test_data): New variable.
55671         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
55672         (log_test_data): New variable.
55673         (log_test): Run tests with RUN_TEST_LOOP_f_f.
55674         (log10_test_data): New variable.
55675         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
55676         (log1p_test_data): New variable.
55677         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
55678         (log2_test_data): New variable.
55679         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
55680         (logb_test_data): New variable.
55681         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
55682         (logb_downward_test_data): New variable.
55683         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55684         (nearbyint_test_data): New variable.
55685         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
55686         (rint_test_data): New variable.
55687         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
55688         (rint_tonearest_test_data): New variable.
55689         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55690         (rint_towardzero_test_data): New variable.
55691         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55692         (rint_downward_test_data): New variable.
55693         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55694         (rint_upward_test_data): New variable.
55695         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55696         (round_test_data): New variable.
55697         (round_test): Run tests with RUN_TEST_LOOP_f_f.
55698         (sin_test_data): New variable.
55699         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
55700         (sin_tonearest_test_data): New variable.
55701         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55702         (sin_towardzero_test_data): New variable.
55703         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55704         (sin_downward_test_data): New variable.
55705         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55706         (sin_upward_test_data): New variable.
55707         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55708         (sinh_test_data): New variable.
55709         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
55710         (sinh_tonearest_test_data): New variable.
55711         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55712         (sinh_towardzero_test_data): New variable.
55713         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55714         (sinh_downward_test_data): New variable.
55715         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55716         (sinh_upward_test_data): New variable.
55717         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55718         (sqrt_test_data): New variable.
55719         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
55720         (tan_test_data): New variable.
55721         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
55722         (tan_tonearest_test_data): New variable.
55723         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55724         (tan_towardzero_test_data): New variable.
55725         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55726         (tan_downward_test_data): New variable.
55727         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55728         (tan_upward_test_data): New variable.
55729         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55730         (tanh_test_data): New variable.
55731         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
55732         (tgamma_test_data): New variable.
55733         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
55734         (trunc_test_data): New variable.
55735         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
55736         (y0_test_data): New variable.
55737         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
55738         (y1_test_data): New variable.
55739         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
55740         (significand_test_data): New variable.
55741         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
55743 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
55745         [BZ #12387]
55746         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
55748 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55750         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
55752 2013-05-10  Andreas Jaeger  <aj@suse.de>
55754         [BZ #15448]
55755         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
55756         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
55758 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
55760         * math/gen-libm-test.pl (adjust_arg): New function.
55761         (special_functions): Handle generating output in both functions
55762         and arrays.
55763         (parse_args): Likewise.
55764         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
55765         $in_func argument to parse_args.
55766         * math/libm-test.inc (struct test_f_f_data): New type.
55767         (IF_ROUND_INIT_): New macro.
55768         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
55769         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55770         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55771         (IF_ROUND_INIT_FE_UPWARD): Likewise.
55772         (ROUND_RESTORE_): Likewise.
55773         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
55774         (ROUND_RESTORE_FE_TONEAREST): Likewise.
55775         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
55776         (ROUND_RESTORE_FE_UPWARD): Likewise.
55777         (RUN_TEST_LOOP_f_f): New macro.
55778         (acos_test_data): New variable.
55779         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
55780         (acos_tonearest_test_data): New variable.
55781         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55783 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55785         * benchtests/bench-skeleton.c (startup): Fix coding style.
55787 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
55789         [BZ #6809]
55790         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
55791         negative infinity argument.
55792         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
55793         negative infinity argument.
55794         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
55795         negative infinity argument.
55796         * math/libm-test.inc (tgamma_test): Expect errno to be set for
55797         domain errors.
55799 2013-05-10  Florian Weimer  <fweimer@redhat.com>
55801         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
55802         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
55803         * iconv/iconv_prog.c (main): Likewise.
55804         * locale/programs/charmap-dir.c (charmap_readdir)
55805         (fopen_uncompressed): Likewise.
55806         * locale/programs/locfile.c (siblings_uncached)
55807         (write_locale_data): Use lstat64 instead of lstat.
55808         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
55809         stat.
55811 2013-05-10  Andreas Jaeger  <aj@suse.de>
55813         [BZ #15395]
55814         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
55815         localization.
55816         Include <locale.h>.
55818 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
55820         * elf/dl-close.c (_dl_close_worker): Add comments.
55822 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
55824         [BZ #15359]
55825         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
55826         high part of pi/2.
55827         (__ieee754_rem_pio2l): Update comments.
55829         [BZ #15429]
55830         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
55831         high part of pi/2.
55832         (__ieee754_rem_pio2l): Update comments.
55834         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
55835         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
55837         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
55838         M_PI_4l.
55840         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
55841         (M_PI_34_LOG10El): Likewise.
55842         (M_PI2_LOG10El): Likewise.
55843         (M_PI4_LOG10El): Likewise.
55844         (M_PI_LOG10El): Likewise.
55846 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55850 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
55852         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
55853         (MINUS_ZERO_INIT): Likewise.
55854         (PLUS_INFTY_INIT): Likewise.
55855         (MINUS_INFTY_INIT): Likewise.
55856         (QNAN_VALUE_INIT): Likewise.
55857         (MAX_VALUE_INIT): Likewise.
55858         (MIN_VALUE_INIT): Likewise.
55859         (MIN_SUBNORM_VALUE_INIT): Likewise.
55860         (plus_zero): Initialize with PLUS_ZERO_INIT.
55861         (minus_zero): Initialize with MINUS_ZERO_INIT.
55862         (plus_infty): Initialize with PLUS_INFTY_INIT.
55863         (minus_infty): Initialize with MINUS_INFTY_INIT.
55864         (qnan_value): Initialize with QNAN_VALUE_INIT.
55865         (max_value): Initialize with MAX_VALUE_INIT.
55866         (min_value): Initialize with MIN_VALUE_INIT.
55867         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
55869         * math/libm-test.inc (RUN_TEST_if_f): New macro.
55870         (jn_test): Use TEST_if_f instead of TEST_ff_f.
55871         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
55872         (yn_test): Use TEST_if_f instead of TEST_ff_f.
55874         * math/libm-test.inc (RUN_TEST_f_f): New macro.
55875         (RUN_TEST_2_f): Likewise.
55876         (RUN_TEST_ff_f): Likewise.
55877         (RUN_TEST_fi_f): Likewise.
55878         (RUN_TEST_fl_f): Likewise.
55879         (RUN_TEST_fff_f): Likewise.
55880         (RUN_TEST_c_f): Likewise.
55881         (RUN_TEST_f_f1): Likewise.
55882         (RUN_TEST_fF_f1): Likewise.
55883         (RUN_TEST_fI_f1): Likewise.
55884         (RUN_TEST_ffI_f1): Likewise.
55885         (RUN_TEST_c_c): Likewise.
55886         (RUN_TEST_cc_c): Likewise.
55887         (RUN_TEST_f_i): Likewise.
55888         (RUN_TEST_f_i_tg): Likewise.
55889         (RUN_TEST_ff_i_tg): Likewise.
55890         (RUN_TEST_f_b): Likewise.
55891         (RUN_TEST_f_b_tg): Likewise.
55892         (RUN_TEST_f_l): Likewise.
55893         (RUN_TEST_f_L): Likewise.
55894         (RUN_TEST_sincos): Likewise.
55895         * math/gen-libm-test.pl (new_test): Take new argument to indicate
55896         whether to show exceptions.  Do not include ");\n" in return
55897         value.
55898         (special_functions): Output call to RUN_TEST_sincos instead of
55899         check_float calls.  Update calls to new_test.
55900         (parse_args): Output call to single RUN_TEST_* macro instead of
55901         check_* calls and other assignments.  Update calls to new_test.
55903         [BZ #2546]
55904         [BZ #2560]
55905         [BZ #5159]
55906         [BZ #15426]
55907         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
55908         input to result for tgamma overflow.
55909         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
55910         (gamma_coeff): New variable.
55911         (NCOEFF): New macro.
55912         (gamma_positive): New function.
55913         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
55914         underflow here.  Use gamma_positive instead of exp (lgamma) for
55915         other arguments.
55916         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
55917         (gamma_coeff): New variable.
55918         (NCOEFF): New macro.
55919         (gammaf_positive): New function.
55920         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
55921         underflow here.  Use gamma_positive instead of exp (lgamma) for
55922         other arguments.
55923         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
55924         (gamma_coeff): New variable.
55925         (NCOEFF): New macro.
55926         (gammal_positive): New function.
55927         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
55928         underflow here.  Use gamma_positive instead of exp (lgamma) for
55929         other arguments.
55930         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
55931         (gamma_coeff): New variable.
55932         (NCOEFF): New macro.
55933         (gammal_positive): New function.
55934         (__ieee754_gammal_r): Handle positive infinity, overflow and
55935         underflow here.  Handle NaN the same as positive infinity.  Remove
55936         check x < 0xffffffff for negative integers.  Use gamma_positive
55937         instead of exp (lgamma) for other arguments.
55938         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
55939         (gamma_coeff): New variable.
55940         (NCOEFF): New macro.
55941         (gammal_positive): New function.
55942         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55943         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55944         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55945         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55946         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55947         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55948         * sysdeps/generic/math_private.h (__gamma_productf): New
55949         prototype.
55950         (__gamma_product): Likewise.
55951         (__gamma_productl): Likewise.
55952         * math/Makefile (libm-calls): Add gamma_product.
55953         * math/libm-test.inc (tgamma_test): Add more tests.
55954         * sysdeps/i386/fpu/libm-test-ulps: Update.
55955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55957 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55959         * benchtests/bench-skeleton.c (main): Preheat CPU.
55961 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55963         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55965 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55967         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55968         and _dl_skip_args_internal.
55970 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55972         * manual/message.texi (Message Translation): Talk about users.
55973         Message to key mapping impacts design.
55975 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55977         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55979         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55981         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55982         * sysdeps/wordsize-64/glob64.c: ... here.
55984         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55985         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55986         New macros.
55988         * debug/getlogin_r_chk.c: Moved to ...
55989         * login/getlogin_r_chk.c: ... here.
55990         * debug/Makefile (routines): Move getlogin_r_chk to ...
55991         * login/Makefile (routines): ... here.
55992         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55993         * login/Versions (libc: GLIBC_2.4): ... here.
55995         * io/poll.c (__poll): Renamed from poll.
55996         Add libc_hidden_def.
55997         (poll): Define as weak alias.
55999         * debug/ptsname_r_chk.c: Moved to ...
56000         * login/ptsname_r_chk.c: ... here.
56001         * debug/Makefile (routines): Move ptsname_r_chk to ...
56002         * login/Makefile (routines): ... here.
56003         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56004         * login/Versions (libc: GLIBC_2.4): ... here.
56006         * posix/getlogin.c: Moved to ...
56007         * login/getlogin.c: ... here.
56008         * posix/getlogin_r.c: Moved to ...
56009         * login/getlogin_r.c: ... here.
56010         * posix/getlogin_r.c: Moved to ...
56011         * login/getlogin_r.c: ... here.
56012         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56013         * login/Makefile (routines): ... here.
56014         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56015         * login/Versions (libc: GLIBC_2.0): ... here.
56017         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56018         (setrlimit): Define as weak alias.
56020         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56021         Call __ names for open, ftruncate, and close.
56022         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56023         (truncate): Define as weak alias.
56025 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
56027         * math/gen-libm-test.pl (parse_args): Initialize x before each
56028         test of frexp, modf and remquo.
56030         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56031         test signgam value.
56033 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56035         [BZ #15418]
56036         [BZ #15419]
56037         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56038         internal tests.
56039         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56041 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56043         * elf/dl-writev.h: New file.
56044         * elf/dl-misc.c: Include it.
56045         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56046         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56048 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
56050         * math/libm-test.inc (noXFails): Remove variable.
56051         (noXPasses): Likewise.
56052         (BUILD_COMPLEX_INT): Remove macro.
56053         (print_screen): Remove xfail argument.
56054         (print_screen_max_error): Likewise.
56055         (update_stats): Likewise.
56056         (print_max_error): Likewise.  Update calls to other affected
56057         functions.
56058         (print_complex_max_error): Likewise.
56059         (test_single_exception): Update calls to print_screen.
56060         (test_single_errno): Likewise.
56061         (check_float_internal): Remove xfail argument.  Update calls to
56062         other affected functions.
56063         (check_float): Likewise.
56064         (check_complex): Likewise.
56065         (check_int): Likewise.
56066         (check_long): Likewise.
56067         (check_bool): Likewise.
56068         (check_longlong): Likewise.
56069         (main): Don't print noXFails and noXPasses.
56070         * math/gen-libm-test.pl (top level): Don't mention expected
56071         failure handling in comment.
56072         (new_test): Don't handle expected failures.
56073         (parse_args): Don't mention expected failure handling in comment.
56074         (generate_testfile): Don't handle expected failures.
56075         (parse_ulps): Likewise.
56076         (print_ulps_file): Likewise.
56077         (get_failure): Remove function.
56078         (output_test): Don't handle expected failures.
56079         * make/README.libm-test: Don't mention expected failure handling.
56081         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
56082         (minus_zero): Likewise.
56083         (plus_infty): Likewise.
56084         (minus_infty): Likewise.
56085         (qnan_value): Likewise.
56086         (max_value): Likewise.
56087         (min_value): Likewise.
56088         (min_subnorm_value): Likewise.
56089         (initialize): Do not initialize those variables dynamically.
56091 2013-05-03  Roland McGrath  <roland@hack.frob.com>
56093         * io/open.c (__open_2): Moved to ...
56094         * io/open_2.c: ... this new file.
56095         * io/open64.c (__open64_2): Moved to ...
56096         * io/open64_2.c: ... this new file.
56097         * io/openat.c (__openat_2): Moved to ...
56098         * io/openat_2.c: ... this new file.
56099         * io/openat64.c (__openat64_2): Moved to ...
56100         * io/openat64_2.c: ... this new file.
56101         * io/Makefile (routines): Add them.
56102         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56103         * sysdeps/unix/sysv/linux/open_2.c: File removed.
56104         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56105         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56106         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56107         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56108         (__openat64): Add hidden_ver.
56109         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56110         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56112         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56113         Separately conditionalize setting of GLRO(dl_sysinfo) so
56114         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56115         as well, but the actual setting is only under [NEED_DL_SYSINFO].
56117 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56119         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56120         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56121         definition.
56122         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56123         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56124         (_libc_vdso_platform_setup): Add __vdso_time initialization.
56125         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56126         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56128 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
56130         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56131         test signgam value.
56133         * math/libm-test.inc (hypot_test): Do not use
56134         IGNORE_ZERO_INF_SIGN.
56136 2013-05-03  Andreas Jaeger  <aj@suse.de>
56138         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56139         Linux 3.9.
56140         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56141         (PF_MAX): Adjust for VSOCK change.
56143 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56147 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
56149         [BZ #15264]
56150         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56151         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56152         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56154 2013-05-02  David S. Miller  <davem@davemloft.net>
56156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56158 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
56160         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56162 2013-05-01  Roland McGrath  <roland@hack.frob.com>
56164         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56166 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
56168         [BZ #14952]
56169         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56170         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56171         Use __attribute__ ((__gnu_inline__)).
56172         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56173         Don't use __attribute__ ((__gnu_inline__)).
56175 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
56177         [BZ #15423]
56178         * math/s_catan.c (__catan): Handle small real or imaginary part of
56179         input specially to avoid spurious underflow.
56180         * math/s_catanf.c (__catanf): Likewise.
56181         * math/s_catanh.c (__catanh): Likewise.
56182         * math/s_catanhf.c (__catanhf): Likewise.
56183         * math/s_catanhl.c (__catanhl): Likewise.
56184         * math/s_catanl.c (__catanl): Likewise.
56185         * math/libm-test.inc (catan_test): Add more tests.
56186         (catanh_test): Likewise.
56187         * sysdeps/i386/fpu/libm-test-ulps: Update.
56188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56190 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56194 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
56196         [BZ #15416]
56197         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56198         accurately for denominator in atan2.
56199         * math/s_catanf.c (__catanf): Likewise.
56200         * math/s_catanh.c (__catanh): Likewise.
56201         * math/s_catanhf.c (__catanhf): Likewise.
56202         * math/s_catanhl.c (__catanhl): Likewise.
56203         * math/s_catanl.c (__catanl): Likewise.
56204         * math/libm-test.inc (catan_test): Add more tests.
56205         (catanh_test): Likewise.
56206         * sysdeps/i386/fpu/libm-test-ulps: Update.
56207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56209 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56211         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56213         * benchtests/Makefile (bench): Remove slow benchmarks.
56214         * benchtests/atan-inputs: Add slow benchmark inputs.
56215         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56216         (BENCH_FUNC): Accept variant offset.
56217         (VARIANT): Define.
56218         * benchtests/bench-skeleton.c (main): Run benchmark for each
56219         variant.
56220         * benchtests/cos-inputs: Add slow benchmark inputs.
56221         * benchtests/exp-inputs: Likewise.
56222         * benchtests/pow-inputs: Likewise.
56223         * benchtests/sin-inputs: Likewise.
56224         * benchtests/slowatan-inputs: Remove.
56225         * benchtests/slowatan.c: Remove.
56226         * benchtests/slowcos-inputs: Remove.
56227         * benchtests/slowcos.c: Remove.
56228         * benchtests/slowexp-inputs: Remove.
56229         * benchtests/slowexp.c: Remove.
56230         * benchtests/slowpow-inputs: Remove.
56231         * benchtests/slowpow.c: Remove.
56232         * benchtests/slowsin-inputs: Remove.
56233         * benchtests/slowsin.c: Remove.
56234         * benchtests/slowtan-inputs: Remove.
56235         * benchtests/slowtan.c: Remove.
56236         * benchtests/tan-inputs: Add slow benchmark inputs.
56237         * scripts/bench.pl: Parse comments and directives.
56239         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
56240         in CPPFLAGS.
56241         ($(objpfx)bench-%.c): Remove *-ITER.
56242         * benchtests/bench-modf.c: Remove definition of ITER.
56243         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
56244         (main): Loop for DURATION seconds instead of fixed number of
56245         iterations.
56246         * scripts/bench.pl: Don't expect iterations in parameters.
56248 2013-04-29  Roland McGrath  <roland@hack.frob.com>
56250         * io/fchdir.c (__fchdir): Renamed from fchdir.
56251         (fchdir): Define as weak alias.
56253 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
56255         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
56256         (ERRNO_EDOM): Likewise.
56257         (ERRNO_ERANGE): Likewise.
56258         (noErrnoTests): New variable.
56259         (init_max_error): Set errno to 0.
56260         (test_single_errno): New function.
56261         (test_errno): Likewise.
56262         (check_float_internal): Call test_errno.  Set errno to 0.
56263         (check_complex): Refer to errno tests in comment.
56264         (check_int): Call test_errno.  Set errno to 0.
56265         (check_long): Likewise.
56266         (check_bool): Likewise.
56267         (check_longlong): Likewise.
56268         (cos_test): Use ERRNO_* flags for errno tests instead of
56269         check_int.
56270         (expm1_test): Likewise.
56271         (fmod_test): Likewise.
56272         (ilogb_test): Likewise.
56273         (lgamma_test): Likewise.
56274         (pow_test): Likewise.
56275         (remainder_test): Likewise.
56276         (sin_test): Likewise.
56277         (tan_test): Likewise.
56278         (yn_test): Likewise.
56279         (initialize): Set errno to 0.
56280         (main): Print number of errno tests.
56281         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
56283 2013-04-29  Andreas Jaeger  <aj@suse.de>
56285         [BZ #15084]
56286         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
56287         and RES_USEVC.
56289         [BZ #15085]
56290         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
56291         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
56292         unimplemented.
56294         [BZ #15380]
56295         * stdlib/random.c (__initstate): Return NULL if
56296         __initstate fails.
56298         [BZ #15086]
56299         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
56300         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
56301         RES_SNGLKUPREOP.
56303 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56307 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
56309         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
56310         of individual tests.
56311         (casin_test): Likewise.
56312         (casinh_test): Likewise.
56314 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
56316         [BZ #15409]
56317         * math/s_catan.c (__catan): Handle arguments with large real or
56318         imaginary part separately without squaring.
56319         * math/s_catanf.c (__catanf): Likewise.
56320         * math/s_catanh.c (__catanh): Likewise.
56321         * math/s_catanhf.c (__catanhf): Likewise.
56322         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
56323         and redefine.
56324         (__catanhl): Handle arguments with large real or imaginary part
56325         separately without squaring.
56326         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
56327         and redefine.
56328         (__catanl): Handle arguments with large real or imaginary part
56329         separately without squaring.
56330         * math/libm-test.inc (catan_test): Add more tests.
56331         (catanh_test): Likewise.
56332         * sysdeps/i386/fpu/libm-test-ulps: Update.
56333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56335 2013-04-27  Andreas Jaeger  <aj@suse.de>
56337         [BZ #15007]
56338         * stdlib/stdlib.h: Update guards for qecvt.
56339         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
56340         <stdlib.h>.
56342 2013-04-27  Allan McRae  <allan@archlinux.org>
56344         * sysdeps/i386/fpu/libm-test-ulps: Update.
56346 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
56348         [BZ #15406]
56349         * math/s_catan.c: Include <float.h>.
56350         (__catan): Ensure underflow exception occurs for underflowed
56351         result.
56352         * math/s_catanf.c: Include <float.h>.
56353         (__catanf): Ensure underflow exception occurs for underflowed
56354         result.
56355         * math/s_catanh.c: Include <float.h>.
56356         (__catanh): Ensure underflow exception occurs for underflowed
56357         result.
56358         * math/s_catanhf.c: Include <float.h>.
56359         (__catanhf): Ensure underflow exception occurs for underflowed
56360         result.
56361         * math/s_catanhl.c: Include <float.h>.
56362         (__catanhl): Ensure underflow exception occurs for underflowed
56363         result.
56364         * math/s_catanl.c: Include <float.h>.
56365         (__catanl): Ensure underflow exception occurs for underflowed
56366         result.
56367         * math/libm-test.inc (catan_test): Add more tests.
56368         (catanh_test): Likewise.
56370         [BZ #15405]
56371         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
56372         underflowed result.
56373         * math/s_ccoshf.c (__ccoshf): Likewise.
56374         * math/s_ccoshl.c (__ccoshl): Likewise.
56375         * math/s_csin.c (__csin): Likewise.
56376         * math/s_csinf.c (__csinf): Likewise.
56377         * math/s_csinh.c (__csinh): Likewise.
56378         * math/s_csinhf.c (__csinhf): Likewise.
56379         * math/s_csinhl.c (__csinhl): Likewise.
56380         * math/s_csinl.c (__csinl): Likewise.
56381         * math/libm-test.inc (ccos_test): Add more tests.
56382         (ccosh_test): Likewise.
56383         (csin_test): Likewise.
56384         (csinh_test): Likewise.
56386 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56388         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
56389         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
56390         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
56391         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
56392         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
56393         powerpc/power5+/fpu folders.
56394         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
56397 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56401 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
56403         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
56404         additions to variable.
56405         [$(config-machine) = x86_64] (modules-names): Likewise.
56406         ($(objpfx)tst-audit3): Remove dependency.
56407         ($(objpfx)tst-audit3.out): Likewise.
56408         ($(objpfx)tst-audit4): Likewise.
56409         ($(objpfx)tst-audit4.out): Likewise.
56410         ($(objpfx)tst-audit5): Likewise.
56411         ($(objpfx)tst-audit5.out): Likewise.
56412         ($(objpfx)tst-audit6): Likewise.
56413         ($(objpfx)tst-audit6.out): Likewise.
56414         ($(objpfx)tst-audit7): Likewise.
56415         ($(objpfx)tst-audit7.out): Likewise.
56416         (tst-audit3-ENV): Remove variable.
56417         (tst-audit4-ENV): Likewise.
56418         (tst-audit5-ENV): Likewise.
56419         (tst-audit6-ENV): Likewise.
56420         (tst-audit7-ENV): Likewise.
56421         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
56422         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
56423         addition to variable.
56424         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
56425         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
56426         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
56427         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
56428         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
56429         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
56430         tst-audit3, tst-audit4 and tst-audit5.
56431         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
56432         tst-audit6 and tst-audit7.
56433         [$(subdir) = elf] (modules-names): Add audit modules for those
56434         tests.
56435         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
56436         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
56437         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
56438         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
56439         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
56440         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
56441         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
56442         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
56443         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
56444         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
56445         [$(subdir) = elf] (tst-audit3-ENV): New variable.
56446         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
56447         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
56448         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
56449         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
56450         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
56451         Likewise.
56452         [$(subdir) = elf && $(config-cflags-avx) = yes]
56453         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
56454         [$(subdir) = elf && $(config-cflags-avx) = yes]
56455         (CFLAGS-tst-auditmod4a.c): Likewise.
56456         [$(subdir) = elf && $(config-cflags-avx) = yes]
56457         (CFLAGS-tst-auditmod4b.c): Likewise.
56458         [$(subdir) = elf && $(config-cflags-avx) = yes]
56459         (CFLAGS-tst-auditmod6b.c): Likewise.
56460         [$(subdir) = elf && $(config-cflags-avx) = yes]
56461         (CFLAGS-tst-auditmod6c.c): Likewise.
56462         [$(subdir) = elf && $(config-cflags-avx) = yes]
56463         (CFLAGS-tst-auditmod7b.c): Likewise.
56464         * elf/tst-audit3.c: Move to ...
56465         * sysdeps/x86_64/tst-audit3.c: ... here.
56466         * elf/tst-audit4.c: Move to ...
56467         * sysdeps/x86_64/tst-audit4.c: ... here.
56468         * elf/tst-audit5.c: Move to ...
56469         * sysdeps/x86_64/tst-audit5.c: ... here.
56470         * elf/tst-audit6.c: Move to ...
56471         * sysdeps/x86_64/tst-audit6.c: ... here.
56472         * elf/tst-audit7.c: Move to ...
56473         * sysdeps/x86_64/tst-audit7.c: ... here.
56474         * elf/tst-auditmod3a.c: Move to ...
56475         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
56476         * elf/tst-auditmod3b.c: Move to ...
56477         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
56478         * elf/tst-auditmod4a.c: Move to ...
56479         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
56480         * elf/tst-auditmod4b.c: Move to ...
56481         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
56482         * elf/tst-auditmod5a.c: Move to ...
56483         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
56484         * elf/tst-auditmod5b.c: Move to ...
56485         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
56486         * elf/tst-auditmod6a.c: Move to ...
56487         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
56488         * elf/tst-auditmod6b.c: Move to ...
56489         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
56490         * elf/tst-auditmod6c.c: Move to ...
56491         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
56492         * elf/tst-auditmod7a.c: Move to ...
56493         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
56494         * elf/tst-auditmod7b.c: Move to ...
56495         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
56497 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
56499         [BZ #15366]
56500         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
56501         define unconditionally.
56502         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
56503         define unconditionally.
56504         (INT8_C, INT16_C, etc.): Likewise.
56506 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
56508         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
56509         __ehdr_start with hidden visibility.
56511         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
56513 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
56515         * math/libm-test.inc (cos_test): Use accurate hex constants.
56516         (sincost_test): Likewise.
56518 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
56520         * math/libm-test.inc (catan_test): Add more tests.
56521         (catanh_test): Likewise.
56523         * math/s_catanf.c (__catanf): Use suffixed floating-point
56524         constants.
56525         * math/s_catanhf.c (__catanhf): Likewise.
56526         * math/s_catanhl.c (__catanhl): Likewise.
56527         * math/s_catanl.c (__catanl): Likewise.
56529         [BZ #15394]
56530         * math/s_catan.c (__catan): Calculate imaginary part of result
56531         with log1p not log unless computing log of number close to 0.
56532         * math/s_catanf.c (__catanf): Likewise.
56533         * math/s_catanl.c (__catanl): Likewise.
56534         * math/s_catanh.c (__catanh): Calculate real part of result with
56535         log1p not log unless computing log of number close to 0.
56536         * math/s_catanhf.c (__catanhf): Likewise.
56537         * math/s_catanhl.c (__catanhl): Likewise.
56538         * math/libm-test.inc (catan_test): Add more tests.
56539         (catanh_test): Likewise.
56540         * sysdeps/i386/fpu/libm-test-ulps: Update.
56541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56543 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56545         * benchtests/Makefile: Mention files in which fast and slow
56546         paths of math functions are implemented.
56548 2013-04-23  Roland McGrath  <roland@hack.frob.com>
56550         * sysdeps/posix/timespec_get.c: New file.
56552 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56554         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
56555         POWER.
56556         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
56557         for POWER.
56558         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
56559         powerpc/power5/fpu folders.
56560         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
56561         * benchtests/Makefile: Add modf testcase.
56562         * benchtests/bench-modf.c: New file: Benchmark test for mo
56564 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56566         [BZ #14888]
56567         * time/Makefile (tests): Add tst-strptime-whitespace.
56568         * time/strptime_l.c (get_number): Use ISSPACE.
56569         (__strptime_internal): Likewise.
56570         * time/tst-strptime-whitespace.c: New test case.
56572 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
56574         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
56575         member.
56576         (_nss_files_init): Set it here.
56578 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
56580         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
56581         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
56582         unsigned.
56584 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
56586         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
56588 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
56591         size just once.
56593 2013-04-21  David S. Miller  <davem@davemloft.net>
56595         * po/ru.po: Update Russion translation from translation project.
56597 2013-04-17  Adam Conrad  <adconrad@0c3.net>
56599         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
56600         and setfsgid.
56602 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
56604         * configure.in: Remove i386 configure warning. Remove i386 case.
56605         * configure: Regenerate.
56606         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
56607         Add example to error message.
56608         * sysdeps/i386/configure: Regenerate.
56610 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56612         * benchtests/Makefile (bench): Add cos, tan, slowcos and
56613         slowtan.
56614         * benchtests/cos-inputs: New file.
56615         * benchtests/slowcos-inputs: New file.
56616         * benchtests/slowcos.c: New file.
56617         * benchtests/slowtan-inputs: New file.
56618         * benchtests/slowtan.c: New file.
56619         * benchtests/tan-inputs: New file.
56621 2013-04-16  Roland McGrath  <roland@hack.frob.com>
56623         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
56624         considered kosher.
56626 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56628         * benchtests/Makefile: Include cppflags-iterator.mk to add
56629         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
56631         * Makefile.in (bench-clean): New target.
56632         * benchtests/Makefile (bench-clean): Likewise.
56634 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
56636         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
56638 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
56640         * stdio-common/tstdiomisc.c: Fix coding-style violation.
56642 2013-04-15  Andreas Schwab  <schwab@suse.de>
56644         * nscd/grpcache.c (cache_addgr): Properly check for short write.
56645         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56646         * nscd/pwdcache.c (cache_addpw): Likewise.
56647         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
56648         more than recsize.
56650 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56652         * benchtests/Makefile (bench): Write all output to
56653         bench-out.tmp together.
56655 2013-04-15  Andreas Schwab  <schwab@suse.de>
56657         * nscd/nscd.c (main): Don't fork again after closing files.
56659 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56661         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
56663         * benchtests/Rules (bench-deps): Collect dependencies into a
56664         single variable.  Add Makefile to dependencies.
56665         ($(objpfx)bench-%.c): Depend on bench-deps.
56667 2013-04-12  Roland McGrath  <roland@hack.frob.com>
56668             Xavier Roche  <roche+kml2@exalead.com>
56670         [BZ #15361]
56671         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
56672         just that it's a file descriptor.
56673         * manual/llio.texi (Synchronizing AIO Operations): Update description
56674         for EBADF error from aio_fsync.
56676 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56678         * Rules (bench): Move target definition...
56679         * benchtests/Makefile: ... here.
56681 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
56683         * math/libm-test.inc (cos_test): Fix PI/2 test.
56684         (sincos_test): Likewise.
56685         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56686         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
56688 2013-04-11  Andreas Schwab  <schwab@suse.de>
56690         [BZ #13988]
56691         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
56692         accept exponent character only when digits were seen.
56693         * stdio-common/Makefile (tests): Add bug26.
56694         * stdio-common/bug26.c: New file.
56696         [BZ #14293]
56697         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
56698         non-freeable.
56700 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56702         * Makeconfig (rtld-prefix): Define built linker prefix.
56703         * Rules (run-bench): Use it.
56704         * math/Makefile (run-regen-ulps): Likewise.
56706         * Rules (bench): Remove eval.
56708 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56709             Roland McGrath  <roland@hack.frob.com>
56710             Ondrej Bilka  <neleai@seznam.cz>
56712         [BZ #15346]
56713         * time/getdate.c: Include ctype.h and alloca.h.
56714         (__getdate_r): Trim leading and trailing spaces of input.
56715         * time/tst-getdate.c (tests): Add tests with leading and
56716         trailing spaces.
56718 2013-04-08  Roland McGrath  <roland@hack.frob.com>
56720         [BZ #14280]
56721         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
56722         when computing value.
56724 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56726         * math/README.libm-test (How can I generate "libm-test-ulps"?):
56727         Use testrun.sh to run libm tests.
56729         [BZ #15309]
56730         * elf/dl-open.c (dl_open_worker): memset all of seen array.
56732 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
56734         [BZ #15264]
56735         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
56737 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56739         * Makefile.in (regen-ulps): New target.
56740         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
56741         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
56742         [ifneq (no,$(PERL)] (regen-ulps): New target.
56743         [ifeq (no,$(PERL)] (regen-ulps): New target.
56744         * math/libm-test.inc (ulps_file_name): Define.
56745         (output_dir): New variable.
56746         (options): Add "output-dir" option.
56747         (parse_opt): Handle 'o' case.
56748         (main): If output_dir is non-NULL use it as a prefix
56749         otherwise use "".
56750         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
56752 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56754         [BZ #10060, #10062]
56755         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
56756         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
56757         fail configure if __sync_val_compare_and_swap is not inlined.
56758         * sysdeps/i386/configure: Regenerate.
56759         * configure.in: Build for i686 when configured for i386.
56760         * configure: Regenerate.
56761         * README: Remove i386 reference.
56763 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56765         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
56766         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56768 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
56770         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
56771         (lmsnanval): New variables.
56772         (F): Add conversion tests.
56773         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
56774         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
56776         * stdio-common/tstdiomisc.c (F): Properly collect individual
56777         tests' results.
56779         [BZ #14686, #15336]
56780         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
56781         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
56782         Instead, use input NaN values or generate a qNaN by arithmetic
56783         operation.  Also fix bugs to comply with the standard.
56784         * math/libm-test.inc (remainder_test): Add more tests.
56786         [BZ #15335, #15342]
56787         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
56788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
56789         input NaN values or generate a qNaN by arithmetic operation.
56791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
56792         unreachable code.
56794         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
56795         definitions.
56797 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
56799         [BZ #14478]
56800         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
56801         underflowed result.
56802         * math/s_cexpf.c (__cexpf): Likewise.
56803         * math/s_cexpl.c (__cexpl): Likewise.
56804         * math/libm-test.inc (cexp_test): Add more tests.
56806 2013-04-03  Andreas Schwab  <schwab@suse.de>
56808         [BZ #15330]
56809         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
56810         order arrays from heap if bigger than alloca cutoff.
56812 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
56814         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
56815         (SNAN_TESTS_double): Refer to GCC PR56831.
56816         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
56817         GCC PR56828.
56819 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56821         * Rules (bench): Move bench.out after the run is complete.
56823         * Rules (bench): Echo currently running benchmark.
56825         * benchtests/Makefile (bench): Add atan and slowatan.
56826         * benchtests/atan-inputs: New file.
56827         * benchtests/slowatan-inputs: New file.
56828         * benchtests/slowatan.c: New file.
56830         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
56831         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
56832         its value.
56834         [BZ #15305]
56835         * sysdeps/unix/sysv/linux/kernel-features.h
56836         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
56837         __ASSUME_XFS_RESTRICTED_CHOWN.
56838         * sysdeps/unix/sysv/linux/pathconf.c
56839         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
56840         Save and restore errno.
56842 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
56844         [BZ #15327]
56845         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
56846         arguments using __kernel_casinh.
56847         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
56848         arguments using __kernel_casinhf.
56849         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
56850         arguments using __kernel_casinhl.
56851         * math/libm-test.inc (cacosh_test): Add more tests.
56852         * sysdeps/i386/fpu/libm-test-ulps: Update.
56853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56855 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56857         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
56858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
56860         * bench/Makefile (bench): Add sin and slowsin.
56861         * benchtests/sin-inputs: New file.
56862         * benchtests/slowsin-inputs: New file.
56863         * benchtests/slowsin.c: New file.
56865         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
56866         (bench): Add slowexp and slowpow.
56867         (exp-ITER): Increase iterations.
56868         (pow-ITER): Likewise.
56869         * benchtests/exp-inputs: Change input.
56870         * benchtests/pow-inputs: Likewise.
56871         * benchtests/slowexp-inputs: New file.
56872         * benchtests/slowexp.c: New file.
56873         * benchtests/slowpow-inputs: New file.
56874         * benchtests/slowpow.c: New file.
56876 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56878         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
56879         instructions.
56880         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56881         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
56882         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56883         * benchtests/Makefile: Add rint benchtest.
56884         * benchtests/rint-inputs: Input for rint benchtest.
56886 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
56888         * Versions.def (libm): Add GLIBC_2.18.
56889         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
56890         hidden libm prototypes.
56891         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
56892         * math/Makefile (libm-calls): Add s_issignaling.
56893         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
56894         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
56895         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
56896         declaration.
56897         * math/math.h [__USE_GNU] (issignaling): New macro.
56898         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
56899         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
56900         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
56901         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
56902         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
56903         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
56904         * manual/arith.texi (issignaling): New section.
56905         * manual/libm-err-tab.pl (@all_functions): Update comment.
56906         * math/gen-libm-test.pl (parse_args): Apply special handling for
56907         issignaling.
56908         * math/libm-test.inc (print_float, issignaling_test): New
56909         functions.
56910         (check_float_internal): Add issignaling checks.
56911         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
56912         default definition.
56913         * sysdeps/powerpc/math-tests.h: New file.
56914         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
56915         tests.
56916         * math/test-snan.c (TEST_FUNC): Likewise.
56918 2013-03-30  David S. Miller  <davem@davemloft.net>
56920         * po/de.po: Update from translation team.
56922 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
56924         [BZ #10357]
56925         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56926         imaginary part less than 1.0 and real part less than 0.5
56927         specially.
56928         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56929         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56930         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
56931         (cacos_test): Add more tests.
56932         (casin_test): Likewise.
56933         (casinh_test): Likewise.
56934         * sysdeps/i386/fpu/libm-test-ulps: Update.
56935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56937 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56939         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
56940         ONE with its value.
56942         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56943         (__pow_mp): Replace ONE and MONE with their values.
56944         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56945         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56946         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56947         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56948         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56949         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56951         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56953         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56954         (__pow_mp): Replace ZERO and MZERO with their values.
56955         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56956         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56957         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56959         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56960         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56961         (__sqr): Likewise.
56963         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56965         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56967 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56969         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56970         Declare with __attribute__ ((weak)).
56971         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56972         Call __call_tls_dtors only if it's not NULL.
56974 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56976         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56977         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56978         magic __ehdr_start linker symbol if it's defined.
56979         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56980         them up here if it was already done.
56982         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56983         (_dl_aux_init): Use const in cast when setting it.
56984         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56985         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56986         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56988         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56989         Declare them here.
56990         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56991         * csu/libc-tls.c: Nor here.
56992         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56994         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56995         (__libc_message): Never call vsyslog.
56997 2013-03-28  Alan Modra  <amodra@gmail.com>
56999         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57000         Define as empty.
57001         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57002         Likewise.
57004 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57006         [BZ #15214]
57007         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57008         underflow.
57009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57011 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57013         [BZ #15304]
57014         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57015         Don't add gid passed as argument.
57017         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57019 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
57021         [BZ #15307]
57022         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57023         imaginary part between 1.0 and 1.5 and real part less than 0.5
57024         specially.
57025         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57026         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57027         * math/libm-test.inc (cacos_test): Add more tests.
57028         (casin_test): Likewise.
57029         (casinh_test): Likewise.
57030         * sysdeps/i386/fpu/libm-test-ulps: Update.
57031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57033 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57035         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57036         constants.
57037         (norm): Likewise.
57038         (denorm): Likewise.
57039         (__dbl_mp): Likewise.
57040         (add_magnitudes): Likewise.
57041         (sub_magnitudes): Likewise.
57042         (__add): Likewise.
57043         (__sub): Likewise.
57044         (__mul): Likewise.
57045         (__sqr): Likewise.
57046         (__inv): Likewise.
57047         (__dvd): Likewise.
57049         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57050         commented code.
57051         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57052         (__dubcos): Likewise.
57053         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57054         (__ieee754_acos): Likewise.
57055         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57056         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57057         (__exp1): Likewise.
57058         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57059         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57060         (log1): Likewise.
57061         (my_log2): Likewise.
57062         (checkint): Likewise.
57063         * sysdeps/ieee754/dbl-64/e_remainder.c
57064         (__ieee754_remainder): Likewise.
57065         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57066         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57067         (bsloww): Likewise.
57068         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57070         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57071         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57072         MANTISSA_STORE_T to store computations on mantissa.  Use
57073         macros for rounding and division.
57074         (denorm): Likewise.
57075         (__dbl_mp): Likewise.
57076         (add_magnitudes): Likewise.
57077         (sub_magnitudes): Likewise.
57078         (__mul): Likewise.
57079         (__sqr): Likewise.
57080         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57081         powers of two in terms of TWOPOW macro.
57082         (mp_no): Make type of mantissa as MANTISSA_T.
57083         [!RADIXI]: Define RADIXI.
57084         [!TWO52]: Define TWO52.
57085         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57087 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57089         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57090         llroundl symbol when building for PPC32.
57092 2013-03-24  Mark H Weaver  <mhw@netris.org>
57094         * manual/arith.texi (Normalization Functions): Fix prototypes for
57095         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57097 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57099         [BZ #13889]
57100         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57101         high value to check if expl overflow.
57102         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57103         to check for underflow and overflow.
57104         * math/libm-test.inc: Add exp test.
57106 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
57108         [BZ #11120]
57109         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57110         with NOT_IN_libc.
57112 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57114         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57115         symbol.
57117 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57119         * math/gen-libm-test.pl (parse_args, special_functions): Properly
57120         wrap blocks consisting of several statements.
57122         * sysdeps/generic/math-tests.h: New file.
57123         * sysdeps/i386/fpu/math-tests.h: Likewise.
57124         * math/test-snan.c: Include it.
57125         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57127 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57129         [BZ #15285]
57130         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57131         (__ieee754_j0l): Do not improve calculations using cos of twice
57132         input for inputs above LDBL_MAX / 2.0L.
57133         (__ieee754_y0l): Likewise.
57134         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57135         (__ieee754_j1l): Do not improve calculations using cos of twice
57136         input for inputs above LDBL_MAX / 2.0L.
57137         (__ieee754_y1l): Likewise.
57138         * math/libm-test.inc (j0_test): Add another test.
57139         (j1_test): Likewise.
57140         (y0_test): Likewise.
57141         (y1_test): Likewise.
57142         * sysdeps/i386/fpu/libm-test-ulps: Update.
57144 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57146         * Rules ($(objpfx)bench-%.c): Include code from a C source
57147         file.
57149 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57151         [BZ #15287]
57152         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57153         imaginary part 1.0 and real part less than 0.5 specially.
57154         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57155         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57156         * math/libm-test.inc (cacos_test): Add more tests.
57157         (casin_test): Likewise.
57158         (casinh_test): Likewise.
57159         * sysdeps/i386/fpu/libm-test-ulps: Update.
57160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57162 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57164         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57165         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57167 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
57169         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57170         * config.make.in (config-cflags-sse4): Remove variable.
57171         (config-cflags-avx): Likewise.
57172         (config-cflags-sse2avx): Likewise.
57173         (config-cflags-novzeroupper): Likewise.
57174         (config-asflags-i686): Likewise.
57175         (have-mfma4): Likewise.
57176         (have-as-vis3): Likewise.
57177         (MIG): Likewise.
57178         * configure.in (MIG): Do not AC_SUBST.
57179         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57180         (libc_cv_cc_sse4): Do not AC_SUBST.
57181         (libc_cv_cc_avx): Likewise.
57182         (libc_cv_cc_sse2avx): Likewise.
57183         (libc_cv_cc_novzeroupper): Likewise.
57184         (libc_cv_cc_fma4): Likewise.
57185         (libc_cv_as_i686): Likewise.
57186         (libc_cv_sparc_as_vis3): Likewise.
57187         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57188         LIBC_CONFIG_VAR.
57189         (config-asflags-i686): Likewise.
57190         (config-cflags-avx): Likewise.
57191         (config-cflags-sse2avx): Likewise.
57192         (have-mfma4): Likewise.
57193         (config-cflags-novzeroupper): Likewise.
57194         * sysdeps/mach/configure.in (MIG): Likewise.
57195         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57196         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57197         LIBC_CONFIG_VAR.
57198         (config-cflags-avx): Likewise.
57199         (config-cflags-sse2avx): Likewise.
57200         (have-mfma4): Likewise.
57201         (config-cflags-novzeroupper): Likewise.
57202         * configure: Regenerated.
57203         * sysdeps/i386/configure: Likewise.
57204         * sysdeps/mach/configure: Likewise.
57205         * sysdeps/sparc/configure: Likewise.
57206         * sysdeps/x86_64/configure: Likewise.
57208 2013-03-20  Roland McGrath  <roland@hack.frob.com>
57210         [BZ #14812]
57211         * locale/programs/localedef.c (options): Put N_ translation marker
57212         on argument names, not just descriptions.
57214 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57216         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57218 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
57220         [BZ #14176]
57221         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57223 2013-03-19  Roland McGrath  <roland@hack.frob.com>
57225         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
57226         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
57227         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
57228         [!BEFORE_ABORT] (before_abort): New function.
57229         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
57230         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
57231         (writev_for_fatal): New function.
57232         (WRITEV_FOR_FATAL): New macro; call that.
57233         (backtrace_and_maps): New function.
57234         (BEFORE_ABORT): New macro; call that.
57235         (struct str_list): Type removed.
57236         (__libc_message, __libc_fatal): Functions removed.
57237         Include <sysdeps/posix/libc_fatal.c> instead.
57239 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
57241         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
57242         constants.
57243         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
57244         double constants.
57246 2013-03-19  Andreas Schwab  <schwab@suse.de>
57248         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
57249         * sysdeps/gnu/configure: Regenerate.
57251         * configure.in: Substitute libc_cv_rtlddir.
57252         * configure: Regenerate.
57253         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
57254         * Makeconfig (rtlddir, inst_rtlddir): New variables.
57255         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
57256         * elf/Makefile (install-others, CFLAGS-interp.c)
57257         (ldso_install, common-ldd-rewrite): Likewise.
57258         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
57259         $(inst_slibdir)/$(rtld-installed-name).
57260         * scripts/rellns-sh: Add -p option.
57261         * Makerules (make-shlib-link): Use rellns-sh to get relative name
57262         for source.
57264 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57266         * manual/nptl.texi: Renamed to ...
57267         * manual/threads.texi: ... this.
57268         * manual/Makefile (chapters): Update.
57270 2013-03-18  Roland McGrath  <roland@hack.frob.com>
57272         [BZ #14812]
57273         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
57274         on argument names, not just descriptions.
57275         * malloc/memusagestat.c (options): Likewise.
57276         * nss/getent.c (options): Likewise.
57278 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
57280         [BZ #14812]
57281         * iconv/iconv_prog.c (options): Put N_ translation marker
57282         on argument names, not just descriptions.
57283         * iconv/iconvconfig.c (options): Likewise.
57285 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
57287         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
57288         implementation which is faster on all x86_64 architectures.
57289         Tested on AMD, Intel Nehalem, SNB, IVB.
57290         * sysdeps/x86_64/strnlen.S: Likewise.
57292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57293         Remove all multiarch strlen and strnlen versions.
57294         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57295         Remove strlen and strnlen related parts.
57297         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
57298         Inline strlen part.
57299         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
57301         * sysdeps/x86_64/multiarch/strlen.S: Remove.
57302         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
57303         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
57304         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
57305         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57306         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
57308 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
57310         * manual/memory.texi (Malloc Tunable Parameters):
57311         Sort parameters alphabetically. Add comments for missing entries.
57313 2013-03-17  David S. Miller  <davem@davemloft.net>
57315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57317 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
57319         [BZ #15283]
57320         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
57321         for arguments at most half maximum finite value.
57322         * math/libm-test.inc (j0_test): Add more tests.
57323         (j1_test): Likewise.
57324         (y0_test): Likewise.
57325         (y1_test): Likewise.
57326         * sysdeps/i386/fpu/libm-test-ulps: Update.
57327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57329         [BZ #14155]
57330         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
57331         1 / x and functions P and Q for arguments above 0x1p256L.
57332         (__ieee754_y0l): Likewise.
57333         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
57334         (__ieee754_y1l): Likewise.
57335         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
57336         (j1_test): Likewise.
57337         (y0_test): Likewise.
57338         (y1_test): Likewise.
57340 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
57342         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
57343         variable.
57345 2013-03-15  Roland McGrath  <roland@hack.frob.com>
57347         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
57348         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
57349         zero since it's initialized to EXEC_PAGESIZE.
57351         * sysdeps/unix/sysv/linux/ldsodefs.h
57352         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
57353         * sysdeps/generic/ldsodefs.h: ... here.
57355 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
57357         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
57359         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
57360         math/test-snan.c.
57361         * math/test-snan.c: Renamed from
57362         sysdeps/powerpc/fpu/test-powerpc-snan.c.
57363         * math/Makefile (tests): Add test-snan.
57364         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
57365         test-powerpc-snan.
57367         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
57368         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
57369         functions.
57370         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
57371         __builtin_nan family of functions.
57372         * math/libm-test.inc (initialize): Initialize qnan_value with
57373         __builtin_nan family of functions.
57374         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
57375         Remove variables.
57376         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
57377         Remove functions.
57378         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
57379         storage class.  Initialize qNaN_var and sNaN_var with
57380         __builtin_nan and __builtin_nans families of functions,
57381         respectively.
57383         * math/libm-test.inc (acosh_test): Also test with qNaN input.
57384         (sqrt_test): Remove duplicate test with qNaN input.
57385         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
57386         (round_test, signbit_test, significand_test): Note missing +/-Inf
57387         as well as qNaN tests.
57389         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
57390         qNaN_var.  Fix a few strings, too.
57391         * math/libm-test.inc (nan_value): Rename to qnan_value.
57392         * math/gen-libm-test.pl (%beautify): Adjust to that.
57393         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
57394         * math/test-misc.c (main): Likewise.
57395         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
57396         to __qnan_bytes, and __qnan_union, respectively.
57397         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
57398         Likewise.
57399         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
57400         and lqnanval, respectively.
57401         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
57402         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
57403         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
57404         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
57406         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
57407         * math/test-misc.c (main) [__x86_64__]: Enable test for long
57408         doubles.
57410         * math/test-misc.c (main): Fix copy'n'pastos.
57411         * misc/tst-efgcvt.c (special): Likewise.
57413         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
57414         Remove declarations.
57416 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57418         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
57419         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
57420         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
57421         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
57423 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57425         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
57426         macro to return vdso values correctly in IFUNC implementations.
57427         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57428         Optimization by using IFUNC.
57430 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57431             Richard Henderson  <rth@redhat.com>
57432             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57434         * Makefile.in (bench): New target.
57435         * NEWS: Mention the benchmark framework.
57436         * Rules (bench): Likewise.
57437         (binaries-bench): Generate binaries for functions to
57438         benchmark.
57439         * benchtests/Makefile: New makefile for benchmark tests.
57440         * benchtests/bench-skeleton.c: New skeleton file for benchmark
57441         programs.
57442         * benchtests/exp-inputs: New input file for EXP function.
57443         * benchtests/pow-inputs: New input file for POW function.
57444         * scripts/bench.pl: New script to generate source files for
57445         benchmark programs.
57447 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57449         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57450         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
57451         computations on mantissa.  Use macros for rounding and
57452         division.
57453         (denorm): Likewise.
57454         (__dbl_mp): Likewise.
57455         (add_magnitudes): Likewise.
57456         (sub_magnitudes): Likewise.
57457         (__mul): Likewise.
57458         (__sqr): Likewise.
57459         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57460         powers of two in terms of TWOPOW macro.
57461         (mp_no): Make type of mantissa as MANTISSA_T.
57462         [!RADIXI]: Define RADIXI.
57463         [!TWO52]: Define TWO52.
57464         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57466         * manual/nptl.texi (cindex): Modify threads to pthreads.
57468 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
57470         * sysdeps/x86_64/preconfigure: Regenerated.
57472 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
57474         [BZ #14155]
57475         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
57476         0x1p28 and above.
57477         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
57478         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
57479         0x1p28 and above.
57480         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
57481         * math/libm-test.inc (j0_test): Do not allow one spurious
57482         underflow exception.
57483         (y1_test): Likewise.
57485 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57487         * manual/Makefile (chapters): Add nptl.
57488         * manual/debug.texi (Debugging Support): Add link to Threads
57489         chapter.
57490         * manual/nptl.texi: New file.
57492         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
57494 2013-03-14  Petr Baudis  <pasky@ucw.cz>
57496         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
57497         for non-NULL pointer before the memory validity test. Pointed
57498         out by Holger Brunck <holger.brunck@keymile.com>.
57500 2013-03-13  Andreas Schwab  <schwab@suse.de>
57502         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
57503         instead of .os.
57505 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
57507         * timezone/zic.c: Update from tzcode 2013b.
57509 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
57511         * manual/install.texi (Configuring and compiling):
57512         Mention i686 and i586.
57513         * INSTALL: Regenerate.
57515 2013-03-12  Roland McGrath  <roland@hack.frob.com>
57517         * sysdeps/init_array/elf-init.c: New file.
57518         * csu/elf-init.c
57519         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
57520         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
57522         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
57523         __gmon_start__ as global, but as static with a .preinit_array pointer.
57524         * sysdeps/init_array/gmon-start.c: New file.  Use that.
57525         * sysdeps/init_array/crti.S: New file, empty except for comments.
57526         * sysdeps/init_array/crtn.S: Likewise.
57528 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
57530         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
57531         definining bcopy.
57532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57533         Remove Prefer_SSE_for_memop.
57534         * sysdeps/x86_64/multiarch/init-arch.h: Remove
57535         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
57536         HAS_PREFER_SSE_FOR_MEMOP.
57537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
57538         memset-x86-64.
57539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57540         Remove bzero, memset ifunc support.
57541         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
57542         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
57543         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57544         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57546 2013-03-11  Andreas Schwab  <schwab@suse.de>
57548         [BZ #15234]
57549         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
57550         by SHLIB_COMPAT.
57551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
57552         (GLIBC_2.16): Remove pthread_atfork.
57554 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
57556         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
57557         (ptestcases.h): Likewise.
57559 2013-03-08  Roland McGrath  <roland@hack.frob.com>
57561         * Makeconfig ($(common-objpfx)config.status): Depend on
57562         sysdeps/*/preconfigure{,.in} too.
57564 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
57566         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
57567         (__free_hook): Use void * instead of __malloc_ptr_t.
57568         (__malloc_hook): Likewise.
57569         (__realloc_hook): Likewise.
57570         (__memalign_hook): Likewise.
57571         (__after_morecore_hook): Likewise.
57572         * malloc/arena.c (save_malloc_hook): Likewise.
57573         (save_free_hook): Likewise.
57574         * malloc/hooks.c (malloc_hook_ini): Likewise.
57575         (realloc_hook_ini): Likewise.
57576         (memalign_hook_ini): Likewise.
57577         * malloc/malloc.c (malloc_hook_ini): Likewise.
57578         (realloc_hook_ini): Likewise.
57579         (memalign_hook_ini): Likewise.
57580         (__free_hook): Likewise.
57581         (__malloc_hook): Likewise.
57582         (__realloc_hook): Likewise.
57583         (__memalign_hook): Likewise.
57584         (__libc_malloc): Likewise.
57585         (__libc_free): Likewise.
57586         (__libc_realloc): Likewise.
57587         (__libc_memalign): Likewise.
57588         (__libc_valloc): Likewise.
57589         (__libc_pvalloc): Likewise.
57590         (__libc_calloc): Likewise.
57591         (__posix_memalign): Likewise.
57592         * malloc/morecore.c (__sbrk): Likewise.
57593         (__default_morecore): Likewise.
57595         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
57597         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
57598         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
57599         __malloc_ptrdiff_t.
57601         * malloc/malloc.h (__malloc_size_t): Remove macro.
57602         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
57603         __malloc_size_t.
57604         (old_memalign_hook): Likewise.
57605         (old_realloc_hook): Likewise.
57606         (struct hdr): Likewise.
57607         (flood): Likewise.
57608         (mallochook): Likewise.
57609         (memalignhook): Likewise.
57610         (reallochook): Likewise.
57611         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
57612         (tr_old_realloc_hook): Likewise.
57613         (tr_old_memalign_hook): Likewise.
57614         (tr_mallochook): Likewise.
57615         (tr_reallochook): Likewise.
57616         (tr_memalignhook): Likewise.
57618 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57620         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
57621         default_ldbl_pack and using as default implementation.
57622         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
57623         implementation.
57624         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
57625         redundant definition.
57626         (ldbl_insert_mantissa): Likewise.
57627         (ldbl_canonicalize): Likewise.
57628         (ldbl_nearbyint): Likewise.
57629         (ldbl_pack): Rename to ldbl_pack_ppc.
57630         (ldbl_unpack): Rename to ldbl_unpack_ppc.
57631         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
57632         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
57634 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
57637         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
57638         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
57639         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
57640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
57641         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
57642         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
57643         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
57645 2013-03-07  Andreas Jaeger  <aj@suse.de>
57647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57648         bits/mman-linux.h.
57650 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57652         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
57653         Include mpa.h and declare __MPEXP.
57654         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
57655         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57656         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57657         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
57658         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57659         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57660         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
57662         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
57663         (__slowpow): Use long double EXPL and LOGL functions to
57664         compute POW.
57665         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57666         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57667         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
57668         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57669         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57670         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
57672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
57673         intermediate variable to calculate exponent.
57674         (__sqr): Likewise.
57675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57676         Likewise.
57677         (__sqr): Likewise.
57679         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
57680         [!NO__SQR]: Define __sqr.
57681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
57682         and NO__SQR.  Remove all code except __mul and __sqr.  Include
57683         sysdeps/ieee754/dbl-64/mpa.c.
57684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57686         [BZ #12723]
57687         * posix/Makefile (tests): Add tst-pathconf.
57688         * posix/tst-pathconf.c: New test case.
57689         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
57690         _PC_PIPE_BUF.
57691         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
57693 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
57695         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
57697 2013-03-06  Andreas Jaeger  <aj@suse.de>
57699         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
57700         definition via __MAP_ANONYMOUS.
57702         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
57703         it's not part of Linux headers.
57705         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
57706         (MAP_HUGE_MASK): Define.
57708         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57709         Define.
57710         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57711         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57712         Define.
57713         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57714         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57715         Define.
57716         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57717         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
57718         Define.
57719         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57721         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
57722         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
57723         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
57724         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
57725         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
57726         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
57728         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57729         Handle f2fs.
57731         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57732         Handle f2fs and efivarfs.
57734         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
57735         f2fs.
57737         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
57738         (EFIVARFS_MAGIC): Add.
57739         (F2FS_LINK_MAX): Add.
57741 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57743         * stdio-common/vfprintf.c: Replace __builtin_expect with
57744         __glibc_unlikely.
57746 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
57748         [BZ #13550]
57749         * sysdeps/generic/bp-sym.h: Remove file.
57750         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
57751         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
57752         <bp-sym.h> and <bp-asm.h>.
57753         (__longjmp): Don't use BP_SYM.
57754         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
57755         and <bp-asm.h>.
57756         (memcpy): Don't use BP_SYM.
57757         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
57758         <bp-sym.h> and <bp-asm.h>.
57759         (memcpy): Don't use BP_SYM.
57760         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
57761         <bp-asm.h>.
57762         (memcpy): Don't use BP_SYM.
57763         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
57764         <bp-asm.h>.
57765         (memset): Don't use BP_SYM.
57766         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57767         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57768         (__bzero): Don't use BP_SYM.
57769         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57770         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57771         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
57772         <bp-sym.h> and <bp-asm.h>.
57773         (memcmp): Don't use BP_SYM.  Remove comment about bounded
57774         pointers.
57775         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
57776         <bp-sym.h> and <bp-asm.h>.
57777         (memcpy): Don't use BP_SYM.
57778         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
57779         <bp-sym.h> and <bp-asm.h>.
57780         (memset): Don't use BP_SYM.
57781         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57782         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57783         (__bzero): Don't use BP_SYM.
57784         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57785         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57786         * sysdeps/powerpc/powerpc64/power4/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/power6/memcpy.S: Don't include
57791         <bp-sym.h> and <bp-asm.h>.
57792         (memcpy): Don't use BP_SYM.
57793         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
57794         <bp-sym.h> and <bp-asm.h>.
57795         (memset): Don't use BP_SYM.
57796         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57797         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57798         (__bzero): Don't use BP_SYM.
57799         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57800         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57801         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
57802         <bp-sym.h> and <bp-asm.h>.
57803         (__memchr): Don't use BP_SYM.
57804         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
57805         <bp-sym.h> and <bp-asm.h>.
57806         (memcmp): Don't use BP_SYM.  Remove comment about bounded
57807         pointers.
57808         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
57809         <bp-sym.h> and <bp-asm.h>.
57810         (memcpy): Don't use BP_SYM.
57811         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
57812         <bp-sym.h> and <bp-asm.h>.
57813         (__mempcpy): Don't use BP_SYM.
57814         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
57815         <bp-sym.h> and <bp-asm.h>.
57816         (__memrchr): Don't use BP_SYM.
57817         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
57818         <bp-sym.h> and <bp-asm.h>.
57819         (memset): Don't use BP_SYM.
57820         (__bzero): Likewise.
57821         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
57822         <bp-sym.h> and <bp-asm.h>.
57823         (__rawmemchr): Don't use BP_SYM.
57824         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
57825         <bp-sym.h> and <bp-asm.h>.
57826         (__STRCMP): Don't use BP_SYM.
57827         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
57828         <bp-sym.h> and <bp-asm.h>.
57829         (strchr): Don't use BP_SYM.
57830         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
57831         <bp-sym.h> and <bp-asm.h>.
57832         (__strchrnul): Don't use BP_SYM.
57833         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
57834         <bp-sym.h> and <bp-asm.h>.
57835         (strlen): Don't use BP_SYM.
57836         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
57837         <bp-sym.h> and <bp-asm.h>.
57838         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57839         pointers.
57840         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
57841         <bp-sym.h> and <bp-asm.h>.
57842         (__strnlen): Don't use BP_SYM.
57843         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
57844         <bp-sym.h> and <bp-asm.h>.
57845         (__GI__setjmp): Don't use BP_SYM.
57846         (_setjmp): Likewise.
57847         (__sigsetjmp): Likewise.
57848         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
57849         (L(start_addresses)): Don't use BP_SYM.
57850         (_start): Likewise.
57851         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
57852         <bp-asm.h>.
57853         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
57854         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
57855         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57856         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57857         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
57858         <bp-asm.h>.
57859         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
57860         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
57861         about bounded pointers.
57862         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57863         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57864         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
57865         <bp-asm.h>.
57866         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57867         about bounded pointers.  Remove GKM FIXME comments.
57868         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57869         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
57870         <bp-asm.h>.
57871         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
57872         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
57873         Remove GKM FIXME comments.
57874         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57875         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57876         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
57877         <bp-asm.h>.
57878         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57879         about bounded pointers.  Remove GKM FIXME comment.
57880         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
57881         and <bp-asm.h>.
57882         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57883         pointers.
57884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
57885         <bp-sym.h> and <bp-asm.h>.
57886         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
57888         <bp-sym.h> and <bp-asm.h>.
57889         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57890         comment.
57892 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57894         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
57895         call free(NULL).
57897 2013-03-05  David S. Miller  <davem@davemloft.net>
57899         * po/es.po: Update from translation team.
57901 2013-03-05  Andreas Jaeger  <aj@suse.de>
57903         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
57904         <bits/mman-linux.h>.
57905         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57906         is fine.
57907         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
57908         <bits/mman-linux.h> to end of file.
57909         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57910         is fine.
57911         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
57912         <bits/mman-linux.h> to end of file.
57913         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57914         is fine.
57915         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
57916         <bits/mman-linux.h> to end of file.
57918         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
57919         (MCL_CURRENT, MCL_FUTURE): Define here.
57921 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57923         [BZ #15232]
57924         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
57925         attribute_hidden.
57926         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57928 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57930         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
57931         fourth parameter needed for rt_sigprocmask syscall.
57932         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
57933         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57934         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
57935         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57936         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57937         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
57939 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
57941         [BZ #13550]
57942         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57943         comment about bounded pointers.
57944         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57945         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57947 2013-03-04  Andreas Jaeger  <aj@suse.de>
57949         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57950         common definitions.
57952         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57953         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57954         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57955         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57956         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57957         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57959 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57961         [BZ #15055]
57962         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57963         __ieee754_sqrl instead of __sqrl.
57965 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57967         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57968         * sysdeps/powerpc/fpu_control.h: ... here.
57969         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57970         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57971         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57972         * sysdeps/powerpc/bits/mathinline.h: ... here.
57974 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57976         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57977         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57978         to just [NEED_DL_SYSINFO_DSO].
57979         * elf/dl-support.c: Likewise.
57980         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57981         * elf/rtld.c (dl_main): Likewise.
57982         * elf/setup-vdso.h (setup_vdso): Likewise.
57983         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57984         * sysdeps/unix/sysv/linux/dl-sysdep.c
57985         (_dl_discover_osversion): Likewise.
57987 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57989         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57990         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57992 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57994         * NEWS: Mention libm performance improvements and non-x86 PI
57995         futex support.
57997         * csu/libc-start.c (__pthread_initialize_minimal): Change
57998         function arguments.
57999         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58001 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
58003         [BZ #13550]
58004         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58005         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58006         <bp-sym.h> and <bp-asm.h>.
58007         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58008         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58009         and <bp-asm.h>.
58010         (memcpy): Don't use BP_SYM.
58011         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58012         <bp-asm.h>.
58013         (__mpn_add_n): Don't use BP_SYM.
58014         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58015         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58016         and <bp-asm.h>.
58017         (__mpn_addmul_1): Don't use BP_SYM.
58018         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58019         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58020         <bp-sym.h>.
58021         (_setjmp): Don't use BP_SYM.
58022         (__novmx_setjmp): Likewise.
58023         (__GI__setjmp): Likewise.
58024         (__vmx_setjmp): Likewise.
58025         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58026         <bp-sym.h>.
58027         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58028         (__bzero): Don't use BP_SYM.
58029         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58030         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58031         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58032         <bp-sym.h> and <bp-asm.h>.
58033         (memcpy): Don't use BP_SYM.
58034         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58035         <bp-sym.h> and <bp-asm.h>.
58036         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58037         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58038         <bp-sym.h> and <bp-asm.h>.
58039         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58040         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58041         <bp-asm.h>.
58042         (__mpn_lshift): Don't use BP_SYM.
58043         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58044         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58045         <bp-asm.h>.
58046         (memset): Don't use BP_SYM.
58047         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58048         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58049         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58050         <bp-asm.h>.
58051         (__mpn_mul_1): Don't use BP_SYM.
58052         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58053         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58054         <bp-sym.h> and <bp-asm.h>.
58055         (memcmp): Don't use BP_SYM.
58056         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58057         <bp-sym.h> and <bp-asm.h>.
58058         (memcpy): Don't use BP_SYM.
58059         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58060         <bp-sym.h> and <bp-asm.h>.
58061         (memset): Don't use BP_SYM.
58062         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58063         <bp-sym.h> and <bp-asm.h>.
58064         (strncmp): Don't use BP_SYM.
58065         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58066         <bp-sym.h> and <bp-asm.h>.
58067         (memcpy): Don't use BP_SYM.
58068         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58069         <bp-sym.h> and <bp-asm.h>.
58070         (memset): Don't use BP_SYM.
58071         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58072         <bp-sym.h> and <bp-asm.h>.
58073         (__memchr): Don't use BP_SYM.
58074         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58075         <bp-sym.h> and <bp-asm.h>.
58076         (memcmp): Don't use BP_SYM.
58077         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58078         <bp-sym.h> and <bp-asm.h>.
58079         (memcpy): Don't use BP_SYM.
58080         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58081         <bp-sym.h> and <bp-asm.h>.
58082         (__mempcpy): Don't use BP_SYM.
58083         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58084         <bp-sym.h> and <bp-asm.h>.
58085         (__memrchr): Don't use BP_SYM.
58086         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58087         <bp-sym.h> and <bp-asm.h>.
58088         (memset): Don't use BP_SYM.
58089         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58090         <bp-sym.h> and <bp-asm.h>.
58091         (__rawmemchr): Don't use BP_SYM.
58092         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58093         <bp-sym.h> and <bp-asm.h>.
58094         (__STRCMP): Don't use BP_SYM.
58095         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58096         <bp-sym.h> and <bp-asm.h>.
58097         (strchr): Don't use BP_SYM.
58098         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58099         <bp-sym.h> and <bp-asm.h>.
58100         (__strchrnul): Don't use BP_SYM.
58101         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58102         <bp-sym.h> and <bp-asm.h>.
58103         (strlen): Don't use BP_SYM.
58104         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58105         <bp-sym.h> and <bp-asm.h>.
58106         (strncmp): Don't use BP_SYM.
58107         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58108         <bp-sym.h> and <bp-asm.h>.
58109         (__strnlen): Don't use BP_SYM.
58110         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58111         <bp-asm.h>.
58112         (__mpn_rshift): Don't use BP_SYM.
58113         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58114         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58115         <bp-sym.h> and <bp-asm.h>.
58116         (__sigsetjmp): Don't use BP_SYM.
58117         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58118         (L(start_addresses)): Don't use BP_SYM.
58119         (_start): Likewise.
58120         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58121         <bp-asm.h>.
58122         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58123         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58124         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58125         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58126         <bp-asm.h>.
58127         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58128         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58129         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58130         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58131         <bp-asm.h>.
58132         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58133         comments.
58134         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58135         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58136         <bp-asm.h>.
58137         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
58138         FIXME comments.
58139         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58140         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58141         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58142         <bp-asm.h>.
58143         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58144         comment.
58145         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58146         and <bp-asm.h>.
58147         (strncmp): Don't use BP_SYM,
58148         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58149         <bp-asm.h>.
58150         (__mpn_sub_n): Don't use BP_SYM.
58151         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58152         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58153         and <bp-asm.h>.
58154         (__mpn_submul_1): Don't use BP_SYM.
58155         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58157         <bp-sym.h> and <bp-asm.h>.
58158         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58160         <bp-sym.h> and <bp-asm.h>.
58161         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58162         comment.
58164 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58167         Use ZK to minimize writes to Z.
58168         (sub_magnitudes): Simplify code a bit.
58169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58170         Use ZK to minimize writes to Z.
58171         (sub_magnitudes): Simplify code a bit.
58173 2013-02-27  Roland McGrath  <roland@hack.frob.com>
58175         * csu/gmon-start.c: Add special exception to license text.
58177 2013-02-27  Richard Henderson  <rth@redhat.com>
58179         * scripts/config.guess: Update from config.git.
58180         * scripts/config.sub: Likewise.
58182 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58184         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58186         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58188         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58190         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58192         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58194 2013-02-26  Roland McGrath  <roland@hack.frob.com>
58196         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58197         [$(build-shared = yes].
58199 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58201         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58202         (__mul): Reduce iterations for calculating mantissa.
58204         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58205         MPTWO.
58206         (__mpranred): Likewise.
58208         [BZ #15160]
58209         * malloc/memusagestat.c (main): Draw graphs for heap and stack
58210         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58212 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
58214         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58215         Define __attribute__.
58217 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58219         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58220         unused.
58221         * posix/regex_internal.h (__attribute): Remove.
58222         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58223         (re_string_context_at): Likewise.
58224         (bitset_not): Use __attribute__ and mark function as possibly
58225         unused.
58226         (bitset_merge): Likewise.
58227         (bitset_mask): Likewise.
58228         (re_string_char_size_at): Likewise.
58229         (re_string_wchar_at): Likewise.
58230         (re_string_elem_size_at): Likewise.
58232 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58234         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
58235         code.
58236         (cc32): Likewise.
58238         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
58239         (__acr): Likewise.
58240         (__cpy): Likewise.
58241         (norm): Likewise.
58242         (denorm): Likewise.
58243         (__dbl_mp): Likewise.
58244         (add_magnitudes): Likewise.
58245         (sub_magnitudes): Likewise.
58246         (__mul): Likewise.
58247         (__inv): Likewise.
58249         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
58250         style.
58252         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
58253         style.
58255         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
58256         code.
58258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
58259         up changes with default code.
58260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
58261         Likewise.
58263 2013-02-24  Allan McRae  <allan@archlinux.org>
58265         * manual/socket.texi (The Internet Namespace): Order menu items
58266         to match that in the file.
58268         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
58269         node listing of the info page menu.
58271 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
58273         [BZ #13550]
58274         * sysdeps/i386/bp-asm.h: Remove file.
58275         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58276         (PARMS): Do not use macros from bp-asm.h.
58277         (S1): Likewise.
58278         (S2): Likewise.
58279         (SIZE): Likewise.
58280         (__mpn_add_n): Do not use BP_SYM
58281         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
58282         "bp-asm.h".
58283         (PARMS): Do not use macros from bp-asm.h.
58284         (S1): Likewise.
58285         (SIZE): Likewise.
58286         (__mpn_addmul_1): Do not use BP_SYM
58287         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
58288         "bp-asm.h".
58289         (PARMS): Do not use macros from bp-asm.h.
58290         (SIGMSK): Likewise.
58291         (_setjmp): Likewise.  Do not use BP_SYM.
58292         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
58293         "bp-asm.h".
58294         (PARMS): Do not use macros from bp-asm.h.
58295         (SIGMSK): Likewise.
58296         (setjmp): Likewise.  Do not use BP_SYM.
58297         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
58298         "bp-asm.h".
58299         (PARMS): Do not use macros from bp-asm.h.
58300         (__frexp): Do not use BP_SYM.
58301         (frexp): Likewise.
58302         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
58303         "bp-asm.h".
58304         (PARMS): Do not use macros from bp-asm.h.
58305         (__frexpf): Do not use BP_SYM.
58306         (frexpf): Likewise.
58307         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
58308         "bp-asm.h".
58309         (PARMS): Do not use macros from bp-asm.h.
58310         (__frexpl): Do not use BP_SYM.
58311         (frexpl): Likewise.
58312         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
58313         "bp-asm.h".
58314         (PARMS): Do not use macros from bp-asm.h.
58315         (__remquo): Do not use BP_SYM.
58316         (remquo): Likewise.
58317         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
58318         "bp-asm.h".
58319         (PARMS): Do not use macros from bp-asm.h.
58320         (__remquof): Do not use BP_SYM.
58321         (remquof): Likewise.
58322         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
58323         "bp-asm.h".
58324         (PARMS): Do not use macros from bp-asm.h.
58325         (__remquol): Do not use BP_SYM.
58326         (remquol): Likewise.
58327         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
58328         "bp-asm.h".
58329         (PARMS): Do not use macros from bp-asm.h.
58330         (DEST): Likewise.
58331         (SRC): Likewise.
58332         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
58333         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
58334         "bp-asm.h".
58335         (PARMS): Do not use macros from bp-asm.h.
58336         (strlen): Do not use BP_SYM.
58337         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
58338         "bp-asm.h".
58339         (PARMS): Do not use macros from bp-asm.h.
58340         (S1): Likewise.
58341         (S2): Likewise.
58342         (SIZE): Likewise.
58343         (__mpn_add_n): Do not use BP_SYM.
58344         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
58345         "bp-asm.h".
58346         (PARMS): Do not use macros from bp-asm.h.
58347         (S1): Likewise.
58348         (SIZE): Likewise.
58349         (__mpn_addmul_1): Do not use BP_SYM.
58350         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
58351         weak_alias.
58352         (bzero): Likewise.
58353         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
58354         "bp-asm.h".
58355         (PARMS): Do not use macros from bp-asm.h.
58356         (S): Likewise.
58357         (SIZE): Likewise.
58358         (__mpn_lshift): Do not use BP_SYM.
58359         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
58360         "bp-asm.h".
58361         (PARMS): Do not use macros from bp-asm.h.
58362         (DEST): Likewise.
58363         (SRC): Likewise.
58364         (LEN): Likewise.
58365         (memcpy): Likewise.  Do not use BP_SYM.
58366         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
58367         libc_hidden_def and weak_alias.
58368         (mempcpy): Do not use BP_SYM in weak_alias.
58369         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
58370         "bp-asm.h".
58371         (PARMS): Do not use macros from bp-asm.h.
58372         (DEST): Likewise.
58373         (LEN): Likewise.
58374         [!BZERO_P] (CHR): Likewise.
58375         (memset): Likewise.  Do not use BP_SYM.
58376         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
58377         "bp-asm.h".
58378         (PARMS): Do not use macros from bp-asm.h.
58379         (S1): Likewise.
58380         (SIZE): Likewise.
58381         (__mpn_mul_1): Do not use BP_SYM.
58382         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
58383         "bp-asm.h".
58384         (PARMS): Do not use macros from bp-asm.h.
58385         (S): Likewise.
58386         (SIZE): Likewise.
58387         (__mpn_rshift): Do not use BP_SYM.
58388         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
58389         "bp-asm.h".
58390         (PARMS): Do not use macros from bp-asm.h.
58391         (STR): Likewise.
58392         (CHR): Likewise.
58393         (strchr): Likewise.  Do not use BP_SYM.
58394         (index): Do not use BP_SYM in weak_alias.
58395         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
58396         "bp-asm.h".
58397         (PARMS): Do not use macros from bp-asm.h.
58398         (DEST): Likewise.
58399         (SRC): Likewise.
58400         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
58401         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
58402         "bp-asm.h".
58403         (PARMS): Do not use macros from bp-asm.h.
58404         (strlen): Do not use BP_SYM.
58405         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
58406         "bp-asm.h".
58407         (PARMS): Do not use macros from bp-asm.h.
58408         (S1): Likewise.
58409         (S2): Likewise.
58410         (SIZE): Likewise.
58411         (__mpn_sub_n): Do not use BP_SYM.
58412         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
58413         "bp-asm.h".
58414         (PARMS): Do not use macros from bp-asm.h.
58415         (S1): Likewise.
58416         (SIZE): Likewise.
58417         (__mpn_submul_1): Do not use BP_SYM.
58418         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
58419         "bp-asm.h".
58420         (PARMS): Do not use macros from bp-asm.h.
58421         (S1): Likewise.
58422         (S2): Likewise.
58423         (SIZE): Likewise.
58424         (__mpn_add_n): Do not use BP_SYM.
58425         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
58426         weak_alias.
58427         (bzero): Likewise.
58428         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
58429         "bp-asm.h".
58430         (PARMS): Do not use macros from bp-asm.h.
58431         (BLK2): Likewise.
58432         (LEN): Likewise.
58433         (memcmp): Do not use BP_SYM.
58434         (bcmp): Do not use BP_SYM in weak_alias.
58435         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
58436         "bp-asm.h".
58437         (PARMS): Do not use macros from bp-asm.h.
58438         (DEST): Likewise.
58439         (SRC): Likewise.
58440         (LEN): Likewise.
58441         (memcpy): Likewise.  Do not use BP_SYM.
58442         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
58443         "bp-asm.h".
58444         (PARMS): Do not use macros from bp-asm.h.
58445         (DEST): Likewise.
58446         (SRC): Likewise.
58447         (LEN): Likewise.
58448         (memmove): Likewise.  Do not use BP_SYM.
58449         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
58450         "bp-asm.h".
58451         (PARMS): Do not use macros from bp-asm.h.
58452         (DEST): Likewise.
58453         (SRC): Likewise.
58454         (LEN): Likewise.
58455         (__mempcpy): Likewise.  Do not use BP_SYM.
58456         (mempcpy): Do not use BP_SYM in weak_alias.
58457         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
58458         "bp-asm.h".
58459         (PARMS): Do not use macros from bp-asm.h.
58460         (DEST): Likewise.
58461         (LEN): Likewise.
58462         [!BZERO_P] (CHR): Likewise.
58463         (memset): Likewise.  Do not use BP_SYM.
58464         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
58465         "bp-asm.h".
58466         (PARMS): Do not use macros from bp-asm.h.
58467         (STR2): Likewise.
58468         (strcmp): Do not use BP_SYM.
58469         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
58470         "bp-asm.h".
58471         (PARMS): Do not use macros from bp-asm.h.
58472         (STR): Likewise.
58473         (DELIM): Likewise.
58474         [USE_AS_STRTOK_R] (SAVE): Likewise.
58475         (FUNCTION): Likewise.  Do not use BP_SYM.
58476         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
58477         aliases.
58478         (strtok_r): Likewise.
58479         (__GI___strtok_r): Likewise.
58480         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
58481         (PARMS): Do not use macros from bp-asm.h.
58482         (S): Likewise.
58483         (SIZE): Likewise.
58484         (__mpn_lshift): Do not use BP_SYM.
58485         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
58486         (PARMS): Do not use macros from bp-asm.h.
58487         (STR): Likewise.
58488         (CHR): Likewise.
58489         (__memchr): Do not use BP_SYM.
58490         (memchr): Do not use BP_SYM in weak_alias.
58491         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
58492         (PARMS): Do not use macros from bp-asm.h.
58493         (BLK2): Likewise.
58494         (LEN): Likewise.
58495         (memcmp): Do not use BP_SYM.
58496         (bcmp): Do not use BP_SYM in weak_alias.
58497         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
58498         (PARMS): Do not use macros from bp-asm.h.
58499         (S1): Likewise.
58500         (SIZE): Likewise.
58501         (__mpn_mul_1): Do not use BP_SYM.
58502         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
58503         "bp-asm.h".
58504         (PARMS): Do not use macros from bp-asm.h.
58505         (STR): Likewise.
58506         (CHR): Likewise.
58507         (__rawmemchr): Do not use BP_SYM.
58508         (rawmemchr): Do not use BP_SYM in weak_alias.
58509         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
58510         (PARMS): Do not use macros from bp-asm.h.
58511         (S): Likewise.
58512         (SIZE): Likewise.
58513         (__mpn_rshift): Do not use BP_SYM.
58514         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
58515         (PARMS): Do not use macros from bp-asm.h.
58516         (SIGMSK): Likewise.
58517         (__sigsetjmp): Likewise.  Do not use BP_SYM.
58518         * sysdeps/i386/start.S: Do not include "bp-sym.h".
58519         (_start): Do not use BP_SYM.
58520         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
58521         (PARMS): Do not use macros from bp-asm.h.
58522         (DEST): Likewise.
58523         (SRC): Likewise.
58524         (__stpcpy): Likewise.  Do not use BP_SYM.
58525         (stpcpy): Do not use BP_SYM in weak_alias.
58526         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
58527         "bp-asm.h".
58528         (PARMS): Do not use macros from bp-asm.h.
58529         (DEST): Likewise.
58530         (SRC): Likewise.
58531         (LEN): Likewise.
58532         (__stpncpy): Likewise.  Do not use BP_SYM.
58533         (stpncpy): Do not use BP_SYM in weak_alias.
58534         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
58535         (PARMS): Do not use macros from bp-asm.h.
58536         (STR): Likewise.
58537         (CHR): Likewise.
58538         (strchr): Likewise.  Do not use BP_SYM.
58539         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
58540         "bp-asm.h".
58541         (PARMS): Do not use macros from bp-asm.h.
58542         (STR): Likewise.
58543         (CHR): Likewise.
58544         (__strchrnul): Likewise.  Do not use BP_SYM.
58545         (strchrnul): Do not use BP_SYM in weak_alias.
58546         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
58547         "bp-asm.h".
58548         (PARMS): Do not use macros from bp-asm.h.
58549         (STOP): Likewise.
58550         (strcspn): Do not use BP_SYM.
58551         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
58552         "bp-asm.h".
58553         (PARMS): Do not use macros from bp-asm.h.
58554         (STR): Likewise.
58555         (STOP): Likewise.
58556         (strpbrk): Likewise.  Do not use BP_SYM.
58557         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
58558         "bp-asm.h".
58559         (PARMS): Do not use macros from bp-asm.h.
58560         (STR): Likewise.
58561         (CHR): Likewise.
58562         (strrchr): Likewise.  Do not use BP_SYM.
58563         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
58564         (PARMS): Do not use macros from bp-asm.h.
58565         (SKIP): Likewise.
58566         (strspn): Do not use BP_SYM.
58567         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
58568         (PARMS): Do not use macros from bp-asm.h.
58569         (STR): Likewise.
58570         (DELIM): Likewise.
58571         (SAVE): Likewise.
58572         (FUNCTION): Likewise.  Do not use BP_SYM.
58573         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
58574         aliases.
58575         (strtok_r): Likewise.
58576         (__GI___strtok_r): Likewise.
58577         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58578         (PARMS): Do not use macros from bp-asm.h.
58579         (S1): Likewise.
58580         (S2): Likewise.
58581         (SIZE): Likewise.
58582         (__mpn_sub_n): Do not use BP_SYM.
58583         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
58584         "bp-asm.h".
58585         (PARMS): Do not use macros from bp-asm.h.
58586         (S1): Likewise.
58587         (SIZE): Likewise.
58588         (__mpn_submul_1): Do not use BP_SYM.
58589         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
58590         <bp-sym.h>.
58591         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
58592         and <bp-asm.h>.
58593         (PARMS): Do not use macros from bp-asm.h.
58594         (FLAGS): Likewise.
58595         (PTID): Likewise.
58596         (TLS): Likewise.
58597         (CTID): Likewise.
58598         (__clone): Do not use BP_SYM.
58599         (clone): Do not use BP_SYM in weak_alias.
58600         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
58601         and <bp-asm.h>.
58602         (PARMS): Do not use macros from bp-asm.h.
58603         (LEN): Likewise.
58604         (__mmap64): Do not use BP_SYM.
58605         (mmap64): Do not use BP_SYM in weak_alias.
58606         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58607         <bp-sym.h> and <bp-asm.h>.
58608         (PARMS): Do not use macros from bp-asm.h.
58609         (__posix_fadvise64_l64): Do not use BP_SYM.
58610         * sysdeps/unix/sysv/linux/i386/semtimedop.S
58611         (PARMS): Do not use macros from bp-asm.h.
58612         (NSOPS): Likewise.
58613         (semtimedop): Do not use BP_SYM.
58614         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
58615         and <bp-asm.h>.
58617 2013-02-21  Allan McRae  <allan@archlinux.org>
58619         * manual/message.texi (Charset conversion in gettext):
58620         Move @end statement to beginning of line.
58622 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
58625         static.
58626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58627         Likewise.
58629         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
58630         (denorm): Likewise.
58631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
58632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
58634 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58636         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
58637         tail-call to the resolved function if pltexit isn't needed.
58639 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
58642         or Y being zero as being unlikely.
58643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58644         Likewise.
58646 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
58648         * manual/nss.texi (System Databases and Name Service Switch):
58649         Remove frobnicate @pxref.
58651 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
58653         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58654         __attribute__ ((unused)) to __attribute__ ((__unused__)).
58656 2013-02-20  Petr Machata  <pmachata@redhat.com>
58658         * elf/elf.h (R_ARM_TARGET1): New macro.
58659         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
58660         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
58661         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
58662         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
58663         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
58664         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
58665         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
58666         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
58667         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
58668         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
58669         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
58670         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
58671         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
58672         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
58673         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
58674         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
58675         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
58676         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
58677         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
58678         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
58679         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
58680         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
58681         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
58682         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
58683         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
58684         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
58685         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
58686         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
58687         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
58688         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
58689         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
58690         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
58691         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
58692         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
58693         (R_ARM_THM_GOT_BREL12): Likewise.
58694         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
58695         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
58696         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
58697         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
58698         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
58699         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
58700         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
58701         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
58702         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
58704 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
58706         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58707         __attribute_used__ to __attribute__ ((unused)).
58709 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58711         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
58712         powerpc mpa.c.
58713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
58714         comment formatting.
58715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
58717 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
58719         [BZ #13550]
58720         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
58721         Remove macro.
58722         (ENTER): Remove both macro definitions.
58723         (LEAVE): Likewise.
58724         (CHECK_BOUNDS_LOW): Likewise.
58725         (CHECK_BOUNDS_HIGH): Likewise.
58726         (CHECK_BOUNDS_BOTH): Likewise.
58727         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
58728         (RETURN_BOUNDED_POINTER): Likewise.
58729         (RETURN_NULL_BOUNDED_POINTER): Likewise.
58730         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
58731         (POP_ERRNO_LOCATION_RETURN): Likewise.
58732         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
58733         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58734         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
58735         macros.
58736         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58737         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
58738         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
58739         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
58740         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
58741         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
58742         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
58743         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
58744         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
58745         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
58746         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
58747         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
58748         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58749         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
58750         removed macros.
58751         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58752         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
58753         macros.
58754         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58755         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
58756         * sysdeps/i386/i586/memset.S (memset): Likewise.
58757         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
58758         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58759         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
58760         macros.
58761         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58762         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
58763         Change uses of L(2) to L(out).
58764         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
58765         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
58766         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
58767         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58768         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
58769         removed macros.
58770         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58771         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
58772         macros.
58773         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58774         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
58775         (RETURN): Do not use macro LEAVE.
58776         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
58777         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
58778         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
58779         * sysdeps/i386/i686/memset.S (memset): Likewise.
58780         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
58781         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
58782         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58783         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
58784         Likewise.
58785         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58786         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
58787         L(1_2) and L(1_3) into L(1).
58788         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58789         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
58790         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58791         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
58792         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58793         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
58794         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
58795         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58796         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
58797         macros.
58798         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
58799         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58800         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
58801         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
58802         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
58803         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58804         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
58805         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
58806         * sysdeps/i386/strcspn.S (strcspn): Likewise.
58807         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
58808         * sysdeps/i386/strrchr.S (strrchr): Likewise.
58809         * sysdeps/i386/strspn.S (strspn): Likewise.
58810         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
58811         conditional code.
58812         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58813         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
58814         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58815         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
58816         L(1_3) into L(1_1).
58817         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
58818         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58819         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
58820         macros.
58821         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58823 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
58825         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
58826         macro.
58828 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58830         * math/atest-exp.c (exp_mpn): Remove ROUND.
58831         * math/atest-exp2.c (exp_mpn): Likewise.
58832         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
58834         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
58835         * stdlib/tst-tls-atexit-lib.c: Likewise.
58836         * stdlib/tst-tls-atexit.c: Likewise.
58838 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58840         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
58841         and __attribute_alloc_size__.
58843 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58845         * include/programs/xmalloc.h: Change __attribute_alloc_size to
58846         __attribute_alloc_size__.
58847         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
58848         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
58850 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58852         * include/programs/xmalloc.h: New file.
58853         * catgets/gencat.c: Include it.
58854         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
58855         * elf/pldd.c: Likewise.
58856         * iconv/iconv_charmap.c: Likewise.
58857         * iconv/iconvconfig.c: Likewise.
58858         * iconv/strtab.c: Likewise.
58859         * locale/programs/locale.c: Likewise.
58860         * locale/programs/localedef.h: Likewise.
58861         * locale/programs/simple-hash.c: Likewise.
58862         * nscd/nscd.h: Likewise.
58863         * nss/makedb.c: Likewise.
58864         * sysdeps/generic/ldconfig.h: Likewise.
58866 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58868         * Versions.def: Add GLIBC_2.18.
58869         * include/link.h (struct link_map): New member l_tls_dtor_count.
58870         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
58871         (__call_tls_dtors): Likewise.
58872         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
58873         __cxa_thread_atexit_impl.
58874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58875         Likewise.
58876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58877         Likewise.
58878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58879         Likewise.
58880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58881         Likewise.
58882         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
58884         Likewise.
58885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
58886         Likewise.
58887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58889         Likewise.
58890         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
58891         (tests): Add test case tst-tls-atexit.
58892         (modules-names): Add shared library for tst-tls-atexit.
58893         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
58894         (GLIBC_PRIVATE): Add __call_tls_dtors.
58895         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
58896         for libstdc++.
58897         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
58898         * stdlib/tst-tls-atexit.c: New test case.
58899         * stdlib/tst-tls-atexit-lib.c: New test case.
58901         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
58903         * elf/Versions (ld): Add _dl_find_dso_for_object.
58904         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
58905         * elf/dl-open.c (_dl_find_dso_for_object): New function.
58906         (dl_open_worker): Use _dl_find_dso_for_object.
58907         * elf/dl-sym.c (do_sym): Likewise.
58908         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
58910 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58912         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
58913         Syntactic changes only.
58914         (_dl_runtime_profile): Do a tail-call to the resolved function.
58916 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
58918         [BZ #13550]
58919         * sysdeps/x86_64/bp-asm.h: Remove file.
58920         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
58921         <bp-sym.h> and <bp-asm.h>.
58922         (__clone): Do not use BP_SYM.
58923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
58924         <bp-sym.h> and <bp-asm.h>.
58925         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58926         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
58927         "bp-asm.h".
58928         (_setjmp): Do not use BP_SYM.
58929         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
58930         "bp-asm.h".
58931         (setjmp): Do not use BP_SYM.
58932         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
58933         libc_hidden_def.
58934         (mempcpy): Do not use BP_SYM in weak_alias.
58935         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
58936         "bp-asm.h".
58937         (strchr): Do not use BP_SYM.
58938         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
58939         "bp-asm.h".
58940         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
58941         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58942         (_start): Do not use BP_SYM.
58943         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58944         "bp-asm.h".
58945         (strcat): Do not use BP_SYM.
58946         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58947         "bp-asm.h".
58948         (STRCMP): Do not use BP_SYM.
58949         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58950         "bp-asm.h".
58951         (STRCPY): Do not use BP_SYM.
58952         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58953         "bp-asm.h".
58954         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58955         "bp-asm.h".
58956         (FUNCTION): Do not use BP_SYM.
58957         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58958         weak_alias.
58959         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58961 2013-02-17  Andreas Jaeger  <aj@suse.de>
58963         * time/Versions: Sort entries.
58964         * string/Versions: Likewise.
58965         * resolv/Versions: Likewise.
58966         * posix/Versions: Likewise.
58967         * iconv/Versions: Likewise.
58968         * elf/Versions: Likewise.
58969         * wcsmbs/Versions: Likewise.
58971 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58973         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58974         loop termination condition.
58976         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58977         variable to calculate EZ.
58978         (__sqr): Likewise.
58980         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58981         the lower precision input.
58983 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58985         [BZ #13550]
58986         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58987         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58988         (run-via-rtld-prefix): Do not handle %-bp tests.
58989         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58990         (all-object-suffixes): Remove .ob.
58991         (bppfx): Remove variable.
58992         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58993         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58994         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58995         [$(build-bounded) = yes] (libtype.ob): Likewise.
58996         * Makerules (elide-routines.ob): Remove variable.
58997         (do-tests-clean): Do not handle *-bp.out.
58998         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58999         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59000         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59001         (tests): Do not include $(tests-bp.out).
59002         (xtests): Do not include $(xtests-bp.out).
59003         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59004         [$(build-bounded) = yes] ($(addprefix
59005         $(objpfx),$(binaries-bounded))): Remove rule.
59006         ($(objpfx)%-bp.out): Remove rule.
59007         * config.make.in (build-bounded): Remove variable.
59008         * crypt/Makefile [$(build-bounded) = yes]
59009         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59010         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59011         append to variable.
59012         [$(build-bounded) = yes] (install-lib): Likewise.
59013         [$(build-bounded) = yes] (generated): Likewise.
59014         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59015         Remove rule.
59016         * intl/Makefile [$(build-bounded) = yes]
59017         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59018         * math/Makefile [$(build-bounded) = yes]
59019         ($(tests:%=$(objpfx)%-bp): Likewise.
59020         * misc/Makefile [$(build-bounded) = yes]
59021         ($(objpfx)tst-tsearch-bp): Likewise.
59022         * nptl/Makeconfig (bounded-thread-library): Remove variable.
59023         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59024         Remove dependency.
59025         * string/Makefile (o-objects.ob): Remove variable.
59026         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59027         (CFLAGS-.ob): Remove variable.
59028         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59029         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59030         both definitions of variable.
59031         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59032         (ASFLAGS-.ob): Remove variable.
59034 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
59036         [BZ #13550]
59037         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59038         Remove __BOUNDED_POINTERS__ from condition.
59039         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59040         * string/bits/string2.h [!__NO_STRING_INLINES &&
59041         !__BOUNDED_POINTERS__]: Likewise.
59042         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59043         Likewise.
59044         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59045         Remove conditional code.
59046         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59047         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59048         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59049         condition.
59051         [BZ #13550]
59052         * csu/libc-start.c: Do not include <bp-sym.h>.
59053         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59054         * elf/dl-open.c: Do not include <bp-sym.h>.
59055         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59056         * math/fegetenv.c: Do not include <bp-sym.h>.
59057         (fegetenv): Do not use BP_SYM in versioned symbols.
59058         * nptl/sysdeps/pthread/bits/libc-lockP.h
59059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59060         <bp-sym.h>.
59061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59062         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59064         (__pthread_mutex_destroy): Likewise.
59065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59066         (__pthread_mutex_lock): Likewise.
59067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59068         (__pthread_mutex_trylock): Likewise.
59069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59070         (__pthread_mutex_unlock): Likewise.
59071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59072         (__pthread_mutexattr_init): Likewise.
59073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59074         (__pthread_mutexattr_destroy): Likewise.
59075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59076         (__pthread_mutexattr_settype): Likewise.
59077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59078         (__pthread_rwlock_init): Likewise.
59079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59080         (__pthread_rwlock_destroy): Likewise.
59081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59082         (__pthread_rwlock_rdlock): Likewise.
59083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59084         (__pthread_rwlock_tryrdlock): Likewise.
59085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59086         (__pthread_rwlock_wrlock): Likewise.
59087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59088         (__pthread_rwlock_trywrlock): Likewise.
59089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59090         (__pthread_rwlock_unlock): Likewise.
59091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59092         (__pthread_key_create): Likewise.
59093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59094         (__pthread_setspecific): Likewise.
59095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59096         (__pthread_getspecific): Likewise.
59097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59098         Likewise.
59099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59100         (_pthread_cleanup_push_defer): Likewise.
59101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59102         (_pthread_cleanup_pop_restore): Likewise.
59103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59104         (pthread_setcancelstate): Likewise.
59105         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59106         <bp-sym.h>.
59107         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59108         (memchr): Do not use BP_SYM in weak_alias.
59109         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59110         (fegetenv): Do not use BP_SYM in versioned symbols.
59111         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59112         (fesetenv): Do not use BP_SYM in versioned symbols.
59113         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59114         (feupdateenv): Do not use BP_SYM in versioned symbols.
59115         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59116         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59117         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59118         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59119         (open64): Do not use BP_SYM in weak_alias.
59120         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59121         (fegetenv): Do not use BP_SYM in versioned symbols.
59122         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59123         (fesetenv): Do not use BP_SYM in versioned symbols.
59124         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59125         (feupdateenv): Do not use BP_SYM in versioned symbols.
59126         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59127         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59128         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59129         (feraiseexcept): Do not use BP_SYM in versioned symbols.
59130         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59131         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59132         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59133         <bp-sym.h>.
59134         (__libc_start_main): Do not use BP_SYM.
59136 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59139         redundant return line.
59140         (norm): Likewise.
59141         (denorm): Likewise.
59142         (dbl_mp): Likewise.
59143         (sub_magnitudes): Likewise.
59144         (__add): Likewise.
59145         (__sub): Likewise.
59146         (__mul): Likewise.
59147         (__inv): Likewise.
59148         (__dvd): Likewise.
59149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59150         (norm): Likewise.
59151         (denorm): Likewise.
59152         (dbl_mp): Likewise.
59153         (sub_magnitudes): Likewise.
59154         (__add): Likewise.
59155         (__sub): Likewise.
59156         (__mul): Likewise.
59157         (__inv): Likewise.
59158         (__dvd): Likewise.
59160         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59161         instead of __mul.
59162         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59163         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59164         (cc32): Likewise.
59166         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59167         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59169         of __mul for squares.
59170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59171         function
59172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59173         Likewise.
59174         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59175         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59177 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
59179         [BZ #13550]
59180         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59181         code.
59182         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59183         prototype or function definition.  Rename ubp_* variables and
59184         parameters.  Remove argv definitions conditional on
59185         [__BOUNDED_POINTERS__].
59186         * debug/backtrace.c (__backtrace): Do not use __unbounded.
59187         * elf/dl-runtime.c (_dl_fixup): Likewise.
59188         * include/set-hooks.h (RUN_HOOK): Likewise.
59189         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59190         definition.
59191         * string/strcpy.c (strcpy): Do not use __unbounded.
59192         * sysdeps/generic/frame.h (struct layout): Likewise.
59193         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59194         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59195         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59196         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59197         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59198         (__backtrace): Likewise.
59199         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59200         use __ptrvalue.
59201         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59202         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59203         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59204         Likewise.
59205         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59206         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59207         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59208         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59209         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59210         Do not use __unbounded.
59211         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59212         Rename __unboundedrlimits parameter to rlimits in prototype.
59213         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59214         Do not use __unbounded.
59215         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59216         not use __ptrvalue.
59217         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59218         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59219         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59220         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59221         __ptrvalue or __unbounded.
59222         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59223         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
59224         use __unbounded.
59225         (__new_msgctl): Do not use __ptrvalue.
59226         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
59227         __unbounded.
59228         (__libc_msgrcv): Do not use __ptrvalue.
59229         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
59230         startup_info): Do not use __unbounded.
59231         (__libc_start_main): Likewise.  Rename ubp_* variables and
59232         parameters.  Remove argv definitions conditional on
59233         [__BOUNDED_POINTERS__].
59234         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59235         __ptrvalue.
59236         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
59237         use __unbounded.
59238         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
59239         or __ptrvalue.
59240         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
59241         use __unbounded.
59242         (__new_shmctl): Do not use __ptrvalue.
59243         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
59244         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
59245         Likewise.
59246         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
59247         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
59248         (__libc_sigaction): Likewise.
59249         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
59250         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
59251         Likewise.
59252         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59254 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
59256         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
59258         * string/mempcpy.c: Implement by calling memcpy.
59260 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59262         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
59264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
59265         evaluation.
59267         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
59268         values in the mantissa.
59270         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
59271         minimize writes to Z.
59272         (sub_magnitudes): Simplify code a bit.
59274 2013-02-12  Roland McGrath  <roland@hack.frob.com>
59276         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
59277         from the message.  The linker prefixes all warnings with that already.
59279 2013-02-12  Andreas Schwab  <schwab@suse.de>
59281         [BZ #15078]
59282         * posix/regexec.c (extend_buffers): Add parameter min_len.
59283         (check_matching): Pass minimum needed length.
59284         (clean_state_log_if_needed): Likewise.
59285         (get_subexp): Likewise.
59286         * posix/Makefile (tests): Add bug-regex34.
59287         (bug-regex34-ENV): Define.
59288         * posix/bug-regex34.c: New file.
59290         [BZ #11561]
59291         * posix/regcomp.c (parse_bracket_exp): When looking up collating
59292         elements compare against the byte sequence of it, not its name.
59293         * posix/Makefile (tests): Add bug-regex35.
59294         (bug-regex35-ENV): Define.
59295         * posix/bug-regex35.c: New file.
59297 2013-02-11  Tom de Vries  <tom@codesourcery.com>
59299         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
59300         comment.
59301         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
59302         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
59303         (CHECK_EOL): Add undef.
59305 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
59307         * bits/stdlib-bsearch.h: New file.
59308         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
59309         * stdlib/stdlib.h: Likewise.
59311 2013-02-11  Roland McGrath  <roland@hack.frob.com>
59313         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
59314         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
59315         declaration.
59316         * manual/search.texi (Array Search Function): Add missing const in
59317         lfind prototype.
59318         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
59319         declaration to use rlim_t.
59320         (Basic Scheduling Functions): Remove erroneous const from
59321         sched_getparam prototype.  Remove erroneous * from
59322         sched_get_priority_max and sched_get_priority_min prototypes.
59323         (Resource Usage): Fix summary @comment on vtimes to refer to
59324         sys/vtimes.h rather than vtimes.h.
59325         Add missing *s in vtimes prototype.
59326         (Limits on Resources): Fix ulimit prototype to return long int.
59327         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
59328         prototypes to use long int rather than double.
59329         (BSD Random): Fix initstate and setstate to use char *, not void *.
59330         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
59331         prototype to make second argument 'struct aiocb64 *const[]'.
59332         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
59333         (Status of AIO Operations): Remove erroneous const in aio_return and
59334         aio_return64 prototypes.
59335         (Synchronizing I/O): Fix sync prototype to return void.
59336         * manual/startup.texi (Suboptions): Remove an erroneous const in
59337         getsubopt prototype.
59338         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
59339         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
59340         use size_t rather than int.
59341         (Scanning All Users): Likewise for getpwent_r.
59342         (Setting Groups): Add missing const to setgroups prototype.
59343         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
59344         * manual/socket.texi (Host Names): Fix gethostbyaddr and
59345         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
59346         'const void *' rather than 'const char *'.
59347         (Host Address Functions): Likewise for inet_ntop.
59348         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
59349         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
59350         ssize_t for return value.
59351         (Sending Data): Likewise for send, sendto, sendmsg.
59352         (Socket Option Functions): Add a missing const in setsockopt prototype.
59353         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
59354         use wchar_t for the argument.
59355         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
59356         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
59357         take no arguments.
59358         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
59359         double/float/long double for second argument.
59360         Fix return types of significand, significandf, significandl.
59361         * manual/filesys.texi (Setting Permissions): Use mode_t for second
59362         argument in fchmod prototype.
59363         (File Owner): Use uid_t and gid_t in fchown prototype.
59364         (File Times): Add const to utimes, futimes, and lutimes prototypes.
59365         (Making Special Files): Use mode_t and dev_t in mknod prototype.
59366         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
59367         use 'const struct dirent **' as argument types to CMP function pointer
59368         argument.
59369         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
59370         (File Times): Fix summary magic @comment for struct utimbuf and utime
59371         to refer to utime.h, not time.h.
59372         * manual/string.texi (Argz Functions): Add missing const in
59373         argz_extract and argz_next prototypes.
59374         (Finding Tokens in a String): Likewise for basename.
59375         (String/Array Comparison): Fix typo in wcscasecmp prototype.
59376         (Copying and Concatenation): Fix typo in wmemmove prototype.
59377         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
59378         (Signal Stack): Remove erroneous const in sigstack prototype.
59379         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
59380         prototype.
59381         (Simple Calendar Time): Likewise for stime.
59382         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
59383         prototype.
59384         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
59385         say sys/sysctl.h instead.
59386         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
59387         and vsyslog prototypes.
59389 2013-02-11  Tom de Vries  <tom@codesourcery.com>
59391         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
59392         Remove.
59394 2013-02-11  Roland McGrath  <roland@hack.frob.com>
59396         * misc/sys/mman.h: Fix typo in mremap comment.
59398 2013-02-08  Roland McGrath  <roland@hack.frob.com>
59400         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
59401         the '\0' terminator.
59403 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
59405         [BZ #13550]
59406         * debug/segfault.c: Don't include <bp-checks.h>.
59407         * sysdeps/generic/bp-checks.h: Remove file.
59408         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
59409         (__GETDENTS): Don't use CHECK_N.
59410         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
59411         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
59412         (__getgroups): Don't use CHECK_N.
59413         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
59414         (setgroups): Don't use CHECK_N.
59415         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
59416         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
59417         (__libc_msgrcv): Don't use CHECK_N.
59418         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
59419         (__libc_msgsnd): Don't use CHECK_N.
59420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
59421         <bp-checks.h>.
59422         (__libc_pread): Don't use CHECK_N.
59423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
59424         include <bp-checks.h>.
59425         (__libc_pread64): Don't use CHECK_N.
59426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
59427         include <bp-checks.h>.
59428         (__libc_pwrite): Don't use CHECK_N.
59429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
59430         include <bp-checks.h>.
59431         (__libc_pwrite64): Don't use CHECK_N.
59432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
59433         <bp-checks.h>.
59434         (__libc_pread): Don't use CHECK_N.
59435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
59436         include <bp-checks.h>.
59437         (__libc_pread64): Don't use CHECK_N.
59438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
59439         include <bp-checks.h>.
59440         (__libc_pwrite): Don't use CHECK_N.
59441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
59442         include <bp-checks.h>.
59443         (__libc_pwrite64): Don't use CHECK_N.
59444         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
59445         (do_pread): Don't use CHECK_N.
59446         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
59447         (do_pread64): Don't use CHECK_N.
59448         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
59449         (do_pwrite): Don't use CHECK_N.
59450         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
59451         (do_pwrite64): Don't use CHECK_N.
59452         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
59453         (__libc_readv): Don't use CHECK_N.
59454         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
59455         (semop): Don't use CHECK_N.
59456         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
59457         <bp-checks.h>.
59458         (semtimedop): Don't use CHECK_N.
59459         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
59460         (__libc_pread): Don't use CHECK_N.
59461         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
59462         <bp-checks.h>.
59463         (__libc_pread64): Don't use CHECK_N.
59464         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
59465         <bp-checks.h>.
59466         (__libc_pwrite): Don't use CHECK_N.
59467         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
59468         <bp-checks.h>.
59469         (__libc_pwrite64): Don't use CHECK_N.
59470         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
59471         <bp-checks.h>.
59472         (__libc_msgrcv): Don't use CHECK_N.
59473         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
59474         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
59475         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
59476         (__libc_writev): Don't use CHECK_N.
59478 2013-02-08  Roland McGrath  <roland@hack.frob.com>
59480         * string/strcpy.c: Removed unused variable.
59482         * Makeconfig (+sysdep-includes): Define with := rather than =.
59483         Use an existing include/ subdir of each sysdeps dir before it.
59485 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59487         * nscd/connection.c (register_traced_file): Comment function.
59488         [HAVE_INOTIFY] (union __inev): Define.
59489         [HAVE_INOTIFY] (inotify_check_files): New function.
59490         [HAVE_INOTIFY] (clear_db_cache): Likewise.
59491         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
59492         clear_db_cache.
59493         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
59495 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59497         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
59498         loaded if not already and that a failure is permanent.
59500 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59502         [BZ #15006]
59503         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
59504         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
59506 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
59508         [BZ #13550]
59509         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
59510         (CHECK_1_NULL_OK): Likewise.
59511         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
59512         (__fxstat): Do not use CHECK_1.
59513         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
59514         <bp-checks.h>.
59515         (___fxstat64): Do not use CHECK_1.
59516         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
59517         <bp-checks.h>.
59518         (__fxstatat): Do not use CHECK_1.
59519         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
59520         <bp-checks.h>.
59521         (__fxstatat64): Do not use CHECK_1.
59522         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
59523         <bp-checks.h>.
59524         (__fxstat): Do not use CHECK_1.
59525         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
59526         <bp-checks.h>.
59527         (__fxstatat): Do not use CHECK_1.
59528         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59529         <bp-checks.h>.
59530         (__getresgid): Do not use CHECK_1.
59531         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59532         <bp-checks.h>.
59533         (__getresuid): Do not use CHECK_1.
59534         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
59535         <bp-checks.h>.
59536         (__lxstat): Do not use CHECK_1.
59537         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59538         <bp-checks.h>.
59539         (__old_msgctl): Do not use CHECK_1.
59540         (__new_msgctl): Likewise.
59541         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
59542         <bp-checks.h>.
59543         (__new_setrlimit): Do not use CHECK_1.
59544         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59545         <bp-checks.h>.
59546         (__old_shmctl): Do not use CHECK_1.
59547         (__new_shmctl): Likewise.
59548         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
59549         <bp-checks.h>.
59550         (__xstat): Do not use CHECK_1.
59551         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
59552         (__lxstat): Do not use CHECK_1.
59553         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
59554         <bp-checks.h>.
59555         (___lxstat64): Do not use CHECK_1.
59556         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
59557         (__old_msgctl): Do not use CHECK_1.
59558         (__new_msgctl): Likewise.
59559         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
59560         <bp-checks.h>.
59561         (__gettimeofday): Do not use CHECK_1.
59562         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
59563         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
59564         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
59565         <bp-checks.h>.
59566         (__gettimeofday): Do not use CHECK_1.
59567         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
59568         (__old_shmctl): Do not use CHECK_1_NULL_OK.
59569         (__new_shmctl): Do not use CHECK_1.
59570         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
59571         <bp-checks.h>.
59572         (do_sigtimedwait): Do not use CHECK_1.
59573         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
59574         <bp-checks.h>.
59575         (do_sigwaitinfo): Do not use CHECK_1.
59576         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
59577         <bp-checks.h>.
59578         (msgctl): Do not use CHECK_1.
59579         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
59580         <bp-checks.h>.
59581         (shmctl): Do not use CHECK_1.
59582         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
59583         (ustat): Do not use CHECK_1.
59584         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
59585         <bp-checks.h>.
59586         (__fxstat): Do not use CHECK_1.
59587         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
59588         <bp-checks.h>.
59589         (__fxstatat): Do not use CHECK_1.
59590         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
59591         <bp-checks.h>.
59592         (__lxstat): Do not use CHECK_1.
59593         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
59594         <bp-checks.h>.
59595         (__xstat): Do not use CHECK_1.
59596         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
59597         (__xstat): Do not use CHECK_1.
59598         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
59599         (___xstat64): Do not use CHECK_1.
59601         [BZ #13550]
59602         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
59603         definitions.
59604         (CHECK_BOUNDS_HIGH): Likewise.
59605         * string/strcpy.c: Do not include <bp-checks.h>.
59606         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
59608 2013-02-07  Roland McGrath  <roland@hack.frob.com>
59610         * nscd/nscd-client.h (__nscd_drop_map_ref):
59611         Add __attribute__ ((unused)).
59612         * nis/nss-nisplus.h (niserr2nss): Likewise.
59614         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
59615         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
59617         * csu/libc-tls.c (init_static_tls, init_slotinfo):
59618         Remove inline keyword.
59619         * include/rounding-mode.h (round_away): Likewise.
59620         * libio/wfileops.c (adjust_wide_data): Likewise.
59621         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
59622         (__m128i_strloadu_tolower): Likewise.
59623         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
59624         (__m128i_strloadu_tolower): Likewise.
59625         * time/mktime.c (ydhms_diff): Likewise.
59626         * locale/elem-hash.h (elem_hash): Likewise.
59627         * locale/setlocale.c (setdata): Likewise.
59628         * posix/regex_internal.h (re_string_char_size_at): Likewise.
59629         (re_string_wchar_at): Likewise.
59630         (bitset_not, bitset_merge, bitset_mask): Likewise.
59631         [!(__GNUC__ > 3)] (inline): Remove macro.
59632         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
59633         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
59634         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
59635         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
59636         * string/memcmp.c (memcmp_bytes): Likewise.
59637         * locale/programs/locarchive.c (compute_hashval): Likewise.
59638         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
59639         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
59640         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
59641         * nss/getent.c (print_rpc, print_protocols): Likewise.
59642         (print_passwd, print_group, print_aliases): Likewise.
59643         * nis/nss-nisplus.h (niserr2nss): Likewise.
59644         * nscd/connections.c (restart_p): Likewise.
59645         Change return type to bool.
59647 2013-02-05  Roland McGrath  <roland@hack.frob.com>
59649         * Makeconfig (all-Depend-files): Add existing
59650         $(sorted-subdirs:=/Depend) files.
59651         (all-subdirs): Remove nss.
59652         * sysdeps/unix/inet/Subdirs: Add it here instead.
59653         * hesiod/Depend: New file.
59655         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
59656         instead of calling alloca.
59658         * io/lseek.c (__lseek): Rename to __libc_lseek.
59659         Define __lseek as an alias.
59661         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
59663 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
59665         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
59666         else clause and remove check for non-standard endianness.
59668 2013-02-04  David S. Miller  <davem@davemloft.net>
59670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59672 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
59674         [BZ #13550]
59675         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
59676         (__ubp_memchr): Remove prototype.
59677         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
59678         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59679         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
59680         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59681         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
59682         Remove alias.
59683         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
59684         (__ubp_memchr): Likewise.
59685         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
59686         (__ubp_memchr): Likewise.
59687         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
59688         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
59689         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
59690         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
59691         CHECK_STRING.
59692         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
59693         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
59694         (__getcwd): Do not use CHECK_STRING.
59695         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59696         <bp-checks.h>.
59697         (__real_chown): Do not use CHECK_STRING.
59698         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
59699         <bp-checks.h>.
59700         (fchownat): Do not use CHECK_STRING.
59701         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
59702         CHECK_STRING.
59703         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59704         <bp-checks.h>.
59705         (__lchown): Do not use CHECK_STRING.
59706         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59707         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59708         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59709         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
59710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59711         include <bp-checks.h>.
59712         (truncate64): Do not use CHECK_STRING.
59713         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59714         <bp-checks.h>.
59715         (__real_chown): Do not use CHECK_STRING.
59716         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59717         <bp-checks.h>.
59718         (__lchown): Do not use CHECK_STRING.
59719         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59720         <bp-checks.h>.
59721         (__chown): Do not use CHECK_STRING.
59722         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
59723         <bp-checks.h>.
59724         (truncate64): Do not use CHECK_STRING.
59725         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
59726         Likewise.
59727         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
59728         (__xmknod): Do not use CHECK_STRING.
59729         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
59730         <bp-checks.h>.
59731         (__xmknodat): Do not use CHECK_STRING.
59732         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59733         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
59735 2013-02-04  Andreas Schwab  <schwab@suse.de>
59737         [BZ #14142]
59738         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
59739         * include/netdb.h: Likewise for h_errno.
59740         * elf/tst-stackguard1.c: Include <tls.h>.
59742 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
59744         * elf/link.h (struct link_map): Extend the l_addr comment.
59745         * include/link.h (struct link_map): Likewise.
59747 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
59749         [BZ #13550]
59750         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
59751         (BOUNDED_1): Remove macro.
59752         * debug/backtrace.c: Don't include <bp-checks.h>.
59753         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
59754         (__backtrace): Likewise.
59755         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
59756         <bp-checks.h>.
59757         (__backtrace): Don't use BOUNDED_1.
59758         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
59759         <bp-checks.h>.
59760         (__backtrace): Don't use BOUNDED_1.
59761         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
59762         (__backtrace): Don't use BOUNDED_1.
59763         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
59764         (shmat): Don't use BOUNDED_N.
59766 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
59768         [BZ #13550]
59769         * sysdeps/generic/bp-start.h: Remove file.
59770         * csu/libc-start.c: Don't include <bp-start.h>.
59771         (LIBC_START_MAIN): Set up __environ directly instead of using
59772         INIT_ARGV_and_ENVIRON.
59773         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
59774         <bp-start.h>.
59776         [BZ #13550]
59777         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
59778         definitions.
59779         (CHECK_FCNTL): Likewise.
59780         (CHECK_N_PAGES): Likewise.
59782         [BZ #13550]
59783         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
59784         definitions.
59785         (CHECK_SIGSET_NULL_OK): Likewise.
59786         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
59787         <bp-checks.h>.
59788         (sigpending): Don't use CHECK_SIGSET.
59789         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
59790         <bp-checks.h>.
59791         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59792         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
59793         <bp-checks.h>.
59794         (do_sigsuspend): Don't use CHECK_SIGSET.
59795         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
59796         use CHECK_SIGSET.
59797         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
59798         (do_sigwait): Don't use CHECK_SIGSET.
59799         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
59800         use CHECK_SIGSET.
59801         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
59802         include <bp-checks.h>.
59803         (sigpending): Don't use CHECK_SIGSET.
59804         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
59805         include <bp-checks.h>.
59806         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59807         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
59808         <bp-checks.h>.
59809         (sigpending): Don't use CHECK_SIGSET.
59810         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
59811         <bp-checks.h>.
59812         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59814         [BZ #13550]
59815         * sysdeps/generic/bp-semctl.h: Remove file.
59816         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
59817         <bp-checks.h> and <bp-semctl.h>.
59818         (__old_semctl): Don't use CHECK_SEMCTL.
59819         (__new_semctl): Likewise.
59820         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
59821         and <bp-semctl.h>.
59822         (__old_semctl): Don't use CHECK_SEMCTL.
59823         (__new_semctl): Likewise.
59824         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
59825         <bp-checks.h> and <bp-semctl.h>.
59826         (__old_semctl): Don't use CHECK_SEMCTL.
59827         (__new_semctl): Likewise.
59828         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
59829         <bp-checks.h> and <bp-semctl.h>.
59830         (semctl): Don't use CHECK_SEMCTL.
59832         [BZ #13550]
59833         * Makerules (elide-bp-thunks): Remove variable.
59834         (elide-routines.oS): Don't use $(elide-bp-thunks).
59835         (elide-routines.os): Likewise.
59836         (elide-routines.o): Likewise.
59837         (elide-routines.op): Likewise.
59838         (elide-routines.og): Likewise.
59839         (objects): Don't use $(bp-thunks).
59840         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
59841         include.
59842         (common-generated): Do not add s-proto-bp.d.
59843         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
59844         (int): Likewise.
59845         (typ): Likewise.
59846         Do not generate makefile rules for bounded-pointer thunks.
59847         * sysdeps/generic/bp-thunks.h: Remove file.
59848         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
59849         * sysdeps/unix/s-proto-bp.S: Likewise.
59851         [BZ #15062]
59852         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
59853         parts of result separately when argument is not close to line from
59854         -i to i and one part of argument is small.
59855         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59856         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59857         * math/libm-test.inc (cacos_test): Add more tests.
59858         (casin_test): Likewise.
59859         (casinh_test): Likewise.
59860         * sysdeps/i386/fpu/libm-test-ulps: Update.
59861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59863 2013-01-31  David S. Miller  <davem@davemloft.net>
59865         * po/de.po: Update from translation team.
59867 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
59869         * time/tzfile.c: Include stdint.h for SIZE_MAX.
59871 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
59873         * configure.in (_AC_PROG_CC_C89): New definition.
59874         * configure: Regenerate.
59876         * configure.in (AC_PROG_CPP): New definition.
59877         * configure: Regenerate.
59879 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59881         * debug/tst-backtrace.h: New file.
59882         * debug/tst-backtrace2.c: Include tst-backtrace.h.
59883         (ret): Remove variable.
59884         (x): Likewise.
59885         (FAIL): Remove macro.
59886         (NO_INLINE): Likewise.
59887         (fn1): Use match function instead of strstr.
59888         * debug/tst-backtrace3.c: Include tst-backtrace.h.
59889         (ret): Remove variable.
59890         (x): Likewise.
59891         (FAIL): Remove macro.
59892         (NO_INLINE): Likewise.
59893         (fn): Use match function instead of strstr.
59894         * debug/tst-backtrace4.c: Include tst-backtrace.h.
59895         (ret): Remove variable.
59896         (x): Likewise.
59897         (FAIL): Remove macro.
59898         (NO_INLINE): Likewise.
59899         (handle_signal): Use match function instead of strstr.
59900         * debug/tst-backtrace5.c: Include tst-backtrace.h.
59901         (ret): Remove variable.
59902         (x): Likewise.
59903         (FAIL): Remove macro.
59904         (NO_INLINE): Likewise.
59905         (handle_signal): Use match function instead of strstr.
59907 2013-01-23  Roland McGrath  <roland@hack.frob.com>
59909         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
59911 2013-01-23  David S. Miller  <davem@davemloft.net>
59913         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
59914         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
59915         argument of CAS if possible.
59916         * sysdeps/sparc/sparc64/bits/atomic.h
59917         (__arch_compare_and_exchange_val_32_acq): Likewise.
59918         (__arch_compare_and_exchange_val_64_acq): Likewise.
59920 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
59922         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
59923         * sysdeps/posix/ulimit.c: ... this.
59924         Include <limits.h>.
59925         * sysdeps/unix/bsd/ulimit.c: Remove file.
59927 2013-01-23  Adam Conrad  <adconrad@0c3.net>
59929         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
59930         (LDFLAGS-tst-array5): Likewise.
59932 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59934         [BZ #15036]
59935         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
59936         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
59937         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
59938         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
59940 2013-01-21  David S. Miller  <davem@davemloft.net>
59942         * sysdeps/sparc/backtrace.c: New file.
59943         * sysdeps/sparc/sparc32/backtrace.h: New file.
59944         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59945         * sysdeps/sparc/sparc64/backtrace.h: New file.
59946         * sysdeps/sparc/sparc64/backtrace.c: Delete.
59947         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59948         -funwind-tables.
59950 2013-01-21  Andreas Schwab  <schwab@suse.de>
59952         [BZ #15020]
59953         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59954         closed its stdout.
59956 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59959         "mpa2.h".
59960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59962 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59963             Mark Mitchell  <mark@codesourcery.com>
59964             Tom de Vries  <tom@codesourcery.com>
59965             Paul Pluzhnikov  <ppluzhnikov@google.com>
59967         * debug/tst-backtrace2.c: New file.
59968         * debug/tst-backtrace3.c: Likewise.
59969         * debug/tst-backtrace4.c: Likewise.
59970         * debug/tst-backtrace5.c: Likewise.
59971         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59972         (CFLAGS-tst-backtrace3.c): Likewise.
59973         (CFLAGS-tst-backtrace4.c): Likewise.
59974         (CFLAGS-tst-backtrace5.c): Likewise.
59975         (LDFLAGS-tst-backtrace2): Likewise.
59976         (LDFLAGS-tst-backtrace3): Likewise.
59977         (LDFLAGS-tst-backtrace4): Likewise.
59978         (LDFLAGS-tst-backtrace5): Likewise.
59979         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59980         tst-backtrace4 and tst-backtrace5.
59982 2013-01-18  Anton Blanchard  <anton@samba.org>
59983             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59985         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59986         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59987         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59988         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59990         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59991         "+r" and remove output regs list as redundant.  Add explicit inline
59992         asm to specify register of return val to work around compiler codegen
59993         bug.  Remove (int) cast on return value.  Add return type parameter to
59994         use in macro so that this macro does not truncate return value for
59995         64-bit values.
59996         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59997         pass to INTERNAL_VSYSCALL_NCS.
59998         (INLINE_VSYSCALL): Add 'long int' as return type to
59999         INTERNAL_VSYSCALL_NCS macro invocation.
60000         (INTERNAL_VSYSCALL): Add 'long int' as return type to
60001         INTERNAL_VSYSCALL_NCS macro invocation.
60002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60004 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60006         [BZ #14496]
60007         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60008         Fix application of SIMD FP exception mask.
60010         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60011         mp_no from a power of two.
60012         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60013         __mpexp_twomm1.  Use __pow_mp.
60015         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60016         multiplication.
60018 2013-01-17  David S. Miller  <davem@davemloft.net>
60020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60022 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60024         [BZ #15023]
60025         * include/complex.h: Condition contents on [!_COMPLEX_H].
60026         (__kernel_casinhf): New prototype.
60027         (__kernel_casinh): Likewise.
60028         (__kernel_casinhl): Likewise.
60029         * math/Makefile (libm_calls): Add k_casinh.
60030         * math/k_casinh.c: New file.
60031         * math/k_casinhf.c: Likewise.
60032         * math/k_casinhl.c: Likewise.
60033         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60034         finite nonzero arguments.
60035         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60036         finite nonzero arguments.
60037         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60038         finite nonzero arguments.
60039         * math/s_casinh.c: Do not include <float.h>.
60040         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60041         * math/s_casinhf.c: Do not include <float.h>.
60042         (__casinhf): Move code for finite nonzero arguments to
60043         k_casinhf.c.
60044         * math/s_casinhl.c: Do not include <float.h>.
60045         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60046         redefine.
60047         (__casinhl): Move code for finite nonzero arguments to
60048         k_casinhl.c.
60049         * math/libm-test.inc (cacos_test): Add more tests.
60050         * sysdeps/i386/fpu/libm-test-ulps: Update.
60051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60053 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
60055         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60056         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60057         [!HAVE_MREMAP]: Remove [defined linux] case.
60058         * malloc/arena.c: Do not include <malloc-sysdep.h>.
60060 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60062         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60064 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
60066         * elf/elf.h (R_386_SIZE32): New relocation.
60067         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60068         R_386_SIZE32.
60069         (elf_machine_rela): Likewise.
60070         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60071         R_X86_64_SIZE64 and R_X86_64_SIZE32.
60073 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60075         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60076         (FP_FAST_FMA): Do not define.
60077         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60078         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60079         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60080         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60081         !_SOFT_FLOAT]: Likewise.
60082         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60083         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60084         value.
60085         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60086         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60087         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60088         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60089         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60090         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60091         file.
60093 2013-01-16  Andreas Schwab  <schwab@suse.de>
60095         [BZ #14327]
60096         * include/stdlib.h (__mktemp): Add declaration.
60097         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60098         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60100 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60102         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60103         definitions.
60104         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60105         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60106         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60107         definitions here.
60108         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60109         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60110         definitions.
60111         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60112         and ONE.
60113         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60114         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60115         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60116         definitions.
60117         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60118         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60119         definitions.
60120         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60122         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60124 2013-01-15  David S. Miller  <davem@davemloft.net>
60126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60127         trunc{,f} to libm-sysdep_routes.
60128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60130         file.
60131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60133         file.
60134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60135         file.
60136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60138         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60139         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60140         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60141         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60142         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60143         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60146         nearbyint{,f} to libm-sysdep_routes.
60147         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60149         New file.
60150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60151         file.
60152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60153         New file.
60154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60155         file.
60156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60158         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60159         file.
60160         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60161         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60162         file.
60163         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60164         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60165         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60167         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60168         libc_feholdexcept and libc_fesetenv.
60170 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
60172         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60174 2013-01-14  David S. Miller  <davem@davemloft.net>
60176         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60177         (SPARC_ASM_VIS2_IFUNC): Likewise.
60178         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60180         use of 'siam' instruction.
60181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60182         Likewise.
60183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60184         Likewise.
60185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60186         Likewise.
60187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60192         file.
60193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60194         file.
60195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60196         file.
60197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60198         file.
60199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60200         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60202         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60204         new VIS2 routines.
60205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60208         Likewise.
60209         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60210         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60214         routines to libm-sysdep_routines.
60215         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60218         fdim/fdimf to libm-sysdep_routines.
60219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60220         file.
60221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60223         file.
60224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
60225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
60226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
60227         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
60228         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
60229         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
60230         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
60232 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60234         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
60235         to optimize copies.
60237         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
60238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
60242         local variable MPTWO.
60243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60244         Likewise.
60246 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60248         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
60249         GLOB_NOESCAPE.
60251 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60253         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
60255 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60257         * manual/pattern.texi (glob_t): Document gl_flags.
60258         (glob64_t): Likewise.
60260 2013-01-11  David S. Miller  <davem@davemloft.net>
60262         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
60263         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
60264         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
60265         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
60266         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
60267         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
60268         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
60269         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
60270         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
60271         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
60272         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
60273         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
60274         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
60276         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60277         sparc V9 rather than using V8 code.
60278         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60279         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60281         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60282         Move to...
60283         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
60284         Here.
60286 2013-01-11  Roland McGrath  <roland@hack.frob.com>
60288         [BZ #14941]
60289         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
60290         not in the main loop.
60291         * configure: Regenerated.
60293 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
60295         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
60296         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
60297         to just #else.
60298         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
60299         [!__GLIBC_HAVE_LONG_LONG] case.
60300         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
60301         condition to just #else.
60302         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
60303         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
60304         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
60305         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
60306         unconditional.
60307         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
60308         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
60309         #elif condition to just #else.
60310         * sysdeps/unix/sysv/linux/sys/sysmacros.h
60311         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
60312         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
60313         #elif condition to just #else.
60315 2013-01-11  Steve Ellcey  <sellcey@mips.com>
60317         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
60318         (EF_MIPS_ARCH_64): Fix value.
60319         (EF_MIPS_ARCH_32R2): New.
60320         (EF_MIPS_ARCH_64R2): New.
60322 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
60324         * Makeconfig (+link-pie-before-libc): New.
60325         (+link-pie-after-libc): Likewise.
60326         (+link-pie-tests): Likewise.
60327         (+link-pie): Rewritten.
60328         (link-before-libc): Remove $(config-LDFLAGS).
60329         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
60330         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
60331         (config-LDFLAGS): Renamed to ...
60332         (rtld-LDFLAGS): This.
60333         (rtld-tests-LDFLAGS): New macro.
60334         (link-libc-rpath-link): Likewise.
60335         (link-libc-tests-rpath-link): Likewise.
60336         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
60337         (link-libc): Prepand $(link-libc-rpath-link).
60338         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
60339         (test-program-prefix): New macro.
60340         (test-via-rtld-prefix): Likewise.
60341         (test-program-cmd): Likewise.
60342         (host-test-program-cmd): Likewise.
60343         * Makefile ($(common-objpfx)testrun.sh): Replace
60344         $(run-program-prefix) with $(test-program-prefix).
60345         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
60346         $(rtld-LDFLAGS).
60347         ($(common-objpfx)shlib.lds): Likewise.
60348         (build-module-helper): Likewise.
60349         ($(common-objpfx)format.lds): Likewise.
60350         * Rules (binaries-pie-tests): New.
60351         (binaries-pie-notests): Likewise.
60352         (binaries-pie): Rewritten.
60353         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
60354         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
60355         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
60356         (make-test-out): Replace $(host-built-program-cmd) with
60357         $(host-test-program-cmd).
60358         * config.make.in (build-hardcoded-path-in-tests): New variable.
60359         * configure.in (--enable-hardcoded-path-in-tests): New configure
60360         option.
60361         (hardcoded_path_in_tests): New AC_SUBST.
60362         * configure: Regenerated.
60363         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
60364         $(built-program-cmd) with $(test-program-cmd).
60365         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
60366         (test_program_cmd): This.
60367         * elf/Makefile ($(objpfx)order.out): Run test with
60368         $(test-program-prefix).
60369         ($(objpfx)order2.out): Likewise.
60370         ($(objpfx)tst-initorder.out): Likewise.
60371         ($(objpfx)tst-initorder2.out): Likewise.
60372         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
60373         $(test-program-cmd).
60374         ($(objpfx)tst-array1-static.out): Likewise.
60375         ($(objpfx)tst-array2.out): Likewise.
60376         ($(objpfx)tst-array3.out): Likewise.
60377         ($(objpfx)tst-array4.out): Likewise.
60378         ($(objpfx)tst-array5.out): Likewise.
60379         ($(objpfx)tst-array5-static.out): Likewise.
60380         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
60381         $(test-program-cmd).
60382         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
60383         $(run-program-prefix) with $(test-program-prefix).
60384         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
60385         (test_program_prefix): This.
60386         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
60387         $(run-program-prefix) with $(test-program-prefix).
60388         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
60389         (test_program_prefix): This.
60390         * iconvdata/tst-tables.sh: Likewise.
60391         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
60392         $(run-program-prefix) with $(test-program-prefix).
60393         ($(objpfx)tst-translit.out): Likewise.
60394         ($(objpfx)tst-gettext2.out): Likewise.
60395         ($(objpfx)tst-gettext4.out): Likewise.
60396         ($(objpfx)tst-gettext6.out): Likewise.
60397         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
60398         (test_program_prefix): This.
60399         * intl/tst-gettext2.sh: Likewise.
60400         * intl/tst-gettext4.sh  Likewise.
60401         * intl/tst-gettext6.sh: Likewise.
60402         * intl/tst-translit.sh: Likewise.
60403         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
60404         with $(test-program-cmd).
60405         * libio/Makefile ($(objpfx)test-freopen.out): Replace
60406         $(run-program-prefix) with $(test-program-prefix).
60407         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
60408         (test_program_prefix): This.
60409         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
60410         $(run-program-prefix) with $(test-program-prefix).
60411         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
60412         (test_program_prefix): This.
60413         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
60414         * posix/Makefile ($(objpfx)globtest.out): Replace
60415         $(run-via-rtld-prefix) and $(test-wrapper) with
60416         $(test-program-prefix) and $(test-via-rtld-prefix).
60417         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
60418         $(test-program-prefix).
60419         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
60420         $(host-test-program-cmd).
60421         (tst-spawn-ARGS): Likewise.
60422         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
60423         $(test-program-prefix).
60424         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
60425         (test_via_rtld_prefix): This.
60426         (test_wrapper): Renamed to ...
60427         (test_program_prefix): This.
60428         (run_program_prefix): Replaced by test_program_prefix.
60429         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
60430         (test_program_prefix): This.
60431         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
60432         with $(host-test-program-cmd).
60433         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
60434         $(run-program-prefix) with $(test-program-prefix).
60435         ($(objpfx)tst-printf.out): Likewise.
60436         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
60437         $(test-program-cmd).
60438         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
60439         (test_program_prefix): This.
60440         * stdio-common/tst-unbputc.sh: Likewise.
60441         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
60442         $(run-program-prefix) with $(test-program-prefix).
60443         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
60444         (test_program_prefix): This.
60445         * string/Makefile ($(objpfx)tst-svc.out):  Replace
60446         $(built-program-cmd) with $(test-program-cmd).
60448 2013-01-11  Andreas Jaeger  <aj@suse.de>
60450         [BZ #15003]
60451         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
60452         value. Sync with Linux 3.7.
60454 2013-01-10  David S. Miller  <davem@davemloft.net>
60456         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
60457         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60458         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60460 2013-01-10  Roland McGrath  <roland@hack.frob.com>
60462         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
60463         never set.
60464         * configure: Regenerated.
60466 2013-01-10  David S. Miller  <davem@davemloft.net>
60468         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60469         sparc V9 rather than using V8 code.
60470         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60471         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60473 2013-01-10  Roland McGrath  <roland@hack.frob.com>
60475         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
60476         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
60477         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
60478         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
60479         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
60480         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
60481         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
60482         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
60483         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
60484         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
60485         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
60486         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
60487         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
60488         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
60489         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
60490         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
60491         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
60492         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
60493         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
60494         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
60495         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
60496         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
60497         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
60498         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
60499         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
60500         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
60501         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
60503 2013-01-10  David S. Miller  <davem@davemloft.net>
60505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60507 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
60509         * posix/Makefile (tests-static): New variable.
60510         (tests): Add $(tests-static).
60511         (tst-exec-static-ARGS): New variable.
60512         (tst-spawn-static-ARGS): Likewise.
60513         * posix/tst-exec-static.c: New file.
60514         * posix/tst-spawn-static.c: Likewise.
60515         * posix/tst-exec.c: Support run directly.
60516         * posix/tst-spawn.c: Likewise.
60518 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
60520         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
60521         long.
60522         * math/bits/mathcalls.h (llrint): Likewise.
60523         (llround): Likewise.
60524         * stdlib/stdlib.h (struct drand48_data): Likewise.
60525         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
60526         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
60527         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
60528         Likewise.
60529         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
60530         Likewise.
60531         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
60532         (elf_greg_t): Likewise.
60533         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
60534         (__jmp_buf): Likewise.
60535         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
60536         definitions.
60537         (llrint): Likewise, for all definitions.
60538         (llrintl): Likewise.
60540         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
60541         Remove [__GNUC__] condition.
60542         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
60543         condition to just [__USE_ISOC99].
60544         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
60546 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
60548         [BZ #14200]
60549         * sysdeps/unix/sysv/linux/x86/bits/environments.h
60550         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
60551         defined.
60552         (_POSIX_V6_ILP32_OFF32): Likewise.
60553         (_XBS5_ILP32_OFF32): Likewise.
60554         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
60555         (__ILP32_OFFBIG_LDFLAGS): Likewise.
60557 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60559         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
60561         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
60562         doubles __mpexp_twomm1.  Adjust usage.
60563         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
60564         Remove.
60566 2013-01-10  Andreas Schwab  <schwab@suse.de>
60568         [BZ #14964]
60569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
60570         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
60572 2013-01-09  David S. Miller  <davem@davemloft.net>
60574         [BZ #15003]
60575         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
60576         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
60577         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
60578         (TCP_FASTOPEN): Define.
60579         (tcp_repair_opt): New structure.
60580         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
60581         enum values.
60582         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
60583         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
60584         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
60585         (tcp_cookie_transactions): New structure.
60587 2013-01-09  Anton Blanchard  <anton@samba.org>
60589         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
60590         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
60591         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
60592         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
60594 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
60596         * include/features.h (__USE_ANSI): Remove.
60598 2013-01-09  Roland McGrath  <roland@hack.frob.com>
60600         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
60602         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
60604 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
60606         * sysdeps/s390/fpu/libm-test-ulps: Update.
60608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60610         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
60611         (__acr): Likewise.
60612         (__cpy): Likewise.
60613         (norm): Likewise.
60614         (denorm): Likewise.
60615         (__mp_dbl): Likewise.
60616         (__dbl_mp): Likewise.
60617         (add_magnitudes): Likewise.
60618         (sub_magnitudes): Likewise.
60619         (__add): Likewise.
60620         (__sub): Likewise.
60621         (__mul): Likewise.
60622         (__inv): Likewise.
60623         (__dvd): Likewise.
60624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
60625         (__acr): Likewise.
60626         (__cpy): Likewise.
60627         (norm): Likewise.
60628         (denorm): Likewise.
60629         (__mp_dbl): Likewise.
60630         (__dbl_mp): Likewise.
60631         (add_magnitudes): Likewise.
60632         (sub_magnitudes): Likewise.
60633         (__add): Likewise.
60634         (__sub): Likewise.
60635         (__mul): Likewise.
60636         (__inv): Likewise.
60637         (__dvd): Likewise.
60638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
60639         (__acr): Likewise.
60640         (__cpy): Likewise.
60641         (norm): Likewise.
60642         (denorm): Likewise.
60643         (__mp_dbl): Likewise.
60644         (__dbl_mp): Likewise.
60645         (add_magnitudes): Likewise.
60646         (sub_magnitudes): Likewise.
60647         (__add): Likewise.
60648         (__sub): Likewise.
60649         (__mul): Likewise.
60650         (__inv): Likewise.
60651         (__dvd): Likewise.
60653 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
60655         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
60656         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
60657         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
60658         2 && __USE_EXTERN_INLINES]: Likewise.
60660 2013-01-08  Andreas Jaeger  <aj@suse.de>
60662         [BZ# 14985]
60663         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
60664         Remove.
60665         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60666         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60668 2013-01-07  Anton Blanchard  <anton@samba.org>
60670         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
60671         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60672         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
60673         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60674         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60675         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60676         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
60677         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60679         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60680         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60681         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60682         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60683         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60684         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60685         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60686         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60687         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60688         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60689         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60690         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60691         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
60692         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60693         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60694         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
60695         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60696         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60697         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60698         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
60699         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60700         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60702         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60703         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60704         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60705         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60706         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60707         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60708         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
60709         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
60710         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
60711         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60712         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60714 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
60716         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
60717         (__MALLOC_PMT): Likewise.
60718         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
60719         [__GNUC__], only on [_LIBC].
60720         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60721         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
60722         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60723         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
60724         forward declaration.
60725         (realloc_hook_ini): Likewise.
60726         (memalign_hook_ini): Likewise.
60727         (__libc_memalign): Do not use __MALLOC_PMT in variable
60728         declaration.
60729         (__libc_valloc): Likewise.
60730         (__libc_pvalloc): Likewise.
60731         (__libc_calloc): Likewise.
60732         (__posix_memalign): Likewise.
60734         [BZ #14996]
60735         * math/s_casinh.c: Include <float.h>.
60736         (__casinh): Do not do computation with squaring and square root
60737         for large arguments.
60738         * math/s_casinhf.c: Include <float.h>.
60739         (__casinhf): Do not do computation with squaring and square root
60740         for large arguments.
60741         * math/s_casinhl.c: Include <float.h>.
60742         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
60743         (__casinhl): Do not do computation with squaring and square root
60744         for large arguments.
60745         * math/libm-test.inc (casin_test): Add more tests.
60746         (casinh_test): Likewise.
60747         * sysdeps/i386/fpu/libm-test-ulps: Update.
60748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60750 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
60752         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
60753         (__x86_64_raw_data_cache_size): Likewise.
60754         (__x86_64_data_cache_size_half): Likewise.
60755         (__x86_64_raw_data_cache_size_half): Likewise.
60756         (__x86_64_shared_cache_size): Likewise.
60757         (__x86_64_raw_shared_cache_size): Likewise.
60758         (__x86_64_shared_cache_size_half): Likewise.
60759         (__x86_64_raw_shared_cache_size_half): Likewise.
60760         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
60761         to ...
60762         (__x86_data_cache_size): This.
60763         (__x86_64_raw_data_cache_size): Renamed to ...
60764         (__x86_raw_data_cache_size): This.
60765         (__x86_64_data_cache_size_half): Renamed to ...
60766         (__x86_data_cache_size_half): This.
60767         (__x86_64_raw_data_cache_size_half): Renamed to ...
60768         (__x86_raw_data_cache_size_half): This.
60769         (__x86_64_shared_cache_size): Renamed to ...
60770         (__x86_shared_cache_size): This.
60771         (__x86_64_raw_shared_cache_size): Renamed to ...
60772         (__x86_raw_shared_cache_size): This.
60773         (__x86_64_shared_cache_size_half): Renamed to ...
60774         (__x86_shared_cache_size_half): This.
60775         (__x86_64_raw_shared_cache_size_half): Renamed to ...
60776         (__x86_raw_shared_cache_size_half): This.
60777         * sysdeps/x86_64/memcpy.S: Updated.
60778         * sysdeps/x86_64/memset.S: Likewise.
60779         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60780         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60781         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60783 2013-01-04  David S. Miller  <davem@davemloft.net>
60785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60787 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
60789         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
60790         1 to avoid redefinition warning.
60791         (__USE_GNU): Don't define.
60792         (init_signaling_nan): Protoize.
60794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60796 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60798         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
60799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
60800         (__cpymn): Likewise.
60801         (norm): Remove commented code.
60802         (denorm): Likewise.
60803         (__mp_dbl): Likewise.
60804         (__inv): Likewise.
60805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
60806         (__cpymn): Likewise.
60807         (norm): Remove commented code.
60808         (denorm): Likewise.
60809         (__mp_dbl): Likewise.
60810         (__inv): Likewise.
60812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
60813         mp_no value for 1.0 and 2.0.
60814         (norm): Use RADIXI instead of radixi.d.
60815         (denorm): Likewise.
60816         (__mul): Use 0.0 instead of zero.d.
60817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
60818         mp_no value for 1.0 and 2.0.
60819         (norm): Use RADIXI instead of radixi.d.
60820         (denorm): Likewise.
60821         (__mul): Use 0.0 instead of zero.d.
60823 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
60825         [BZ #14994]
60826         * math/s_casinh.c (__casinh): Reduce finite argument to first
60827         quadrant then set signs of results at the end.
60828         * math/s_casinhf.c (__casinhf): Likewise.
60829         * math/s_casinhl.c (__casinhl): Likewise.
60830         * math/libm-test.inc (casin_test): Add more tests.
60831         (casinh_test): Likewise.
60832         * sysdeps/i386/fpu/libm-test-ulps: Update.
60833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60835 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60837         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
60839         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
60841         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
60842         declarations.
60843         (denorm): Likewise.
60844         (__mp_dbl): Likewise.
60845         (__inv): Likewise.
60847         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
60848         and adjust the header comment.
60850         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
60851         variable name from declaration.
60853 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
60855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60856         Initialize COMMON_CPUID_INDEX_7 element.
60857         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
60858         (CPUID_RTM): Likewise.
60859         (HAS_RTM): Likewise.
60860         (COMMON_CPUID_INDEX_7): New enum.
60862 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
60864         [BZ #14981]
60865         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
60866         size is zero, record memory as freed.
60868 2013-01-03  Andreas Jaeger  <aj@suse.de>
60870         * po/ia.po: Add new Interlingua translation.
60872 2012-01-03  Allan McRae  <allan@archlinux.org>
60874         * locale/programs/localedef.c: Fix description of '--posix' flag.
60876 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
60878         * NEWS: Update dates in second copyright notice.
60879         * README: Update copyright dates in example.
60880         * manual/libc.texinfo: Update copyright dates.
60881         * scripts/test-installation.pl: Update copyright date in --version
60882         output.
60884         * hurd/ctty-input.c: Fix copyright notice formatting.
60885         * hurd/ctty-output.c: Likewise.
60886         * hurd/dtable.c: Likewise.
60887         * hurd/hurd-raise.c: Likewise.
60888         * hurd/hurdprio.c: Likewise.
60889         * hurd/msgportdemux.c: Likewise.
60890         * misc/sys/file.h: Likewise.
60891         * misc/sys/ioctl.h: Likewise.
60892         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60893         * sysdeps/mach/hurd/chdir.c: Likewise.
60894         * sysdeps/mach/hurd/fchdir.c: Likewise.
60895         * sysdeps/mach/hurd/rename.c: Likewise.
60896         * sysdeps/mach/hurd/rmdir.c: Likewise.
60897         * sysdeps/mach/hurd/seekdir.c: Likewise.
60898         * sysdeps/mach/hurd/setsid.c: Likewise.
60899         * sysdeps/posix/wait3.c: Likewise.
60901         * All files with FSF copyright notices: Update copyright dates
60902         using scripts/update-copyrights.
60903         * intl/plural.c: Regenerated.
60904         * locale/programs/charmap-kw.h: Likewise.
60905         * locale/programs/locfile-kw.h: Likewise.
60907 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60909         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
60910         four values.
60912         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
60913         calculation loop and add branch prediction.
60915         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
60916         check access beyond bounds of m1np.
60918         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60919         MPTWO.
60920         (__inv): Remove local variable MPTWO to use the global
60921         constant.
60922         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
60923         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60924         variable MPTWO.
60925         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
60926         MP3HALFS static const.
60928 2013-01-01  David S. Miller  <davem@davemloft.net>
60930         * po/ca.po: Update from translation team.
60932 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
60934         * scripts/update-copyrights: New file.
60935         * Makeconfig: Reformat copyright notice.
60936         * ctype/ctype.h: Likewise.
60937         * debug/swprintf_chk.c: Likewise.
60938         * elf/dl-cache.c: Likewise.
60939         * elf/dl-debug.c: Likewise.
60940         * elf/dl-object.c: Likewise.
60941         * grp/initgroups.c: Likewise.
60942         * hurd/Makefile: Likewise.
60943         * hurd/hurd/signal.h: Likewise.
60944         * hurd/hurdfault.c: Likewise.
60945         * hurd/hurdioctl.c: Likewise.
60946         * hurd/hurdlookup.c: Likewise.
60947         * hurd/intr-msg.c: Likewise.
60948         * iconv/gconv_open.c: Likewise.
60949         * libio/swprintf.c: Likewise.
60950         * locale/lc-ctype.c: Likewise.
60951         * locale/nl_langinfo.c: Likewise.
60952         * mach/Machrules: Likewise.
60953         * mach/Makefile: Likewise.
60954         * malloc/obstack.h: Likewise.
60955         * manual/Makefile: Likewise.
60956         * manual/tsort.awk: Likewise.
60957         * misc/bits/stab.def: Likewise.
60958         * nis/nis_print_group_entry.c: Likewise.
60959         * nis/nis_table.c: Likewise.
60960         * nis/nss_compat/compat-pwd.c: Likewise.
60961         * nis/nss_compat/compat-spwd.c: Likewise.
60962         * po/Makefile: Likewise.
60963         * posix/fnmatch.c: Likewise.
60964         * posix/regex.h: Likewise.
60965         * resolv/Makefile: Likewise.
60966         * resolv/nss_dns/dns-network.c: Likewise.
60967         * resolv/res_hconf.c: Likewise.
60968         * scripts/gen-sorted.awk: Likewise.
60969         * soft-fp/soft-fp.h: Likewise.
60970         * stdio-common/printf.h: Likewise.
60971         * stdlib/monetary.h: Likewise.
60972         * stdlib/random.c: Likewise.
60973         * stdlib/random_r.c: Likewise.
60974         * sysdeps/generic/Makefile: Likewise.
60975         * sysdeps/gnu/Makefile: Likewise.
60976         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60977         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60978         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60979         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60980         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60981         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60982         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60983         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60984         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60985         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60986         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60987         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60988         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60989         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60990         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60991         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60992         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60993         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60994         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60995         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60996         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60997         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60998         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60999         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61000         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61001         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61002         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61003         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61004         * sysdeps/mach/hurd/errnos.awk: Likewise.
61005         * sysdeps/mach/hurd/fork.c: Likewise.
61006         * sysdeps/mach/hurd/getcwd.c: Likewise.
61007         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61008         * sysdeps/mach/hurd/mmap.c: Likewise.
61009         * sysdeps/mach/hurd/utimes.c: Likewise.
61010         * sysdeps/mach/hurd/xmknod.c: Likewise.
61011         * sysdeps/posix/profil.c: Likewise.
61012         * sysdeps/posix/readdir_r.c: Likewise.
61013         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61014         * sysdeps/powerpc/bits/setjmp.h: Likewise.
61015         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61016         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61018         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61019         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61020         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61022         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61023         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61024         * sysdeps/pthread/lio_listio.c: Likewise.
61025         * sysdeps/sparc/dl-procinfo.h: Likewise.
61026         * sysdeps/unix/i386/sysdep.S: Likewise.
61027         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61028         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61029         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61030         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61032         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61033         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61034         * sysdeps/unix/sysv/linux/speed.c: Likewise.
61035         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61036         * sysdeps/wordsize-32/divdi3.c: Likewise.
61037         * time/sys/time.h: Likewise.
61038         * wcsmbs/Makefile: Likewise.
61040 2013-01-01  David S. Miller  <davem@davemloft.net>
61042         * po/fr.po: Update from translation team.
61044         * catgets/gencat.c: Update copyright year.
61045         * csu/version.c: Likewise.
61046         * debug/catchsegv.sh: Likewise.
61047         * debug/pcprofiledump.c: Likewise.
61048         * debug/xtrace.sh: Likewise.
61049         * elf/ldconfig.c: Likewise.
61050         * elf/ldd.bash.in: Likewise.
61051         * elf/pldd.c: Likewise.
61052         * elf/sotruss.ksh: Likewise.
61053         * elf/sprof.c: Likewise.
61054         * iconv/iconv_prog.c: Likewise.
61055         * iconv/iconvconfig.c: Likewise.
61056         * locale/programs/locale.c: Likewise.
61057         * locale/programs/localedef.c: Likewise.
61058         * login/programs/pt_chown.c: Likewise.
61059         * malloc/memusage.sh: Likewise.
61060         * malloc/memusagestat.c: Likewise.
61061         * malloc/mtrace.pl: Likewise.
61062         * nscd/nscd.c: Likewise.
61063         * nss/getent.c: Likewise.
61064         * nss/makedb.c: Likewise.
61065         * posix/getconf.c: Likewise.
61067 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61069         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61070         numbers.
61072 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
61074         * math/bits/mathcalls.h (modf): Use __nonnull.
61076 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61078         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61079         (split): Use macro CN instead of the bare value.
61080         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61081         could be used.
61082         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61083         instead of the bare value.
61084         (power1): Likewise.
61086 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61088         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61089         __ATAN_TWOM.
61090         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61092         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61093         their values.
61094         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61095         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61096         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61097         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61099 2012-12-28  Andreas Jaeger  <aj@suse.de>
61101         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
61102         values are from Linux 3.7.
61104         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61105         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
61107 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61109         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61110         TRUE case.
61112         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61113         (norm): Likewise.
61114         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61115         variables with preprocessor constants.
61116         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61117         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61118         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61120 2012-12-27  Bruno Haible  <bruno@clisp.org>
61122         [BZ #14317]
61123         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61124         only if needed.
61126 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61129         and use variable directly.
61130         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61132         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61133         MPONE.
61134         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61136         variable MPONE.
61137         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61139         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61140         include directive.  Remove local variable MPONE.
61141         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61142         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61143         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61145 2012-12-25  David S. Miller  <davem@davemloft.net>
61147         * version.h (RELEASE): Set to "development".
61148         (VERSION): Set to "2.17.90".
61149         * NEWS: Add 2.18 section.
61151 2012-12-21  David S. Miller  <davem@davemloft.net>
61153         * po/hr.po: Update from translation team.
61155 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61157         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61159 2012-12-19  Steve Ellcey  <sellcey@mips.com>
61161         * NEWS:  Mention new memcpy for MIPS.
61163 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61165         * manual/contrib.texi (Contributors): Spelling correction.
61167 2012-12-15  David S. Miller  <davem@davemloft.net>
61169         * po/ru.po: Update from translation team.
61171 2012-12-13  David S. Miller  <davem@davemloft.net>
61173         * NEWS: Mention IFUNC testsuite enhancements.
61175         * po/pl.po: Update from translation team.
61176         * po/bg.po: Likewise.
61178         * manual/contrib.texi (Contributors): Update entries for Hongjiu
61179         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
61181 2012-12-11  David S. Miller  <davem@davemloft.net>
61183         * po/sv.po: Update from translation team.
61185         * po/vi.po: Update from translation team.
61187         * po/cs.po: Update from translation team.
61189         * po/de.po: Update from translation team.
61190         * po/eo.po: Likewise.
61191         * po/nl.po: Likewise.
61193 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61195         [BZ #14246]
61196         * manual/argp.texi (Argp Helper Functions): Move node to follow
61197         Argp Parsing State.
61199         [BZ #14872]
61200         * manual/conf.texi (Limits on File System Capacity): Mention if
61201         terminating null is included in the max size.
61203 2012-12-10  Andreas Jaeger  <aj@suse.de>
61205         * po/cs.po: Update from translation team.
61207 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61209         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61210         void pointer and cast to uintptr_t.
61211         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61212         path.
61213         * sysdeps/s390/s390-64/memcpy.S: Likewise.
61214         * sysdeps/s390/s390-64/memset.S: Likewise.
61216 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
61218         [BZ #14833]
61219         * menual/message.texi (Message Translation): Fix typos.
61220         (Helper programs for gettext): Likewise.
61222 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
61224         [BZ #14898]
61225         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
61226         Change to -1.
61228 2012-12-07  David S. Miller  <davem@davemloft.net>
61230         * po/libc.pot: Update.
61232 2012-12-07  Richard Henderson  <rth@redhat.com>
61234         [BZ #10114]
61235         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
61236         normal/normal case to before the switch.
61237         (_FP_DIV): Likewise.
61239 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
61240             Mike Frysinger  <vapier@gentoo.org>
61242         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
61243         check for __NR_fadvise64_64.
61245 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
61247         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
61248         0, not just to plain "0" as a statement.
61249         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
61250         with cw.
61252 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
61254         * NEWS: Use sourceware.org in Bugzilla URL.
61256 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
61259         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61261         * stdio-common/tst-put-error.c (do_test): Add newline to the
61262         padded test to ensure flush.
61264 2012-12-05  Jeff Law  <law@redhat.com>
61266         * sunrpc/etc.rpc (fedfs_admin): Add entry.
61268 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
61270         * README: Don't refer to ports add-on as distributed separately.
61271         Mention AArch64 in list of systems supported in the ports add-on.
61273         * LICENSES: Add more non-FSF copyright and license notices.
61275         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
61276         ((unused)).
61278         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
61280         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
61281         10000 as width of padded output.
61283 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
61285         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
61287         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
61288         variable LX with __attribute__ ((unused)).
61289         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61290         Likewise.
61291         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61293         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
61294         with __attribute__ ((unused)).
61296 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
61298         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
61300 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
61302         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
61303         (CFLAGS-nldbl-acos.c): New variable.
61304         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
61305         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
61306         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
61307         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
61308         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
61309         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
61310         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
61311         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
61312         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
61313         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
61314         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
61315         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
61316         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
61317         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
61318         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
61319         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
61320         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
61321         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
61322         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
61323         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
61324         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
61325         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
61326         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
61327         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
61328         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
61329         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
61330         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
61331         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
61332         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
61333         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
61334         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
61335         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
61336         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
61337         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
61338         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
61339         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
61340         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
61341         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
61342         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
61343         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
61344         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
61345         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
61346         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
61347         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
61348         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
61349         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
61350         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
61351         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
61352         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
61353         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
61354         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
61355         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
61356         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
61357         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
61358         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
61359         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
61360         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
61361         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
61362         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
61363         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
61364         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
61365         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
61366         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
61367         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
61368         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
61369         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
61370         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
61371         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
61372         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
61373         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
61374         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
61375         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
61376         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
61377         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
61378         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
61379         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
61380         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
61381         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
61382         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
61383         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
61384         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
61385         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
61386         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
61387         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
61388         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
61389         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
61390         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
61391         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
61392         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
61393         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
61394         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
61395         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
61396         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
61397         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
61398         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
61399         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
61400         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
61402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61403         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61405         [BZ #14914]
61406         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
61407         whole low double instead of just low 47 bits when splitting values
61408         into two parts.
61410 2012-12-03  Allan McRae  <allan@archlinux.org>
61412         * manual/stdio.texi (Predefined Printf Handlers): Remove
61413         @hsep and @vsep usage.
61415 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
61417         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
61418         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
61420 2012-12-03  Jeff Law  <law@redhat.com>
61422         * time/sys/time.h (settimeofday): Do not mark TV argument
61423         as __nonnull.
61425 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
61427         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
61428         when currently writing and seek to current position when not.
61429         * libio/Makefile (tests): Remove bug-fclose1.
61430         * libio/bug-fclose1.c: Delete.
61432 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
61434         * manual/arith.texi (feenableexcept): Fix typo.
61435         (fedisableexcept): Likewise.
61437 2012-11-30  Roland McGrath  <roland@hack.frob.com>
61439         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
61440         second, differently-typed declaration, rather than a cast.
61442 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61444         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
61445         * include/rpc/svc.h: ... here.
61447 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
61449         [BZ #13013]
61450         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
61451         depending n and resplen2 to catch cases where answer
61452         equals answerp2.
61454 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
61456         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
61457         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
61459 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
61461         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
61463 2012-11-29  Roland McGrath  <roland@hack.frob.com>
61465         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
61467 2012-11-28  Jeff Law  <law@redhat.com>
61469         [BZ #13761]
61470         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
61471         dataset_temporary.  Track alloca usage into alloca_used.
61472         If dataset is large allocate and release it via malloc/free.
61474 2012-06-04  Florian Weimer  <fweimer@redhat.com>
61476         [BZ #14197]
61477         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
61479 2012-11-28  David S. Miller  <davem@davemloft.net>
61481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61483 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
61485         [BZ #14803]
61486         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
61487         of pi/2 rounded to nearest to 64 bits.
61488         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
61489         nearest to 64 bits.
61490         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
61491         bits.
61493 2012-11-28  Jeff Law <law@redhat.com>
61494             Martin Osvald <mosvald@redhat.com>
61496         [BZ #14889]
61497         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
61498         * sunrpc/svc.c: Include time.h.
61499         (__svc_accept_failed): New function.
61500         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
61501         any reason other than EINTR, call __svc_accept_failed.
61502         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
61503         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
61505 2012-11-28  Andreas Schwab  <schwab@suse.de>
61507         * scripts/abilist.awk: Also handle indirect functions in .opd
61508         section.
61510 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
61512         [BZ #13881]
61513         * sysdeps/x86/fpu/powl_helper.c: New file.
61514         * sysdeps/x86/fpu/Makefile: Likewise.
61515         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
61516         (p3): New object.
61517         (__ieee754_powl): Use __powl_helper for finite arguments except
61518         integer exponents below 8.
61519         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
61520         (p3): New object.
61521         (__ieee754_powl): Use __powl_helper for finite arguments except
61522         integer exponents below 8.
61523         * math/libm-test.inc (pow_test): Add more tests and enable some
61524         previously disabled tests.
61525         * sysdeps/i386/fpu/libm-test-ulps: Update.
61526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61528 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61529             Carlos O'Donell  <carlos_odonell@mentor.com>
61531         * nss/makedb.c (is_prime): Assert that input is odd and greater
61532         than 4.  Note that fact in a comment too.
61533         (next_prime): Add 4 to input.
61535 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61537         [BZ #11741]
61538         * libio/Makefile (tests): Add test case tst-fwrite-error.
61539         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
61540         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
61541         * libio/tst-fwrite-error.c: New test case.
61543 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
61545         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
61546         before casting to void *.
61547         * include/libc-internal.h (__pointer_type): New macro.
61548         (__integer_if_pointer_type_sub): Likewise.
61549         (__integer_if_pointer_type): Likewise.
61550         (cast_to_integer): Likewise.
61551         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
61552         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
61553         before casting to atomic64_t.
61554         (atomic_exchange_acq): Likewise.
61555         (__arch_exchange_and_add_body): Likewise.
61556         (__arch_add_body): Likewise.
61557         (atomic_add_negative): Likewise.
61558         (atomic_add_zero): Likewise.
61560 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
61562         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
61563         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
61564         (add_fdes): Likewise.
61565         (linear_search_fdes): Likewise.
61566         (binary_search_unencoded_fdes): Likewise.
61568 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
61570         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
61572 2012-11-24  Adam Conrad  <adconrad@0c3.net>
61574         * configure.in: Autodetect C++ header directories.
61575         * configure: Regenerated.
61577 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
61579         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
61581 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
61583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61585 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
61587         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
61588         LDBL_MANT_DIG == 106]: Disable some tests.
61589         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
61590         Likewise.
61591         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
61592         Likewise.
61594         [BZ #14871]
61595         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
61596         input for small inputs.  Return +/- pi/2 for large inputs.
61597         * math/libm-test.inc (atan_test): Add more tests.
61599         * sysdeps/generic/unwind-dw2-fde-glibc.c
61600         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
61601         __attribute__ ((unused)).
61603         [BZ #14645]
61604         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
61605         x * y if x and y are nonzero and z is zero.
61607         [BZ #14811]
61608         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
61609         nonzero exponents with absolute value below 0x1p-117 to +/-
61610         0x1p-117.
61612         [BZ #14869]
61613         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
61614         up arguments below 2**-450, not just those below 2**-500.
61615         * math/libm-test.inc (hypot_test): Add another test.
61617         [BZ #14868]
61618         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
61619         Return a+b for ratio over 2**120, not 2**60.
61620         * math/libm-test.inc (hypot_test): Add another test.
61622         * math/libm-test.inc (clog_test): Use
61623         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
61624         (clog10_test): Likewise.
61626         [BZ #6778]
61627         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
61629 2012-11-22  Andreas Schwab  <schwab@suse.de>
61631         * sysdeps/i386/fpu/libm-test-ulps: Update.
61633 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
61635         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
61636         printf output with newline.
61638 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
61640         [BZ #14865]
61641         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
61642         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
61643         -z nodlopen, -z initfirst and -z execstack support.
61644         * configure: Regenerated.
61646         * elf/elf.h (DF_1_NODIRECT): New macro.
61647         (DF_1_IGNMULDEF): Likewise.
61648         (DF_1_NOKSYMS): Likewise.
61649         (DF_1_NOHDR): Likewise.
61650         (DF_1_EDITED): Likewise.
61651         (DF_1_NORELOC): Likewise.
61652         (DF_1_SYMINTPOSE): Likewise.
61653         (DF_1_GLOBAUDIT): Likewise.
61654         (DF_1_SINGLETON): Likewise.
61655         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
61656         DT_1_SUPPORTED_MASK bits.
61657         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
61659 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
61661         * sysdeps/unix/make-syscalls.sh: Document prefixes.
61663 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
61665         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
61666         macro.
61668         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
61669         (sendmmsg): Move declarations...
61670         * socket/sys/socket.h: ... here.
61671         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
61672         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
61673         include it from...
61674         * socket/recvmmsg.c: ... this new file.
61675         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
61676         (sendmmsg): Rename to __sendmmsg, create weak alias and make
61677         definition of __sendmmsg hidden.
61678         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
61679         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
61680         Move ENOSYS stub into and include it from...
61681         * socket/sendmmsg.c: ... this new file.
61682         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
61683         (sysdep_routines): Move recvmmsg and sendmmsg...
61684         * socket/Makefile (routines): ... here.
61685         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
61686         (GLIBC_PRIVATE): Add __sendmmsg.
61687         * include/sys/socket.h (__sendmmsg): Add declarations.
61688         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
61689         sendmmsg.
61691 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
61693         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
61694         variable I1 with __attribute__ ((unused)).
61695         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61697 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
61699         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
61700         DUMMY variables with __attribute__ ((unused)).
61702         * bits/byteswap.h: Include <bits/types.h>.
61703         (__bswap_64): Use __uint64_t instead of unsigned long long int.
61705 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61707         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
61708         string_t.  Do not manually set errno.
61709         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
61710         length with __strnlen.  Make sure to both set errno and return it on
61711         failure.
61713 2012-11-19  David S. Miller  <davem@davemloft.net>
61715         With help from Joseph Myers.
61716         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
61717         very large arguments properly.
61718         * math/libm-test.inc (atan_test): New tests.
61719         (atan2_test): New tests.
61720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61723 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
61725         [BZ #14856]
61726         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
61727         Define to 3.
61729         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
61730         [POSIX] (EADDRNOTAVAIL): Likewise.
61731         [POSIX] (EAFNOSUPPORT): Likewise.
61732         [POSIX] (EALREADY): Likewise.
61733         [POSIX] (ECONNABORTED): Likewise.
61734         [POSIX] (ECONNREFUSED): Likewise.
61735         [POSIX] (ECONNRESET): Likewise.
61736         [POSIX] (EDESTADDRREQ): Likewise.
61737         [POSIX] (EDQUOT): Likewise.
61738         [POSIX] (EHOSTUNREACH): Likewise.
61739         [POSIX] (EIDRM): Likewise.
61740         [POSIX] (EISCONN): Likewise.
61741         [POSIX] (ELOOP): Likewise.
61742         [POSIX] (EMULTIHOP): Likewise.
61743         [POSIX] (ENETDOWN): Likewise.
61744         [POSIX] (ENETUNREACH): Likewise.
61745         [POSIX] (ENOBUFS): Likewise.
61746         [POSIX] (ENODATA): Likewise.
61747         [POSIX] (ENOLINK): Likewise.
61748         [POSIX] (ENOMSG): Likewise.
61749         [POSIX] (ENOPROTOOPT): Likewise.
61750         [POSIX] (ENOSR): Likewise.
61751         [POSIX] (ENOSTR): Likewise.
61752         [POSIX] (ENOTCONN): Likewise.
61753         [POSIX] (ENOTSOCK): Likewise.
61754         [POSIX] (EOPNOTSUPP): Likewise.
61755         [POSIX] (EOVERFLOW): Likewise.
61756         [POSIX] (EPROTO): Likewise.
61757         [POSIX] (EPROTONOSUPPORT): Likewise.
61758         [POSIX] (EPROTOTYPE): Likewise.
61759         [POSIX] (ESTALE): Likewise.
61760         [POSIX] (ETIME): Likewise.
61761         [POSIX] (ETXTBSY): Likewise.
61762         [POSIX] (EWOULDBLOCK): Likewise.
61763         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
61764         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
61765         [POSIX] (SEEK_CUR): Likewise.
61766         [POSIX] (SEEK_END): Likewise.
61767         [POSIX || UNIX98] (mode_t): Do not require.
61768         [POSIX] (off_t): Likewise.
61769         [POSIX] (pid_t): Likewise.
61770         [POSIX] (sys/stat.h): Do not allow header.
61771         [POSIX] (unistd.h): Likewise.
61772         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
61773         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
61774         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
61775         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
61776         require.
61777         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
61778         sigevent): Specify elements.
61779         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
61780         entry.
61781         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
61782         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
61784         * conform/data/cpio.h-data [POSIX]: Disable whole file.
61785         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
61786         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
61787         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
61788         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
61789         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
61790         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
61791         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
61792         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
61793         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
61794         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
61795         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
61796         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
61797         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
61798         Likewise.
61799         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
61800         Likewise.
61801         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
61802         Likewise.
61803         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
61804         Likewise.
61805         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
61806         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
61807         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
61808         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
61809         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
61810         Specify lower bound on value.
61811         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
61812         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
61813         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
61814         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
61815         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
61816         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
61817         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
61818         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
61819         value.
61820         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
61821         as optional.
61822         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
61823         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
61824         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
61825         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
61826         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
61827         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
61828         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
61829         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
61830         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
61831         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
61832         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
61833         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
61834         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
61835         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
61836         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
61837         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
61838         entry.
61839         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
61840         optional.
61841         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
61842         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
61843         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
61844         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
61845         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
61846         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
61847         Likewise.
61848         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
61849         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
61850         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
61851         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
61852         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
61853         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
61854         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
61855         as optional.
61856         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
61857         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
61858         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
61859         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
61860         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
61861         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
61862         specify as optional.
61863         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
61864         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
61865         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
61866         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
61867         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
61868         [XPG3] (NL_LANGMAX): Likewise.
61869         [POSIX || XPG3] (NL_MSGMAX): Likewise.
61870         [POSIX || XPG3] (NL_NMAX): Likewise.
61871         [POSIX || XPG3] (NL_SETMAX): Likewise.
61872         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
61873         [XPG3] (NZERO): Likewise.
61874         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
61875         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
61876         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
61877         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
61878         (REG_ERANGE): Expect.
61879         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
61880         optional-constant.
61881         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
61882         Use (void) in prototype.
61883         [POSIX] (*_t): Allow.
61884         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
61885         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
61886         (WRDE_BADVAL): Expect.
61888         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
61889         expect.
61890         [XPG3 || XPG4] (O_RSYNC): Likewise.
61891         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
61892         Likewise.
61893         [XPG3 || XPG4] (pthread_sigmask): Likewise.
61894         [XPG3 || XPG4] (sigqueue): Likewise.
61895         [XPG3 || XPG4] (sigtimedwait): Likewise.
61896         [XPG3 || XPG4] (sigwaitinfo): Likewise.
61897         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
61898         [XPG3 || XPG4] (vsnprintf): Likewise.
61899         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
61900         Likewise.
61901         [XPG3 || XPG4] (blksize_t): Likewise.
61902         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
61903         Likewise.
61904         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
61905         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
61906         [XPG3 || XPG4] (struct itimerspec): Likewise.
61907         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
61908         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
61909         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
61910         [XPG3 || XPG4] (clockid_t): Likewise.
61911         [XPG3 || XPG4] (timer_t): Likewise.
61912         [XPG3 || XPG4] (clock_getres): Likewise.
61913         [XPG3 || XPG4] (clock_gettime): Likewise.
61914         [XPG3 || XPG4] (clock_settime): Likewise.
61915         [XPG3 || XPG4] (nanosleep): Likewise.
61916         [XPG3 || XPG4] (timer_create): Likewise.
61917         [XPG3 || XPG4] (timer_delete): Likewise.
61918         [XPG3 || XPG4] (timer_gettime): Likewise.
61919         [XPG3 || XPG4] (timer_getoverrun): Likewise.
61920         [XPG3 || XPG4] (timer_settime): Likewise.
61921         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
61922         [XPG3 || XPG4] (getlogin_r): Likewise.
61923         [XPG3 || XPG4] (pread): Likewise.
61924         [XPG3 || XPG4] (pthread_atfork): Likewise.
61925         [XPG3 || XPG4] (pwrite): Likewise.
61927         [BZ #14835]
61928         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
61929         <bits/siginfo.h>.
61931 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61933         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
61934         finalizing MALLSTREAM.
61936         * sysdeps/mach/hurd/syncfs.c: New file.
61938 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61940         [BZ #14719]
61941         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61942         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61943         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61944         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61945         (_nss_dns_gethostbyname4_r): Likewise.
61946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61947         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61949 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61951         [BZ #13763]
61952         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61954 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61956         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61957         * elf/cache.c (print_entry): Print ",AArch64" for
61958         FLAG_AARCH64_LIB64
61960         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61961         * elf/cache.c (print_entry): Print ",hard-float" for
61962         FLAG_ARM_LIBHF.
61964 2012-11-18  David S. Miller  <davem@davemloft.net>
61966         With help from Joseph Myers.
61967         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61968         cutoff to 2**-13.
61969         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61970         cutoff to 2**-25.
61971         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61972         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61973         small.
61974         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61975         * math/libm-test.inc (y0_test): New tests.
61976         (y1_test): New tests.
61977         * sysdeps/i386/fpu/libm-test-ulps: Update.
61978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61981 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61983         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61984         64-bit targets.
61985         * configure: Regenerated.
61987 2012-11-17  David S. Miller  <davem@davemloft.net>
61989         [BZ #14811]
61990         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61991         nonzero exponents with absolute value below 0x1p-128 to +/-
61992         0x1p-128.
61994 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61996         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61998         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62000         * posix/getconf-speclist.c: New file.
62001         * posix/posix-envs.def: Likewise.
62002         * posix/confstr.c (START_ENV_GROUP): New macro.
62003         (END_ENV_GROUP): Likewise.
62004         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62005         (KNOWN_PRESENT_ENV_STRING): Likewise.
62006         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62007         (UNKNOWN_ENVIRONMENT): Likewise.
62008         (confstr): Include posix-envs.def instead of handling
62009         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62010         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62011         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62012         (END_ENV_GROUP): Likewise.
62013         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62014         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62015         (UNKNOWN_ENVIRONMENT): Likewise.
62016         (__sysconf): Include posix-envs.def instead of handling associated
62017         cases directly here.
62018         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62019         preprocessing getconf-speclist.c rather than running getconf or
62020         generating empty file.
62022 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
62024         * scripts/check-local-headers.sh: Ignore 'mach' headers.
62026 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
62028         [BZ #14672]
62029         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62031 2012-11-16  David S. Miller  <davem@davemloft.net>
62033         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62034         smaller than LDBL_EPSILON/2.0L, just return xm1.
62036 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
62038         * elf/tst-array1.c (init): Set constructor priority to 1000.
62039         (fini): Set destructor priority to 1000.
62040         * elf/tst-array2dep.c: Likewise.
62042 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62044         [BZ #11741]
62045         * libio/fileops.c (_IO_new_file_write): Correctly return error.
62046         (_IO_new_file_xsputn): Also return EOF if none of the input
62047         data was written when overflow failed.
62048         * libio/iopadn.c (_IO_padn): Likewise.
62049         * libio/iowpadn.c (_IO_wpadn): Likewise.
62050         * stdio-common/tst-put-error.c: Add copyright notice.
62051         (do_test): Add case for printing padded string.
62052         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62053         _IO_padn returned error.
62054         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62055         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62056         return EOF.
62058 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62060         * libio/libioP.h: Add comment note that the references to C++
62061         bits are now obsolete.
62063 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62065         * math/libm-test.inc (check_complex): Use asprintf.
62067 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
62069         * debug/pcprofiledump.c (print_version): Update copyright year.
62070         * malloc/memusagestat.c (print_version): Likewise.
62072 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
62074         [BZ #14831]
62075         * elf/Makefile (tests): Add tst-audit8.
62076         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62077         ($(objpfx)tst-audit8.out): New target.
62078         (tst-audit8-ENV): New variable.
62079         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62080         audit if l_reloc_result is NULL.
62081         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62082         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62083         * elf/tst-audit8.c: New file.
62085 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62087         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62088         * misc/Makefile (CFLAGS-select.c): Define.
62089         * posix/Makefile (CFLAGS-pause.c): Define.
62091 2012-11-13  David S. Miller  <davem@davemloft.net>
62093         * crypt/Makefile: Move test targets after toplevel Rules
62094         inclusion.  Grab any necessary sysdep routines when linking.
62095         * crypt/md5.c (md5_process_block): Remove define, we will always
62096         name it __md5_process_block.
62097         (md5_finish_ctx): Update md5_process_block call.
62098         (md5_stream): Likewise.
62099         (md5_process_bytes): Likewise.
62100         (md5_process_block): Rename to __md5_process_block and move to ...
62101         * crypt/md5-block.c: ... here.
62102         * crypt/sha256.c (sha256_process_block): Move to ...
62103         * crypt/sha256-block.c: ... here.
62104         * crypt/sha512.c (sha512_process_block): Move to ...
62105         * crypt/sha512-block.c: ... here.
62106         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62107         path.
62108         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62109         * sysdeps/sparc/sparc64/multiarch/Makefile
62110         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62111         crypt subdir.
62112         (localedef-aux): Add md5 crypto assembler when in locale subdir.
62113         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62114         multiarch changes.
62115         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62116         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62117         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62118         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62119         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62120         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62121         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62122         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62123         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62124         file.
62125         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62126         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62127         file.
62128         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62130 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
62132         * timezone/tzselect.ksh: Update from tzcode git revision
62133         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62134         * timezone/zdump.c: Likewise.
62135         * timezone/zic.c: Likewise.
62136         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62137         in TZVERSION setting, not $(PKGVERSION).
62138         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
62139         REPORT_BUGS_TO settings.
62141         [BZ #14838]
62142         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62143         macro.
62145 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62147         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62148         detection to immediately after _FP_ROUND().
62149         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62150         bits are 0.
62152 2012-11-11  David S. Miller  <davem@davemloft.net>
62154         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62155         inttypes.h
62156         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62157         __close rather than their public counterparts.
62159 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
62161         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62162         file.
62163         [UNIX98] (sem_timedwait): Do not expect.
62164         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62165         [XPG4 || UNIX98] (sockatmark): Do not expect.
62166         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62167         (clock_getcpuclockid): Do not expect.
62168         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62169         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62170         Do not expect.
62171         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62172         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62173         [UNIX98] (vwscanf): Likewise.
62174         [UNIX98] (vswscanf): Likewise.
62176 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
62178         * timezone/version.h: Remove file.
62179         * timezone/README: Do not refer to version.h.
62180         * timezone/Makefile ($(objpfx)zic.o): New dependency on
62181         $(objpfx)version.h.
62182         ($(objpfx)zdump.o): Likewise.
62183         ($(objpfx)version.h): New target.
62185         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62186         2012i.
62187         * timezone/README: Don't mention modification to tzselect.ksh.
62188         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62189         work on unmodified tzselect.ksh.  Substitute version numbers in
62190         tzselect.ksh.
62192         * Makefile (format-me): Remove.
62193         (INSTALL): Adjust indentation.  Use commands directly instead of
62194         using $(format-me).
62196         * aclocal.m4 (ACX_PKGVERSION): New macro.
62197         (ACX_BUGURL): Likewise.
62198         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62199         (PKGVERSION): New AC_DEFINE_UNQUOTED.
62200         (REPORT_BUGS_TO): Likewise.
62201         * configure: Regenerated.
62202         * config.h.in (PKGVERSION): New macro.
62203         (REPORT_BUGS_TO): Likewise.
62204         * config.make.in (PKGVERSION): New variable.
62205         (PKGVERSION_TEXI): Likewise.
62206         (REPORT_BUGS_TO): Likewise.
62207         (REPORT_BUGS_TEXI): Likewise.
62208         * Makefile (format-me): Use -I$(common-objpfx)manual.
62209         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62210         ($(common-objpfx)manual/%): New target.
62211         (manual/%): Remove target.
62212         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62213         (print_version): Use PKGVERSION.
62214         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62215         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62216         and REPORT_BUGS_TO.
62217         ($(objpfx)xtrace): Likewise.
62218         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62219         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62220         (print_version): Use PKGVERSION.
62221         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62222         (do_version): Use PKGVERSION.
62223         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
62224         REPORT_BUGS_TO.
62225         (common-ldd-rewrite): Likewise.
62226         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
62227         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
62228         (print_version): Use PKGVERSION.
62229         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
62230         * elf/pldd.c (argp_program_bug_address): Remove variable.
62231         (more_help): New function.
62232         (argp): Use more_help.
62233         (print_version): Use PKGVERSION.
62234         * elf/sln.c (main): Use PKGVERSION.
62235         (usage): Use REPORT_BUGS_TO.
62236         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
62237         (top level): Use PKGVERSION.
62238         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
62239         (print_version): Use PKGVERSION.
62240         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
62241         (print_version): Use PKGVERSION.
62242         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
62243         (print_version): Use PKGVERSION.
62244         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
62245         (print_version): Use PKGVERSION.
62246         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
62247         (print_version): Use PKGVERSION.
62248         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
62249         (print_version): Use PKGVERSION.
62250         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
62251         and BUGURL.
62252         ($(objpfx)memusage): Likewise.
62253         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
62254         (do_version): Use PKGVERSION.
62255         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
62256         (print_version): Use PKGVERSION.
62257         * malloc/mtrace.pl ($PACKAGE): Remove variable.
62258         ($PKGVERSION): New variable.
62259         ($REPORT_BUGS_TO): Likewise.
62260         (usage): Use $REPORT_BUGS_TO.
62261         (top level): Use $PKGVERSION.
62262         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
62263         ($(objpfx)pkgvers.texi): New rule.
62264         ($(objpfx)stamp-pkgvers): Likewise.
62265         * manual/install.texi: Include pkgvers.texi.
62266         (--with-pkgversion): Document new configure option.
62267         (--with-bugurl): Likewise.
62268         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
62269         than necessarily for this particular distribution.  Use
62270         REPORT_BUGS_TO for where to report bugs.
62271         * INSTALL: Regenerated.
62272         * manual/libc.texinfo: Include pkgvers.texi.
62273         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
62274         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
62275         (print_version): Use PKGVERSION.
62276         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
62277         (print_version): Use PKGVERSION.
62278         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
62279         (print_version): Use PKGVERSION.
62280         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
62281         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
62282         macro.
62283         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
62284         (print_version): Use PKGVERSION.
62285         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
62286         (print_version): Use PKGVERSION.
62287         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
62288         and PKGVERSION.
62290         * timezone/checktab.awk: Update from tzcode 2012i.
62291         * timezone/ialloc.c: Likewise.
62292         * timezone/private.h: Likewise.
62293         * timezone/scheck.c: Likewise.
62294         * timezone/tzfile.h: Likewise.
62295         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
62296         (TZVERSION): Hardcode tzcode version number.
62297         * timezone/zdump.c: Update from tzcode 2012i.
62298         * timezone/zic.c: Likewise.
62299         * timezone/version.h: New file.
62300         * timezone/README: Describe version.h.  Update upstream location.
62302         [BZ #14824]
62303         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
62304         (mktemp): Enable declaration.
62305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
62306         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
62307         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
62308         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
62309         Likewise.
62310         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
62311         Likewise.
62312         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
62313         Likewise.
62314         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
62315         Likewise.
62316         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
62317         Likewise.
62318         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
62319         Likewise.
62321         [BZ #14821]
62322         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
62323         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
62324         for copies of such integer values.
62325         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62326         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62328 2012-11-09  Andreas Jaeger  <aj@suse.de>
62330         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
62331         definitions and declarations that are provided by
62332         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62334 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62336         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
62337         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
62338         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
62339         definition.
62341 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62343         * elf/elf.h: Update comment before AArch64 relocations.
62345 2012-11-07  David S. Miller  <davem@davemloft.net>
62347         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
62348         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62349         (__start_context): Declare.
62350         (__makecontext_ret): Delete.
62351         (__makecontext): Hook up __start_context instead of
62352         __makecontext_ret.
62353         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
62354         (sysdep_routines): Add __start_context when in stdlib.
62356 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62358         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
62359         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
62360         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
62361         hardcoded "nm".
62362         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
62363         (READELF): New variable.  Use it instead of hardcoded "readelf".
62365 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62367         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
62368         * sysdeps/x86/Makefile: Here.
62369         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
62370         * sysdeps/x86/tst-xmmymm.sh: This.
62372 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62374         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
62375         expectations.
62376         [UNIX98] (pthread_barrier_t): Do not expect.
62377         [UNIX98] (pthread_barrierattr_t): Likewise.
62378         [UNIX98] (pthread_spinlock_t): Likewise.
62379         [UNIX98] (pthread_barrier_destroy): Likewise.
62380         [UNIX98] (pthread_barrier_init): Likewise.
62381         [UNIX98] (pthread_barrier_wait): Likewise.
62382         [UNIX98] (pthread_barrierattr_destroy): Likewise.
62383         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
62384         [UNIX98] (pthread_barrierattr_init): Likewise.
62385         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
62386         [UNIX98] (pthread_getcpuclockid): Likewise.
62387         [UNIX98] (pthread_mutex_timedlock): Likewise.
62388         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
62389         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
62390         [UNIX98] (pthread_sigmask): Likewise.
62391         [UNIX98] (pthread_spin_destroy): Likewise.
62392         [UNIX98] (pthread_spin_init): Likewise.
62393         [UNIX98] (pthread_spin_lock): Likewise.
62394         [UNIX98] (pthread_spin_trylock): Likewise.
62395         [UNIX98] (pthread_spin_unlock): Likewise.
62396         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
62397         Do not expect.
62398         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
62399         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
62400         [XPG3 || XPG4] (pthread_cond_t): Likewise.
62401         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
62402         [XPG3 || XPG4] (pthread_key_t): Likewise.
62403         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
62404         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
62405         [XPG3 || XPG4] (pthread_once_t): Likewise.
62406         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
62407         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
62408         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
62409         [XPG3 || XPG4] (pthread_t): Likewise.
62411         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
62412         not expect.
62413         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
62415         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
62416         Change function return type to int.
62418         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
62419         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
62420         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
62421         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
62422         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
62423         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
62424         [!POSIX] (posix_madvise): Likewise.
62425         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
62426         && !UNIX98].
62427         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
62428         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
62429         (mode_t): Likewise.
62430         (posix_mem_offset): Likewise.
62431         (posix_typed_mem_get_info): Likewise.
62432         (posix_typed_mem_open): Likewise.
62434         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
62435         Change condition to [XOPEN2K8].
62437         * conform/conformtest.pl: Preprocess allow-header data with -x c
62438         instead of from stdin.
62439         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
62440         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
62441         [C99-based standards] (cerfc): Likewise.
62442         [C99-based standards] (cexp2): Likewise.
62443         [C99-based standards] (cexpm1): Likewise.
62444         [C99-based standards] (clog10): Likewise.
62445         [C99-based standards] (clog1p): Likewise.
62446         [C99-based standards] (clog2): Likewise.
62447         [C99-based standards] (clgamma): Likewise.
62448         [C99-based standards] (ctgamma): Likewise.
62449         [C99-based standards] (cerff): Likewise.
62450         [C99-based standards] (cerfcf): Likewise.
62451         [C99-based standards] (cexp2f): Likewise.
62452         [C99-based standards] (cexpm1f): Likewise.
62453         [C99-based standards] (clog10f): Likewise.
62454         [C99-based standards] (clog1pf): Likewise.
62455         [C99-based standards] (clog2f): Likewise.
62456         [C99-based standards] (clgammaf): Likewise.
62457         [C99-based standards] (ctgammaf): Likewise.
62458         [C99-based standards] (cerfl): Likewise.
62459         [C99-based standards] (cerfcl): Likewise.
62460         [C99-based standards] (cexp2l): Likewise.
62461         [C99-based standards] (cexpm1l): Likewise.
62462         [C99-based standards] (clog10l): Likewise.
62463         [C99-based standards] (clog1pl): Likewise.
62464         [C99-based standards] (clog2l): Likewise.
62465         [C99-based standards] (clgammal): Likewise.
62466         [C99-based standards] (ctgammal): Likewise.
62467         * conform/data/inttypes.h-data [C99-based standards]: Include
62468         stdint.h-data.  Remove all expectations for stdint.h contents.
62469         [C99-based standards] (PRI*): Do not allow.
62470         [C99-based standards] (SCN*): Likewise.
62471         [C99-based standards] (*_t): Likewise.
62472         [C99-based-standards] (PRId8): Expect macro.
62473         [C99-based-standards] (PRIi8): Likewise.
62474         [C99-based-standards] (PRIo8): Likewise.
62475         [C99-based-standards] (PRIu8): Likewise.
62476         [C99-based-standards] (PRIx8): Likewise.
62477         [C99-based-standards] (PRIX8): Likewise.
62478         [C99-based-standards] (SCNd8): Likewise.
62479         [C99-based-standards] (SCNi8): Likewise.
62480         [C99-based-standards] (SCNo8): Likewise.
62481         [C99-based-standards] (SCNu8): Likewise.
62482         [C99-based-standards] (SCNx8): Likewise.
62483         [C99-based-standards] (PRIdLEAST8): Likewise.
62484         [C99-based-standards] (PRIiLEAST8): Likewise.
62485         [C99-based-standards] (PRIoLEAST8): Likewise.
62486         [C99-based-standards] (PRIuLEAST8): Likewise.
62487         [C99-based-standards] (PRIxLEAST8): Likewise.
62488         [C99-based-standards] (PRIXLEAST8): Likewise.
62489         [C99-based-standards] (SCNdLEAST8): Likewise.
62490         [C99-based-standards] (SCNiLEAST8): Likewise.
62491         [C99-based-standards] (SCNoLEAST8): Likewise.
62492         [C99-based-standards] (SCNuLEAST8): Likewise.
62493         [C99-based-standards] (SCNxLEAST8): Likewise.
62494         [C99-based-standards] (PRIdFAST8): Likewise.
62495         [C99-based-standards] (PRIiFAST8): Likewise.
62496         [C99-based-standards] (PRIoFAST8): Likewise.
62497         [C99-based-standards] (PRIuFAST8): Likewise.
62498         [C99-based-standards] (PRIxFAST8): Likewise.
62499         [C99-based-standards] (PRIXFAST8): Likewise.
62500         [C99-based-standards] (SCNdFAST8): Likewise.
62501         [C99-based-standards] (SCNiFAST8): Likewise.
62502         [C99-based-standards] (SCNoFAST8): Likewise.
62503         [C99-based-standards] (SCNuFAST8): Likewise.
62504         [C99-based-standards] (SCNxFAST8): Likewise.
62505         [C99-based-standards] (PRId16): Likewise.
62506         [C99-based-standards] (PRIi16): Likewise.
62507         [C99-based-standards] (PRIo16): Likewise.
62508         [C99-based-standards] (PRIu16): Likewise.
62509         [C99-based-standards] (PRIx16): Likewise.
62510         [C99-based-standards] (PRIX16): Likewise.
62511         [C99-based-standards] (SCNd16): Likewise.
62512         [C99-based-standards] (SCNi16): Likewise.
62513         [C99-based-standards] (SCNo16): Likewise.
62514         [C99-based-standards] (SCNu16): Likewise.
62515         [C99-based-standards] (SCNx16): Likewise.
62516         [C99-based-standards] (PRIdLEAST16): Likewise.
62517         [C99-based-standards] (PRIiLEAST16): Likewise.
62518         [C99-based-standards] (PRIoLEAST16): Likewise.
62519         [C99-based-standards] (PRIuLEAST16): Likewise.
62520         [C99-based-standards] (PRIxLEAST16): Likewise.
62521         [C99-based-standards] (PRIXLEAST16): Likewise.
62522         [C99-based-standards] (SCNdLEAST16): Likewise.
62523         [C99-based-standards] (SCNiLEAST16): Likewise.
62524         [C99-based-standards] (SCNoLEAST16): Likewise.
62525         [C99-based-standards] (SCNuLEAST16): Likewise.
62526         [C99-based-standards] (SCNxLEAST16): Likewise.
62527         [C99-based-standards] (PRIdFAST16): Likewise.
62528         [C99-based-standards] (PRIiFAST16): Likewise.
62529         [C99-based-standards] (PRIoFAST16): Likewise.
62530         [C99-based-standards] (PRIuFAST16): Likewise.
62531         [C99-based-standards] (PRIxFAST16): Likewise.
62532         [C99-based-standards] (PRIXFAST16): Likewise.
62533         [C99-based-standards] (SCNdFAST16): Likewise.
62534         [C99-based-standards] (SCNiFAST16): Likewise.
62535         [C99-based-standards] (SCNoFAST16): Likewise.
62536         [C99-based-standards] (SCNuFAST16): Likewise.
62537         [C99-based-standards] (SCNxFAST16): Likewise.
62538         [C99-based-standards] (PRId32): Likewise.
62539         [C99-based-standards] (PRIi32): Likewise.
62540         [C99-based-standards] (PRIo32): Likewise.
62541         [C99-based-standards] (PRIu32): Likewise.
62542         [C99-based-standards] (PRIx32): Likewise.
62543         [C99-based-standards] (PRIX32): Likewise.
62544         [C99-based-standards] (SCNd32): Likewise.
62545         [C99-based-standards] (SCNi32): Likewise.
62546         [C99-based-standards] (SCNo32): Likewise.
62547         [C99-based-standards] (SCNu32): Likewise.
62548         [C99-based-standards] (SCNx32): Likewise.
62549         [C99-based-standards] (PRIdLEAST32): Likewise.
62550         [C99-based-standards] (PRIiLEAST32): Likewise.
62551         [C99-based-standards] (PRIoLEAST32): Likewise.
62552         [C99-based-standards] (PRIuLEAST32): Likewise.
62553         [C99-based-standards] (PRIxLEAST32): Likewise.
62554         [C99-based-standards] (PRIXLEAST32): Likewise.
62555         [C99-based-standards] (SCNdLEAST32): Likewise.
62556         [C99-based-standards] (SCNiLEAST32): Likewise.
62557         [C99-based-standards] (SCNoLEAST32): Likewise.
62558         [C99-based-standards] (SCNuLEAST32): Likewise.
62559         [C99-based-standards] (SCNxLEAST32): Likewise.
62560         [C99-based-standards] (PRIdFAST32): Likewise.
62561         [C99-based-standards] (PRIiFAST32): Likewise.
62562         [C99-based-standards] (PRIoFAST32): Likewise.
62563         [C99-based-standards] (PRIuFAST32): Likewise.
62564         [C99-based-standards] (PRIxFAST32): Likewise.
62565         [C99-based-standards] (PRIXFAST32): Likewise.
62566         [C99-based-standards] (SCNdFAST32): Likewise.
62567         [C99-based-standards] (SCNiFAST32): Likewise.
62568         [C99-based-standards] (SCNoFAST32): Likewise.
62569         [C99-based-standards] (SCNuFAST32): Likewise.
62570         [C99-based-standards] (SCNxFAST32): Likewise.
62571         [C99-based-standards] (PRId64): Likewise.
62572         [C99-based-standards] (PRIi64): Likewise.
62573         [C99-based-standards] (PRIo64): Likewise.
62574         [C99-based-standards] (PRIu64): Likewise.
62575         [C99-based-standards] (PRIx64): Likewise.
62576         [C99-based-standards] (PRIX64): Likewise.
62577         [C99-based-standards] (SCNd64): Likewise.
62578         [C99-based-standards] (SCNi64): Likewise.
62579         [C99-based-standards] (SCNo64): Likewise.
62580         [C99-based-standards] (SCNu64): Likewise.
62581         [C99-based-standards] (SCNx64): Likewise.
62582         [C99-based-standards] (PRIdLEAST64): Likewise.
62583         [C99-based-standards] (PRIiLEAST64): Likewise.
62584         [C99-based-standards] (PRIoLEAST64): Likewise.
62585         [C99-based-standards] (PRIuLEAST64): Likewise.
62586         [C99-based-standards] (PRIxLEAST64): Likewise.
62587         [C99-based-standards] (PRIXLEAST64): Likewise.
62588         [C99-based-standards] (SCNdLEAST64): Likewise.
62589         [C99-based-standards] (SCNiLEAST64): Likewise.
62590         [C99-based-standards] (SCNoLEAST64): Likewise.
62591         [C99-based-standards] (SCNuLEAST64): Likewise.
62592         [C99-based-standards] (SCNxLEAST64): Likewise.
62593         [C99-based-standards] (PRIdFAST64): Likewise.
62594         [C99-based-standards] (PRIiFAST64): Likewise.
62595         [C99-based-standards] (PRIoFAST64): Likewise.
62596         [C99-based-standards] (PRIuFAST64): Likewise.
62597         [C99-based-standards] (PRIxFAST64): Likewise.
62598         [C99-based-standards] (PRIXFAST64): Likewise.
62599         [C99-based-standards] (SCNdFAST64): Likewise.
62600         [C99-based-standards] (SCNiFAST64): Likewise.
62601         [C99-based-standards] (SCNoFAST64): Likewise.
62602         [C99-based-standards] (SCNuFAST64): Likewise.
62603         [C99-based-standards] (SCNxFAST64): Likewise.
62604         [C99-based-standards] (PRIdMAX): Likewise.
62605         [C99-based-standards] (PRIiMAX): Likewise.
62606         [C99-based-standards] (PRIoMAX): Likewise.
62607         [C99-based-standards] (PRIuMAX): Likewise.
62608         [C99-based-standards] (PRIxMAX): Likewise.
62609         [C99-based-standards] (PRIXMAX): Likewise.
62610         [C99-based-standards] (SCNdMAX): Likewise.
62611         [C99-based-standards] (SCNiMAX): Likewise.
62612         [C99-based-standards] (SCNoMAX): Likewise.
62613         [C99-based-standards] (SCNuMAX): Likewise.
62614         [C99-based-standards] (SCNxMAX): Likewise.
62615         [C99-based-standards] (PRIdPTR): Likewise.
62616         [C99-based-standards] (PRIiPTR): Likewise.
62617         [C99-based-standards] (PRIoPTR): Likewise.
62618         [C99-based-standards] (PRIuPTR): Likewise.
62619         [C99-based-standards] (PRIxPTR): Likewise.
62620         [C99-based-standards] (PRIXPTR): Likewise.
62621         [C99-based-standards] (SCNdPTR): Likewise.
62622         [C99-based-standards] (SCNiPTR): Likewise.
62623         [C99-based-standards] (SCNoPTR): Likewise.
62624         [C99-based-standards] (SCNuPTR): Likewise.
62625         [C99-based-standards] (SCNxPTR): Likewise.
62626         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
62627         allow.
62628         * conform/data/stdint.h-data: Update comments to clarify
62629         requirements.
62630         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
62631         type.
62632         [C99-based standards] (INT8_MAX): Likewise.
62633         [C99-based standards] (INT16_MIN): Likewise.
62634         [C99-based standards] (INT16_MAX): Likewise.
62635         [C99-based standards] (INT32_MIN): Likewise.
62636         [C99-based standards] (INT32_MAX): Likewise.
62637         [C99-based standards] (INT64_MIN): Likewise.
62638         [C99-based standards] (INT64_MAX): Likewise.
62639         [C99-based standards] (UINT8_MAX): Likewise.
62640         [C99-based standards] (UINT16_MAX): Likewise.
62641         [C99-based standards] (UINT32_MAX): Likewise.
62642         [C99-based standards] (UINT64_MAX): Likewise.
62643         [C99-based standards] (INT_LEAST8_MIN): Likewise.
62644         [C99-based standards] (INT_LEAST8_MAX): Likewise.
62645         [C99-based standards] (INT_LEAST16_MIN): Likewise.
62646         [C99-based standards] (INT_LEAST16_MAX): Likewise.
62647         [C99-based standards] (INT_LEAST32_MIN): Likewise.
62648         [C99-based standards] (INT_LEAST32_MAX): Likewise.
62649         [C99-based standards] (INT_LEAST64_MIN): Likewise.
62650         [C99-based standards] (INT_LEAST64_MAX): Likewise.
62651         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
62652         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
62653         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
62654         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
62655         [C99-based standards] (INT_FAST8_MIN): Likewise.
62656         [C99-based standards] (INT_FAST8_MAX): Likewise.
62657         [C99-based standards] (INT_FAST16_MIN): Likewise.
62658         [C99-based standards] (INT_FAST16_MAX): Likewise.
62659         [C99-based standards] (INT_FAST32_MIN): Likewise.
62660         [C99-based standards] (INT_FAST32_MAX): Likewise.
62661         [C99-based standards] (INT_FAST64_MIN): Likewise.
62662         [C99-based standards] (INT_FAST64_MAX): Likewise.
62663         [C99-based standards] (UINT_FAST8_MAX): Likewise.
62664         [C99-based standards] (UINT_FAST16_MAX): Likewise.
62665         [C99-based standards] (UINT_FAST32_MAX): Likewise.
62666         [C99-based standards] (UINT_FAST64_MAX): Likewise.
62667         [C99-based standards] (INTPTR_MIN): Likewise.
62668         [C99-based standards] (INTPTR_MAX): Likewise.
62669         [C99-based standards] (UINTPTR_MAX): Likewise.
62670         [C99-based standards] (INTMAX_MIN): Likewise.
62671         [C99-based standards] (INTMAX_MAX): Likewise.
62672         [C99-based standards] (UINTMAX_MAX): Likewise.
62673         [C99-based standards] (PTRDIFF_MIN): Likewise.
62674         [C99-based standards] (PTRDIFF_MAX): Likewise.
62675         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
62676         [C99-based standards] (SIZE_MAX): Likewise.
62677         [C99-based standards] (WCHAR_MAX): Likewise.
62678         [C99-based standards] (WINT_MAX): Likewise.
62679         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
62680         constraint on value.
62681         [C99-based standards] (WCHAR_MIN): Likewise.
62682         [C99-based standards] (WINT_MIN): Likewise.
62683         [C99-based standards] (*_t): Allow.
62684         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
62685         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
62686         Include math.h-data and complex.h-data.  Remove all expectations
62687         of math.h and complex.h contents.
62688         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
62689         at end of line.
62690         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
62691         (struct tm): Expect tag.
62692         [C99-based-standards] (wcstof): Expect function.
62693         [C99-based-standards] (wcstold): Likewise.
62694         [C99-based-standards] (wcstoll): Likewise.
62695         [C99-based-standards] (wcstoull): Likewise.
62696         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
62697         macro-int-constant.  Specify type.
62698         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
62699         constraint on value.
62700         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62701         Specify type.
62702         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
62703         Specify value.
62704         [ISO C standards]: Do not allow headers.
62705         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
62706         wcs[abcdefghijklmnopqrstuvwxyz]*.
62707         [ISO C standards] (*_t): Do not allow.
62708         * conform/data/wctype.h-data [C99-based standards] (iswblank):
62709         Expect function.
62710         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
62711         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62712         Specify type.
62713         [ISO C standards]: Do not allow headers.
62714         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
62715         is[abcdefghijklmnopqrstuvwxyz]*.
62716         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
62717         to[abcdefghijklmnopqrstuvwxyz]*.
62718         [ISO C standards] (*_t): Do not allow.
62719         * conform/data/stdalign.h-data: New file.
62720         * conform/data/stdbool.h-data: Likewise.
62721         * conform/data/stdnoreturn.h-data: Likewise.
62723 2012-11-07  Roland McGrath  <roland@hack.frob.com>
62725         [BZ #14815]
62726         * manual/filesys.texi (Directory Entries): Typo fix.
62727         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
62729 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62731         * elf/elf.h (EM_AARCH64): New macro.
62732         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
62733         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
62734         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
62735         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
62736         (R_AARCH64_TLSDESC): Likewise.
62737         (NT_ARM_TLS): Likewise.
62738         (NT_ARM_HW_BREAK): Likewise.
62739         (NT_ARM_HW_WATCH): Likewise.
62741 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62743         [BZ #14811]
62744         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
62745         (__ieee754_powl): Saturate nonzero exponents with absolute value
62746         below 0x1p-79 to +/- 0x1p-79.
62747         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
62748         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
62749         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
62750         nonzero exponents with absolute value below 0x1p-32 to +/-
62751         0x1p-32.
62752         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
62753         (__ieee754_powl): Saturate nonzero exponents with absolute value
62754         below 0x1p-79 to +/- 0x1p-79.
62755         * math/libm-test.inc (pow_test): Add more tests.
62757 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62759         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
62760         _dl_s390_cap_flags with kernel. Increase string length.
62761         (_dl_s390_platforms): Add z196 and zEC12.
62763 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62765         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
62766         Change XOPEN21K to XOPEN2K.
62768 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
62770         * string/memmove.c: Use memcpy when possible.
62772 2012-11-06  Andreas Jaeger  <aj@suse.de>
62774         * po/eo.po: Update from translation team.
62776 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
62778         [BZ #14793]
62779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
62780         exponent and small x and y exponents, scale x or y up.  Increase
62781         by 2 the exponent used in scaling up.
62782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62783         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62784         * math/libm-test.inc (fma_test): Add more tests.
62785         (fma_test_towardzero): Likewise.
62786         (fma_test_downward): Likewise.
62787         (fma_test_upward): Likewise.
62789 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
62791         [BZ #14805]
62792         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
62793         fenv_t *.
62795         [BZ #14801]
62796         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
62797         namespace for names of struct fields.
62798         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
62799         fenv_t fields.
62800         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
62801         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
62803 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62805         [BZ #3665]
62806         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
62808 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
62810         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
62811         PTR_DEMANGLE.
62813         [BZ #5246]
62814         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
62815         PTR_DEMANGLE.
62817 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
62819         [BZ #14797]
62820         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
62821         definitely overflow as x * y not x * y + z.
62822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62823         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62824         * math/libm-test.inc (fma_test): Add more tests.
62825         (fma_test_towardzero): Likewise.
62826         (fma_test_downward): Likewise.
62827         (fma_test_upward): Likewise.
62829 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
62831         [BZ #157]
62833         * include/stub-tag.h: Remove file.
62834         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
62835         '#include' of it.
62836         * manual/maint.texi (Porting): Don't reference it.
62837         * Makerules ($(objpfx)stubs): Likewise.
62838         * dirent/closedir.c: Don't include <stub-tag.h>.
62839         * dirent/dirfd.c: Likewise.
62840         * dirent/fdopendir.c: Likewise.
62841         * dirent/getdents.c: Likewise.
62842         * dirent/getdents64.c: Likewise.
62843         * dirent/opendir.c: Likewise.
62844         * dirent/readdir.c: Likewise.
62845         * dirent/readdir64.c: Likewise.
62846         * dirent/readdir64_r.c: Likewise.
62847         * dirent/readdir_r.c: Likewise.
62848         * dirent/rewinddir.c: Likewise.
62849         * dirent/seekdir.c: Likewise.
62850         * dirent/telldir.c: Likewise.
62851         * gmon/profil.c: Likewise.
62852         * grp/setgroups.c: Likewise.
62853         * inet/if_index.c: Likewise.
62854         * io/access.c: Likewise.
62855         * io/chdir.c: Likewise.
62856         * io/chmod.c: Likewise.
62857         * io/chown.c: Likewise.
62858         * io/close.c: Likewise.
62859         * io/dup.c: Likewise.
62860         * io/dup2.c: Likewise.
62861         * io/dup3.c: Likewise.
62862         * io/euidaccess.c: Likewise.
62863         * io/faccessat.c: Likewise.
62864         * io/fchdir.c: Likewise.
62865         * io/fchmod.c: Likewise.
62866         * io/fchmodat.c: Likewise.
62867         * io/fchown.c: Likewise.
62868         * io/fchownat.c: Likewise.
62869         * io/fcntl.c: Likewise.
62870         * io/flock.c: Likewise.
62871         * io/fstatfs.c: Likewise.
62872         * io/fstatfs64.c: Likewise.
62873         * io/fstatvfs.c: Likewise.
62874         * io/fstatvfs64.c: Likewise.
62875         * io/futimens.c: Likewise.
62876         * io/fxstat.c: Likewise.
62877         * io/fxstat64.c: Likewise.
62878         * io/fxstatat.c: Likewise.
62879         * io/fxstatat64.c: Likewise.
62880         * io/getcwd.c: Likewise.
62881         * io/isatty.c: Likewise.
62882         * io/lchmod.c: Likewise.
62883         * io/lchown.c: Likewise.
62884         * io/link.c: Likewise.
62885         * io/linkat.c: Likewise.
62886         * io/lseek.c: Likewise.
62887         * io/lseek64.c: Likewise.
62888         * io/lxstat64.c: Likewise.
62889         * io/mkdir.c: Likewise.
62890         * io/mkdirat.c: Likewise.
62891         * io/mkfifo.c: Likewise.
62892         * io/mkfifoat.c: Likewise.
62893         * io/open.c: Likewise.
62894         * io/open64.c: Likewise.
62895         * io/openat.c: Likewise.
62896         * io/openat64.c: Likewise.
62897         * io/pipe.c: Likewise.
62898         * io/pipe2.c: Likewise.
62899         * io/poll.c: Likewise.
62900         * io/posix_fadvise.c: Likewise.
62901         * io/posix_fadvise64.c: Likewise.
62902         * io/posix_fallocate.c: Likewise.
62903         * io/posix_fallocate64.c: Likewise.
62904         * io/read.c: Likewise.
62905         * io/readlink.c: Likewise.
62906         * io/readlinkat.c: Likewise.
62907         * io/rmdir.c: Likewise.
62908         * io/sendfile.c: Likewise.
62909         * io/sendfile64.c: Likewise.
62910         * io/statfs.c: Likewise.
62911         * io/statfs64.c: Likewise.
62912         * io/statvfs.c: Likewise.
62913         * io/statvfs64.c: Likewise.
62914         * io/symlink.c: Likewise.
62915         * io/symlinkat.c: Likewise.
62916         * io/ttyname.c: Likewise.
62917         * io/ttyname_r.c: Likewise.
62918         * io/umask.c: Likewise.
62919         * io/unlink.c: Likewise.
62920         * io/unlinkat.c: Likewise.
62921         * io/utime.c: Likewise.
62922         * io/utimensat.c: Likewise.
62923         * io/write.c: Likewise.
62924         * io/xmknod.c: Likewise.
62925         * io/xmknodat.c: Likewise.
62926         * io/xstat.c: Likewise.
62927         * io/xstat64.c: Likewise.
62928         * login/getpt.c: Likewise.
62929         * login/grantpt.c: Likewise.
62930         * login/unlockpt.c: Likewise.
62931         * math/e_acoshl.c: Likewise.
62932         * math/e_acosl.c: Likewise.
62933         * math/e_asinl.c: Likewise.
62934         * math/e_atan2l.c: Likewise.
62935         * math/e_atanhl.c: Likewise.
62936         * math/e_coshl.c: Likewise.
62937         * math/e_expl.c: Likewise.
62938         * math/e_fmodl.c: Likewise.
62939         * math/e_gammal_r.c: Likewise.
62940         * math/e_hypotl.c: Likewise.
62941         * math/e_j0l.c: Likewise.
62942         * math/e_j1l.c: Likewise.
62943         * math/e_jnl.c: Likewise.
62944         * math/e_lgammal_r.c: Likewise.
62945         * math/e_log10l.c: Likewise.
62946         * math/e_log2l.c: Likewise.
62947         * math/e_logl.c: Likewise.
62948         * math/e_powl.c: Likewise.
62949         * math/e_rem_pio2l.c: Likewise.
62950         * math/e_sinhl.c: Likewise.
62951         * math/e_sqrtl.c: Likewise.
62952         * math/fclrexcpt.c: Likewise.
62953         * math/fedisblxcpt.c: Likewise.
62954         * math/feenablxcpt.c: Likewise.
62955         * math/fegetenv.c: Likewise.
62956         * math/fegetexcept.c: Likewise.
62957         * math/fegetround.c: Likewise.
62958         * math/feholdexcpt.c: Likewise.
62959         * math/fesetenv.c: Likewise.
62960         * math/fesetround.c: Likewise.
62961         * math/feupdateenv.c: Likewise.
62962         * math/fgetexcptflg.c: Likewise.
62963         * math/fraiseexcpt.c: Likewise.
62964         * math/fsetexcptflg.c: Likewise.
62965         * math/ftestexcept.c: Likewise.
62966         * math/k_cosl.c: Likewise.
62967         * math/k_rem_pio2l.c: Likewise.
62968         * math/k_sinl.c: Likewise.
62969         * math/k_tanl.c: Likewise.
62970         * math/s_asinhl.c: Likewise.
62971         * math/s_atanl.c: Likewise.
62972         * math/s_cbrtl.c: Likewise.
62973         * math/s_erfl.c: Likewise.
62974         * math/s_expm1l.c: Likewise.
62975         * math/s_log1pl.c: Likewise.
62976         * math/s_tanhl.c: Likewise.
62977         * misc/acct.c: Likewise.
62978         * misc/brk.c: Likewise.
62979         * misc/chflags.c: Likewise.
62980         * misc/chroot.c: Likewise.
62981         * misc/fchflags.c: Likewise.
62982         * misc/fgetxattr.c: Likewise.
62983         * misc/flistxattr.c: Likewise.
62984         * misc/fremovexattr.c: Likewise.
62985         * misc/fsetxattr.c: Likewise.
62986         * misc/fsync.c: Likewise.
62987         * misc/ftruncate.c: Likewise.
62988         * misc/futimes.c: Likewise.
62989         * misc/futimesat.c: Likewise.
62990         * misc/getdomain.c: Likewise.
62991         * misc/getdtsz.c: Likewise.
62992         * misc/gethostid.c: Likewise.
62993         * misc/gethostname.c: Likewise.
62994         * misc/getloadavg.c: Likewise.
62995         * misc/getpagesize.c: Likewise.
62996         * misc/getsysstats.c: Likewise.
62997         * misc/getxattr.c: Likewise.
62998         * misc/gtty.c: Likewise.
62999         * misc/ioctl.c: Likewise.
63000         * misc/lgetxattr.c: Likewise.
63001         * misc/listxattr.c: Likewise.
63002         * misc/llistxattr.c: Likewise.
63003         * misc/lremovexattr.c: Likewise.
63004         * misc/lsetxattr.c: Likewise.
63005         * misc/lutimes.c: Likewise.
63006         * misc/madvise.c: Likewise.
63007         * misc/mincore.c: Likewise.
63008         * misc/mlock.c: Likewise.
63009         * misc/mlockall.c: Likewise.
63010         * misc/mmap.c: Likewise.
63011         * misc/mprotect.c: Likewise.
63012         * misc/msync.c: Likewise.
63013         * misc/munlock.c: Likewise.
63014         * misc/munlockall.c: Likewise.
63015         * misc/munmap.c: Likewise.
63016         * misc/preadv.c: Likewise.
63017         * misc/preadv64.c: Likewise.
63018         * misc/ptrace.c: Likewise.
63019         * misc/pwritev.c: Likewise.
63020         * misc/pwritev64.c: Likewise.
63021         * misc/readv.c: Likewise.
63022         * misc/reboot.c: Likewise.
63023         * misc/remap_file_pages.c: Likewise.
63024         * misc/removexattr.c: Likewise.
63025         * misc/revoke.c: Likewise.
63026         * misc/select.c: Likewise.
63027         * misc/setdomain.c: Likewise.
63028         * misc/setegid.c: Likewise.
63029         * misc/seteuid.c: Likewise.
63030         * misc/sethostid.c: Likewise.
63031         * misc/sethostname.c: Likewise.
63032         * misc/setregid.c: Likewise.
63033         * misc/setreuid.c: Likewise.
63034         * misc/setxattr.c: Likewise.
63035         * misc/sstk.c: Likewise.
63036         * misc/stty.c: Likewise.
63037         * misc/swapoff.c: Likewise.
63038         * misc/swapon.c: Likewise.
63039         * misc/sync.c: Likewise.
63040         * misc/syncfs.c: Likewise.
63041         * misc/syscall.c: Likewise.
63042         * misc/truncate.c: Likewise.
63043         * misc/ualarm.c: Likewise.
63044         * misc/usleep.c: Likewise.
63045         * misc/ustat.c: Likewise.
63046         * misc/utimes.c: Likewise.
63047         * misc/vhangup.c: Likewise.
63048         * misc/writev.c: Likewise.
63049         * posix/_exit.c: Likewise.
63050         * posix/alarm.c: Likewise.
63051         * posix/execve.c: Likewise.
63052         * posix/fexecve.c: Likewise.
63053         * posix/fork.c: Likewise.
63054         * posix/fpathconf.c: Likewise.
63055         * posix/getaddrinfo.c: Likewise.
63056         * posix/getegid.c: Likewise.
63057         * posix/geteuid.c: Likewise.
63058         * posix/getgid.c: Likewise.
63059         * posix/getgroups.c: Likewise.
63060         * posix/getlogin.c: Likewise.
63061         * posix/getlogin_r.c: Likewise.
63062         * posix/getpgid.c: Likewise.
63063         * posix/getpid.c: Likewise.
63064         * posix/getppid.c: Likewise.
63065         * posix/getresgid.c: Likewise.
63066         * posix/getresuid.c: Likewise.
63067         * posix/getsid.c: Likewise.
63068         * posix/getuid.c: Likewise.
63069         * posix/glob64.c: Likewise.
63070         * posix/nanosleep.c: Likewise.
63071         * posix/pathconf.c: Likewise.
63072         * posix/pause.c: Likewise.
63073         * posix/posix_madvise.c: Likewise.
63074         * posix/pread.c: Likewise.
63075         * posix/pread64.c: Likewise.
63076         * posix/pwrite.c: Likewise.
63077         * posix/pwrite64.c: Likewise.
63078         * posix/sched_getaffinity.c: Likewise.
63079         * posix/sched_getp.c: Likewise.
63080         * posix/sched_gets.c: Likewise.
63081         * posix/sched_primax.c: Likewise.
63082         * posix/sched_primin.c: Likewise.
63083         * posix/sched_rr_gi.c: Likewise.
63084         * posix/sched_setaffinity.c: Likewise.
63085         * posix/sched_setp.c: Likewise.
63086         * posix/sched_sets.c: Likewise.
63087         * posix/sched_yield.c: Likewise.
63088         * posix/setgid.c: Likewise.
63089         * posix/setlogin.c: Likewise.
63090         * posix/setpgid.c: Likewise.
63091         * posix/setresgid.c: Likewise.
63092         * posix/setresuid.c: Likewise.
63093         * posix/setsid.c: Likewise.
63094         * posix/setuid.c: Likewise.
63095         * posix/sleep.c: Likewise.
63096         * posix/spawni.c: Likewise.
63097         * posix/sysconf.c: Likewise.
63098         * posix/times.c: Likewise.
63099         * posix/wait.c: Likewise.
63100         * posix/wait3.c: Likewise.
63101         * posix/wait4.c: Likewise.
63102         * posix/waitpid.c: Likewise.
63103         * resolv/gai_sigqueue.c: Likewise.
63104         * resource/getpriority.c: Likewise.
63105         * resource/getrlimit.c: Likewise.
63106         * resource/getrusage.c: Likewise.
63107         * resource/nice.c: Likewise.
63108         * resource/setpriority.c: Likewise.
63109         * resource/setrlimit.c: Likewise.
63110         * resource/ulimit.c: Likewise.
63111         * rt/aio_cancel.c: Likewise.
63112         * rt/aio_fsync.c: Likewise.
63113         * rt/aio_read.c: Likewise.
63114         * rt/aio_sigqueue.c: Likewise.
63115         * rt/aio_suspend.c: Likewise.
63116         * rt/aio_write.c: Likewise.
63117         * rt/clock_getres.c: Likewise.
63118         * rt/clock_gettime.c: Likewise.
63119         * rt/clock_nanosleep.c: Likewise.
63120         * rt/clock_settime.c: Likewise.
63121         * rt/lio_listio.c: Likewise.
63122         * rt/mq_close.c: Likewise.
63123         * rt/mq_getattr.c: Likewise.
63124         * rt/mq_notify.c: Likewise.
63125         * rt/mq_open.c: Likewise.
63126         * rt/mq_receive.c: Likewise.
63127         * rt/mq_send.c: Likewise.
63128         * rt/mq_setattr.c: Likewise.
63129         * rt/mq_timedreceive.c: Likewise.
63130         * rt/mq_timedsend.c: Likewise.
63131         * rt/mq_unlink.c: Likewise.
63132         * rt/shm_open.c: Likewise.
63133         * rt/shm_unlink.c: Likewise.
63134         * rt/timer_create.c: Likewise.
63135         * rt/timer_delete.c: Likewise.
63136         * rt/timer_getoverr.c: Likewise.
63137         * rt/timer_gettime.c: Likewise.
63138         * rt/timer_settime.c: Likewise.
63139         * setjmp/__longjmp.c: Likewise.
63140         * setjmp/setjmp.c: Likewise.
63141         * signal/kill.c: Likewise.
63142         * signal/killpg.c: Likewise.
63143         * signal/raise.c: Likewise.
63144         * signal/sigaction.c: Likewise.
63145         * signal/sigaltstack.c: Likewise.
63146         * signal/sigblock.c: Likewise.
63147         * signal/sigignore.c: Likewise.
63148         * signal/sigintr.c: Likewise.
63149         * signal/signal.c: Likewise.
63150         * signal/sigpause.c: Likewise.
63151         * signal/sigpending.c: Likewise.
63152         * signal/sigqueue.c: Likewise.
63153         * signal/sigreturn.c: Likewise.
63154         * signal/sigset.c: Likewise.
63155         * signal/sigsetmask.c: Likewise.
63156         * signal/sigstack.c: Likewise.
63157         * signal/sigsuspend.c: Likewise.
63158         * signal/sigtimedwait.c: Likewise.
63159         * signal/sigvec.c: Likewise.
63160         * signal/sigwait.c: Likewise.
63161         * signal/sigwaitinfo.c: Likewise.
63162         * signal/sysv_signal.c: Likewise.
63163         * socket/accept.c: Likewise.
63164         * socket/accept4.c: Likewise.
63165         * socket/bind.c: Likewise.
63166         * socket/connect.c: Likewise.
63167         * socket/getpeername.c: Likewise.
63168         * socket/getsockname.c: Likewise.
63169         * socket/getsockopt.c: Likewise.
63170         * socket/isfdtype.c: Likewise.
63171         * socket/listen.c: Likewise.
63172         * socket/recv.c: Likewise.
63173         * socket/recvfrom.c: Likewise.
63174         * socket/recvmsg.c: Likewise.
63175         * socket/send.c: Likewise.
63176         * socket/sendmsg.c: Likewise.
63177         * socket/sendto.c: Likewise.
63178         * socket/setsockopt.c: Likewise.
63179         * socket/shutdown.c: Likewise.
63180         * socket/sockatmark.c: Likewise.
63181         * socket/socket.c: Likewise.
63182         * socket/socketpair.c: Likewise.
63183         * stdio-common/ctermid.c: Likewise.
63184         * stdio-common/cuserid.c: Likewise.
63185         * stdio-common/remove.c: Likewise.
63186         * stdio-common/rename.c: Likewise.
63187         * stdio-common/renameat.c: Likewise.
63188         * stdio-common/tempname.c: Likewise.
63189         * stdlib/getcontext.c: Likewise.
63190         * stdlib/makecontext.c: Likewise.
63191         * stdlib/setcontext.c: Likewise.
63192         * stdlib/swapcontext.c: Likewise.
63193         * stdlib/system.c: Likewise.
63194         * streams/fattach.c: Likewise.
63195         * streams/fdetach.c: Likewise.
63196         * streams/getmsg.c: Likewise.
63197         * streams/getpmsg.c: Likewise.
63198         * streams/putmsg.c: Likewise.
63199         * streams/putpmsg.c: Likewise.
63200         * sysdeps/unix/bsd/getpt.c: Likewise.
63201         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63202         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63203         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63205         Likewise.
63206         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63207         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63208         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63209         * sysvipc/msgctl.c: Likewise.
63210         * sysvipc/msgget.c: Likewise.
63211         * sysvipc/msgrcv.c: Likewise.
63212         * sysvipc/msgsnd.c: Likewise.
63213         * sysvipc/semctl.c: Likewise.
63214         * sysvipc/semget.c: Likewise.
63215         * sysvipc/semop.c: Likewise.
63216         * sysvipc/semtimedop.c: Likewise.
63217         * sysvipc/shmat.c: Likewise.
63218         * sysvipc/shmctl.c: Likewise.
63219         * sysvipc/shmdt.c: Likewise.
63220         * sysvipc/shmget.c: Likewise.
63221         * termios/tcdrain.c: Likewise.
63222         * termios/tcflow.c: Likewise.
63223         * termios/tcflush.c: Likewise.
63224         * termios/tcgetattr.c: Likewise.
63225         * termios/tcgetpgrp.c: Likewise.
63226         * termios/tcsendbrk.c: Likewise.
63227         * termios/tcsetattr.c: Likewise.
63228         * termios/tcsetpgrp.c: Likewise.
63229         * time/adjtime.c: Likewise.
63230         * time/clock.c: Likewise.
63231         * time/getitimer.c: Likewise.
63232         * time/gettimeofday.c: Likewise.
63233         * time/setitimer.c: Likewise.
63234         * time/settimeofday.c: Likewise.
63235         * time/stime.c: Likewise.
63236         * time/time.c: Likewise.
63238 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
63240         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
63241         /usr/old/bin.
63243         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
63244         instead of spaces.
63245         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
63247 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
63249         [BZ #14796]
63250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
63251         FE_TONEAREST before applying Dekker multiplication and Knuth
63252         addition.  Clear inexact exceptions and check for exact zero
63253         results afterwards.
63254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63255         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63256         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63257         * math/libm-test.inc (fma_test): Add more tests.
63258         (fma_test_towardzero): Likewise.
63259         (fma_test_downward): Likewise.
63260         (fma_test_upward): Likewise.
63261         * sysdeps/generic/math_private.h (default_libc_fesetround): New
63262         function.
63263         (libc_fesetround): New macro.
63264         (libc_fesetroundf): Likewise.
63265         (libc_fesetroundl): Likewise.
63266         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
63267         function.
63268         (libc_fesetround_387): Likewise.
63269         (libc_fesetroundf): New macro.
63270         (libc_fesetround): Likewise.
63271         (libc_fesetroundl): Likewise.
63272         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
63273         function.
63274         (libc_fesetroundf): New macro.
63275         (libc_fesetround): Likewise.
63276         (libc_fesetroundl): Likewise.
63277         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
63278         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
63279         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
63280         libm_hidden_ver.
63281         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
63282         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
63283         libm_hidden_def.
63284         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
63285         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
63286         libm_hidden_ver.
63287         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
63288         libm_hidden_def.
63290         [BZ #3439]
63291         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
63292         integer constant usable in #if and use that to give value to enum
63293         constant.
63294         (FE_DIVBYZERO): Likewise.
63295         (FE_UNDERFLOW): Likewise.
63296         (FE_OVERFLOW): Likewise.
63297         (FE_INVALID): Likewise.
63298         (FE_INVALID_SNAN): Likewise.
63299         (FE_INVALID_ISI): Likewise.
63300         (FE_INVALID_IDI): Likewise.
63301         (FE_INVALID_ZDZ): Likewise.
63302         (FE_INVALID_IMZ): Likewise.
63303         (FE_INVALID_COMPARE): Likewise.
63304         (FE_INVALID_SOFTWARE): Likewise.
63305         (FE_INVALID_SQRT): Likewise.
63306         (FE_INVALID_INTEGER_CONVERSION): Likewise.
63307         (FE_TONEAREST): Likewise.
63308         (FE_TOWARDZERO): Likewise.
63309         (FE_UPWARD): Likewise.
63310         (FE_DOWNWARD): Likewise.
63311         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
63312         (FE_DIVBYZERO): Likewise.
63313         (FE_OVERFLOW): Likewise.
63314         (FE_UNDERFLOW): Likewise.
63315         (FE_INEXACT): Likewise.
63316         (FE_TONEAREST): Likewise.
63317         (FE_DOWNWARD): Likewise.
63318         (FE_UPWARD): Likewise.
63319         (FE_TOWARDZERO): Likewise.
63320         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
63321         (FE_UNDERFLOW): Likewise.
63322         (FE_OVERFLOW): Likewise.
63323         (FE_DIVBYZERO): Likewise.
63324         (FE_INVALID): Likewise.
63325         (FE_TONEAREST): Likewise.
63326         (FE_TOWARDZERO): Likewise.
63327         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
63328         (FE_OVERFLOW): Likewise.
63329         (FE_UNDERFLOW): Likewise.
63330         (FE_DIVBYZERO): Likewise.
63331         (FE_INEXACT): Likewise.
63332         (FE_TONEAREST): Likewise.
63333         (FE_TOWARDZERO): Likewise.
63334         (FE_UPWARD): Likewise.
63335         (FE_DOWNWARD): Likewise.
63336         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
63337         (FE_DIVBYZERO): Likewise.
63338         (FE_OVERFLOW): Likewise.
63339         (FE_UNDERFLOW): Likewise.
63340         (FE_INEXACT): Likewise.
63341         (FE_TONEAREST): Likewise.
63342         (FE_DOWNWARD): Likewise.
63343         (FE_UPWARD): Likewise.
63344         (FE_TOWARDZERO): Likewise.
63346 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
63348         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
63350 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
63352         * scripts/cross-test-ssh.sh (command): Use newlines to separate
63353         commands.  Quote $PWD.
63354         (blacklist_exports): Don't use remove_newlines.  Replace "declare
63355         -x" by "export".
63356         (remove_newlines): Remove.
63358 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
63360         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
63361         * stdlib/stdlib.h (atof): Moved to ...
63362         * include/bits/stdlib-float.h: Here.  New file.
63363         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
63364         * stdlib/bits/stdlib-float.h: New file.
63365         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
63366         -mno-sse -mno-mmx.
63367         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
63368         <xmmintrin.h>.
63370 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
63372         * conform/conformtest.pl (@headers): Add fenv.h.
63373         * conform/data/fenv.h-data: New file.
63374         * include/fenv.h [_ISOMAC]: Disable all contents of file except
63375         include of <math/fenv.h>.
63377         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
63378         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
63379         && !UNIX98].  Enables tests for XOPEN2K8.
63380         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
63381         POSIX2008]: Likewise.
63383         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
63384         (struct rusage): Do not expect type or its members.
63386         [BZ #3439]
63387         * math/math.h (FP_NAN): Define macro to integer constant usable in
63388         #if and use that to give value to enum constant.
63389         (FP_INFINITE): Likewise.
63390         (FP_ZERO): Likewise.
63391         (FP_SUBNORMAL): Likewise.
63392         (FP_NORMAL): Likewise.
63394 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
63396         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
63397         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
63398         arguments.
63400 2012-11-02  Roland McGrath  <roland@hack.frob.com>
63402         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
63403         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
63404         autoconf-time if not.
63405         * configure.in: Remove AC_PREREQ.
63407 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63409         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
63410         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
63411         of the internal implementation.
63413 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
63415         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
63416         except include of <misc/sys/syslog.h>.
63418 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
63421         function returns with a NULL context exit with zero.
63423 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63425         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
63427 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
63429         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
63430         (run_program_cmd): This.
63431         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
63432         (tst_langinfo): New variable.  Use it.
63434 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
63436         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
63437         floating point opcodes.
63439 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
63441         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
63442         variable.
63444         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
63446         * sysdeps/mach/hurd/powerpc: Remove directory.
63447         * sysdeps/mach/powerpc: Likewise.
63449 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63451         * scripts/check-local-headers.sh: Ignore c++ headers.
63453 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
63455         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
63456         __libc_cleanup_region_start argument.
63458 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
63460         [BZ #14784]
63461         [BZ #14785]
63462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
63463         x * y using scaling, not as x * y + z.
63464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63466         * math/libm-test.inc (fma_test): Add more tests.
63467         (fma_test_towardzero): Likewise.
63468         (fma_test_downward): Likewise.
63469         (fma_test_upward): Likewise.
63471 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
63473         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
63475 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
63477         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
63478         New variable.
63480 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
63482         * rt/tst-shm.c (worker): Correct checking for mmap failure.
63484 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
63486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63487         Fix sort order.
63488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63489         Likewise.
63491 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63494         Fix the order of the list for glibc 2.17.
63495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63496         Likewise.
63498 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
63500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63502 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
63504         [BZ #14610]
63505         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
63506         for low part of x being zero before using __atanl (y).
63507         * math/libm-test.inc (atan2_test): Add another test.
63509         * manual/install.texi (Configuring and compiling): Document
63510         general use of test-wrapper and test-wrapper-env.
63511         * INSTALL: Regenerated.
63513         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
63514         (__fma): Do not extract and scale down low bits on after-rounding
63515         systems when result rounded to normal precision would have normal
63516         exponent.
63517         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
63518         (__fmal): Do not extract and scale down low bits on after-rounding
63519         systems when result rounded to normal precision would have normal
63520         exponent.
63521         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
63522         (__fmal): Do not extract and scale down low bits on after-rounding
63523         systems when result rounded to normal precision would have normal
63524         exponent.
63525         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
63526         macro.
63527         (fma_test): Add more tests.
63528         (fma_test_towardzero): Likewise.
63529         (fma_test_downward): Likewise.
63530         (fma_test_upward): Likewise.
63532 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
63534         * sysdeps/i386/tininess.h: Renamed to ...
63535         * sysdeps/x86/tininess.h: This.
63536         * sysdeps/x86_64/tininess.h: Removed.
63538 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
63540         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
63541         input.  Use $(build-program-cmd).
63542         ($(objpfx)tst-array1-static.out): Likewise.
63543         ($(objpfx)tst-array2.out): Likewise.
63544         ($(objpfx)tst-array3.out): Likewise.
63545         ($(objpfx)tst-array4.out): Likewise.
63546         ($(objpfx)tst-array5.out): Likewise.
63547         ($(objpfx)tst-array5-static.out): Likewise.
63549 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
63551         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
63552         if defined.
63554         * nss/nsswitch.h (nss_interface_function): Provide new
63555         macro for use with NSS functions.
63556         * grp/initgroups.c: Use new macro.
63557         * nss/getXXbyYY.c: Likewise.
63558         * nss/getXXbyYY_r.c: Likewise.
63559         * nss/getXXent.c: Likewise.
63560         * nss/getXXent_r.c: Likewise.
63561         * sysdeps/posix/getaddrinfo.c: Likewise.
63563 2012-10-30  Andreas Jaeger  <aj@suse.de>
63565         * po/ru.po: Update Russion translation from translation project.
63567 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
63569         [BZ #14152]
63570         [BZ #14783]
63571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
63572         result and shift together with sticky bit instead of replicating
63573         round-to-nearest rounding.
63574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63576         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
63577         missing underflow exceptions.
63578         (fma_test_towardzero): Add more tests.
63579         (fma_test_downward): Likewise.
63580         (fma_test_upward): Likewise.
63582         [BZ #14047]
63583         * sysdeps/generic/tininess.h: New file.
63584         * sysdeps/i386/tininess.h: Likewise.
63585         * sysdeps/sh/tininess.h: Likewise.
63586         * sysdeps/x86_64/tininess.h: Likewise.
63587         * stdlib/tst-strtod-underflow.c: Likewise.
63588         * stdlib/tst-tininess.c: Likewise.
63589         * stdlib/strtod_l.c: Include <tininess.h>.
63590         (round_and_return): Do not set errno for exact underflow cases.
63591         Force an underflow exception when setting errno for underflow.
63592         Determine underflow based on rounding to normal precision if
63593         TININESS_AFTER_ROUNDING.
63594         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
63595         ERANGE for exact underflow cases.
63596         * stdlib/Makefile (tests): Add tst-tininess and
63597         tst-strtod-underflow.
63598         ($(objpfx)tst-tininess): Use $(link-libm).
63599         ($(objpfx)tst-strtod-underflow): Likewise.
63601 2012-10-30  Andreas Jaeger  <aj@suse.de>
63603         [BZ#14767]
63604         * elf/Makefile (tests): Remove conditional for have-initfini-array
63605         since this is now always required and the variable does not exist
63606         anymore.
63607         (tests-static): Likewise.
63608         (modules-names): Likewise.
63610         * po/eo.po: Add Esperanto translation from translation project.
63612         * elf/tst-array1.c (fini_array): Make writeable so that it can be
63613         merged with constructor/destructor.
63614         (init_array): Likewise.
63615         * elf/tst-array2dep.c (fini_array): Likewise.
63616         (init_array): Likewise.
63618 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
63620         * manual/message.texi: Delete @cartouche tags.
63622 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
63624         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
63625         EOPNOTSUPP.
63626         * sysdeps/mach/hurd/fsync.c: Likewise.
63628         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
63629         [_POSIX_REALTIME_SIGNALS]: Change condition to
63630         [_POSIX_REALTIME_SIGNALS > 0].
63632 2012-10-27  Andreas Jaeger  <aj@suse.de>
63634         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
63635         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
63636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
63637         [__WORDSIZE != 64]: Likewise.
63639 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
63641         *  iconvdata/tst-table.sh: Remove ${SHELL}.
63642         *  iconvdata/tst-tables.sh: Likewise.
63644 2012-10-25  David S. Miller  <davem@davemloft.net>
63646         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63647         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
63648         of strtoull.
63650         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
63651         ifunc-impl-list.c
63652         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63653         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
63654         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
63655         file.
63657 2012-10-25  Roland McGrath  <roland@hack.frob.com>
63659         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63660         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
63661         __getdirentries.
63663 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
63664             Jim Blandy  <jimb@codesourcery.com>
63666         * scripts/cross-test-ssh.sh: New file.
63667         * manual/install.texi (Configuring and compiling): Document use of
63668         cross-test-ssh.sh.
63669         * INSTALL: Regenerated.
63671 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
63673         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
63674         EOPNOTSUPP.
63676 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
63678         * Makeconfig (run-program-prefix): Fix comment.
63680 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
63681             Jim Blandy  <jimb@codesourcery.com>
63683         * Makeconfig (test-wrapper): New variable,
63684         (test-wrapper-env): Likewise.
63685         [$(cross-compiling) = yes && $(test-wrapper) != ""]
63686         (run-built-tests): Define to yes.
63687         (run-program-prefix): Use $(test-wrapper).
63688         (built-program-cmd): Likewise.
63689         * Rules (make-test-out): Use $(test-wrapper-env) and
63690         $(host-built-program-cmd).
63691         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
63692         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
63693         tst-pathopt.sh.
63694         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
63695         $(test-wrapper-env) to tst-rtld-load-self.sh.
63696         ($(objpfx)order2.out): Use $(test-wrapper).
63697         ($(objpfx)tst-initorder.out): Likewise.
63698         ($(objpfx)tst-initorder2.out): Likewise.
63699         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
63700         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
63701         (test_wrapper_env): New variable.  Use it to run ld.so.
63702         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
63703         Use it to run ld.so.
63704         (test_wrapper_env): Likewise.
63705         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
63706         $(test-wrapper) to run-iconv-test.sh.
63707         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
63708         (ICONV): Use $test_wrapper.
63709         * posix/Makefile ($(objpfx)globtest.out): Pass
63710         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
63711         globtest.sh, not $(run-program-prefix).
63712         * posix/globtest.sh (run_via_rtld_prefix): New variable.
63713         (test_wrapper): Likewise.
63714         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
63715         set together with run_via_rtld_prefix.
63716         (run_program_prefix): Define in terms of test_wrapper and
63717         run_via_rtld_prefix.
63719 2012-10-24  Roland McGrath  <roland@hack.frob.com>
63721         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
63722         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
63723         Targets removed.
63725         [BZ #14743]
63726         * include/time.h: Remove librt_hidden_proto (clock_gettime).
63727         Declare __clock_getres, __clock_gettime, __clock_settime,
63728         __clock_nanosleep, and __clock_getcpuclockid.
63729         * rt/clock_gettime.c: Define __clock_gettime as an alias.
63730         Remove librt_hidden_def (clock_gettime).
63731         * sysdeps/unix/clock_gettime.c: Likewise.
63732         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
63733         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
63734         * rt/clock_getres.c: Define __clock_getres as an alias.
63735         * sysdeps/posix/clock_getres.c: Likewise.
63736         * rt/clock_settime.c: Define __clock_settime as an alias.
63737         * sysdeps/unix/clock_settime.c: Likewise.
63738         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
63739         * sysdeps/unix/clock_nanosleep.c: Likewise.
63740         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
63741         * rt/clock-compat.c: New file.
63742         * rt/Makefile (librt-routines): Add clock-compat and move
63743         $(clock-routines) to ...
63744         (routines): ... here, new variable.
63745         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
63746         Don't add get_clockfreq here.
63747         * rt/Versions (libc: GLIBC_2.17): New version set.
63748         Add clock_* symbols here.
63749         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
63750         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
63751         (GLIBC_2.17): Add clock_* symbols.
63752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63754         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63756         Likewise.
63757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63758         Likewise.
63759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63763         * NEWS: Mention the move.
63765         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
63766         Use __open, __read, __close rather than their public counterparts.
63767         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63768         (__get_clockfreq_via_cpuinfo): Likewise.
63769         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
63770         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
63772         * config.h.in (HAVE_IFUNC): New #undef.
63773         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
63774         was successful.
63775         * configure: Regenerated.
63777 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
63779         * configure.in: Move READELF check to start of file.
63780         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
63781         libc_cv_asm_gnu_indirect_function in the process.
63782         * configure: Regenerated.
63784 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
63786         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
63787         send the output to /dev/null.
63788         (libc_cv_cc_with_libunwind): Likewise.
63789         (libc_cv_as_noexecstack): Likewise.
63790         * configure: Regenerate.
63792 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
63794         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
63796         * posix/globtest.sh (TMPDIR): Do not set.
63797         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
63798         (testout): Likewise.
63800 2012-10-24  Andreas Jaeger  <aj@suse.de>
63802         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
63803         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
63804         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
63805         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
63806         posix_fadvise64, posix_fallocate64.
63808         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
63809         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
63810         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
63811         Likewise.
63812         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
63813         Likewise.
63814         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
63816         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
63817         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
63818         <bits/fcntl-linux.h>.
63819         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
63821         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
63822         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
63823         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
63824         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
63825         [__WORDSIZE != 64]: Likewise.
63827 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
63829         * Makeconfig (run-built-tests): New variable.
63830         * Rules [$(cross-compiling) = yes]: Change condition to
63831         [$(run-built-tests) = no].
63832         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
63833         to [$(run-built-tests) = yes].
63834         * elf/Makefile [$(cross-compiling) = no]: Likewise.
63835         * grp/Makefile [$(cross-compiling) = no]: Likewise.
63836         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
63837         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
63838         * intl/Makefile [$(cross-compiling) = no]: Likewise.
63839         * io/Makefile [$(cross-compiling) = no]: Likewise.
63840         * libio/Makefile [$(cross-compiling) = no]: Likewise.
63841         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
63842         * misc/Makefile [$(cross-compiling) = no]: Likewise.
63843         * posix/Makefile [$(cross-compiling) = no]: Likewise.
63844         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
63845         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
63846         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
63847         * string/Makefile [$(cross-compiling) = no]: Likewise.
63849         * posix/Makefile ($(objpfx)globtest.out): Pass
63850         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
63851         $(rtld-installed-name).
63852         * posix/globtest.sh (elf_objpfx): Remove variable.
63853         (rtld_installed_name): Likewise.
63854         (library_path): Likewise.
63855         (run_program_prefix): New variable.  Use for running globtest
63856         binary.
63858 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
63859             Joseph Myers  <joseph@codesourcery.com>
63861         * Makeconfig (host-built-program-cmd): New variable.
63862         * elf/Makefile (tst-stackguard1-ARGS): Use
63863         $(host-built-program-cmd).
63864         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
63865         (tst-spawn-ARGS): Likewise.
63866         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
63868 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
63869             Jim Blandy  <jimb@codesourcery.com>
63871         * Makeconfig (run-via-rtld-prefix): New variable.
63872         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
63873         (built-program-cmd): Likewise.
63875 2012-10-22  Andreas Jaeger  <aj@suse.de>
63877         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
63878         __O_RSYNC if it exists, otherwise to O_SYNC.
63880 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
63881             Joseph Myers  <joseph@codesourcery.com>
63883         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
63884         /dev/null.
63885         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
63886         from /dev/null
63887         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
63888         /dev/null.
63890 2012-10-22  Andreas Jaeger  <aj@suse.de>
63892         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
63893         Define always.
63894         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
63896         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63897         bits/fcntl-linux.h.
63899         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
63900         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
63902         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
63903         to __O_LARGEFILE.
63904         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
63905         to __O_LARGEFILE.
63907 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
63908             Joseph Myers  <joseph@codesourcery.com>
63910         * config.make.in (NM): New variable.
63912 2012-10-21  Andreas Jaeger  <aj@suse.de>
63914         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
63915         definitions and declarations that are provided by
63916         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63918 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63920         [BZ #14683]
63921         * elf/Makefile (tests-static): Add tst-leaks1-static.
63922         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
63923         ($(objpfx)tst-leaks1-static): New rule.
63924         ($(objpfx)tst-leaks1-static-mem): Likewise.
63925         (tst-leaks1-static-ENV): New macro.
63926         * elf/dl-open.c (dl_open_worker): Check the main application
63927         only if SHARED is defined.
63928         * elf/tst-leaks1-static.c: New file.
63930 2012-10-20  Andreas Jaeger  <aj@suse.de>
63932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
63933         generic values for Linux.
63934         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
63935         and declarations that are provided by <bits/fcntl-linux.h> and
63936         include <bits/fcntl-linux.h>.
63937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63938         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63940 2012-10-20  Roland McGrath  <roland@hack.frob.com>
63942         * io/fcntl.h: Move include of <bits/types.h> to the top and
63943         include it unconditionally.
63945 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63947         * wcsmbs/Makefile (tests-ifunc): New variable.
63948         (tests): Add $(tests-ifunc).
63949         * wcsmbs/test-wcschr-ifunc.c: New file.
63950         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63951         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63952         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63953         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63954         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63956         * string/Makefile (tests-ifunc): New variable.
63957         (tests): Add $(tests-ifunc).
63958         * string/test-memccpy.c (TEST_NAME): New macro.
63959         * string/test-memchr.c (TEST_NAME): Likewise.
63960         * string/test-memcmp.c (TEST_NAME): Likewise.
63961         * string/test-memcpy.c (TEST_NAME): Likewise.
63962         * string/test-memmem.c (TEST_NAME): Likewise.
63963         * string/test-memmove.c (TEST_NAME): Likewise.
63964         * string/test-memset.c (TEST_NAME): Likewise.
63965         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63966         * string/test-stpcpy.c (TEST_NAME): Likewise.
63967         * string/test-stpncpy.c (TEST_NAME): Likewise.
63968         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63969         * string/test-strcasestr.c (TEST_NAME): Likewise.
63970         * string/test-strcat.c (TEST_NAME): Likewise.
63971         * string/test-strchr.c (TEST_NAME): Likewise.
63972         * string/test-strcmp.c(TEST_NAME): Likewise.
63973         * string/test-strcpy.c (TEST_NAME): Likewise.
63974         * string/test-strcspn.c (TEST_NAME): Likewise.
63975         * string/test-strlen.c (TEST_NAME): Likewise.
63976         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63977         * string/test-strncmp.c (TEST_NAME): Likewise.
63978         * string/test-strncpy.c (TEST_NAME): Likewise.
63979         * string/test-strnlen.c (TEST_NAME): Likewise.
63980         * string/test-strpbrk.c (TEST_NAME): Likewise.
63981         * string/test-strrchr.c (TEST_NAME): Likewise.
63982         * string/test-strspn.c (TEST_NAME): Likewise.
63983         * string/test-strstr.c (TEST_NAME): Likewise.
63984         * string/test-bcopy-ifunc.c: New file.
63985         * string/test-bzero-ifunc.c: Likewise.
63986         * string/test-memccpy-ifunc.c: Likewise.
63987         * string/test-memchr-ifunc.c: Likewise.
63988         * string/test-memcmp-ifunc.c: Likewise.
63989         * string/test-memcpy-ifunc.c: Likewise.
63990         * string/test-memmem-ifunc.c: Likewise.
63991         * string/test-memmove-ifunc.c: Likewise.
63992         * string/test-mempcpy-ifunc.c: Likewise.
63993         * string/test-memset-ifunc.c: Likewise.
63994         * string/test-rawmemchr-ifunc.c: Likewise.
63995         * string/test-stpcpy-ifunc.c: Likewise.
63996         * string/test-stpncpy-ifunc.c: Likewise.
63997         * string/test-strcasecmp-ifunc.c: Likewise.
63998         * string/test-strcasestr-ifunc.c: Likewise.
63999         * string/test-strcat-ifunc.c: Likewise.
64000         * string/test-strchr-ifunc.c: Likewise.
64001         * string/test-strchrnul-ifunc.c: Likewise.
64002         * string/test-strcmp-ifunc.c: Likewise.
64003         * string/test-strcpy-ifunc.c: Likewise.
64004         * string/test-strcspn-ifunc.c: Likewise.
64005         * string/test-strlen-ifunc.c: Likewise.
64006         * string/test-strncasecmp-ifunc.c: Likewise.
64007         * string/test-strncat-ifunc.c: Likewise.
64008         * string/test-strncmp-ifunc.c: Likewise.
64009         * string/test-strncpy-ifunc.c: Likewise.
64010         * string/test-strnlen-ifunc.c: Likewise.
64011         * string/test-strpbrk-ifunc.c: Likewise.
64012         * string/test-strrchr-ifunc.c: Likewise.
64013         * string/test-strspn-ifunc.c: Likewise.
64014         * string/test-strstr-ifunc.c: Likewise.
64016         * debug/Makefile (tests-ifunc): New variable.
64017         (tests): Add $(tests-ifunc).
64018         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64019         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64020         * debug/test-stpcpy_chk-ifunc.c: New file.
64021         * debug/test-strcpy_chk-ifunc.c: Likewise.
64023 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64025         [BZ #13601]
64026         * elf/dl-load.c (open_verify): Retry read if the entire ELF
64027         header is not read in.
64029 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
64031         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
64032         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
64033         directly.  Pass built executable to script as
64034         $(built-program-cmd).
64035         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
64036         $testprogram without using LD_LIBRARY_PATH and $ldso.
64038         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64039         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64040         $(rtld-installed-name).
64041         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64042         (rtld_installed_name): Likewise.
64043         (library_path): Likewise.
64044         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
64045         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64046         $(run-program-prefix) to tst-tables.sh.
64047         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
64048         it to run tst-table-from and tst-table-to.
64049         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64050         Pass it to tst-table.sh.
64051         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64052         $(run-program-prefix) to tst-gettext.sh.
64053         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64054         tst-translit.sh.
64055         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64056         tst-gettext2.sh.
64057         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
64058         to run tst-gettext.
64059         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
64060         to run tst-gettext2.
64061         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
64062         to run tst-translit.
64063         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64064         $(run-program-prefix) to tst-mtrace.sh.
64065         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
64066         to run tst-mtrace.
64067         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64068         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64069         $(rtld-installed-name).
64070         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64071         (rtld_installed_name): Likewise.
64072         (run_program_prefix): New variable.  Use it to run wordexp-test.
64074         * Makeconfig (ARCH): Remove all definitions.
64075         (machine): Likewise.
64076         [ARCH]: Remove conditional code.
64077         [!objdir]: Give error.
64078         [!objdir] (objpfx): Remove.
64079         [!objdir] (common-objpfx): Likewise.
64080         [!objdir] (common-objdir): Likewise.
64081         * configure.in (config_makefile): Remove.  Hardcode Makefile in
64082         AC_CONFIG_FILES call.
64083         * configure: Regenerated.
64085         [BZ #13888]
64086         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64087         or TMPDIR.
64088         (testout): Likewise.
64090         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64091         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64092         $(rtld-installed-name).
64093         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64094         (rtld_installed_name): Likewise.
64095         (runit): Remove function.
64096         (run_getconf): New variable,  Use it for running getconf binary.
64098 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
64100         [BZ #14716]
64101         * string/test-memmem.c (check_result): New function.
64102         (do_one_test): Use it.
64103         (check1): New function.
64104         (test_main): Use it.
64106 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
64108         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64110 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
64112         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64113         (_G_LSEEK64): Likewise.
64114         (_G_MMAP64): Likewise.
64115         (_G_FSTAT64): Likewise.
64116         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64117         (_G_LSEEK64): Likewise.
64118         (_G_MMAP64): Likewise.
64119         (_G_FSTAT64): Likewise.
64120         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64121         unconditional.  Call __mmap64 directly.
64122         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64123         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
64124         __lseek64 directly.
64125         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64126         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
64127         __mmap64 directly.
64128         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64129         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64130         __lseek64 directly.
64131         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64132         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64133         __lseek64 directly.
64134         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64135         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
64136         __lseek64 directly.
64137         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64138         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
64139         __fxstat64 directly.
64140         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64141         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64142         unconditional.
64143         (freopen64) [!_G_OPEN64]: Remove conditional code.
64144         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64145         unconditional.
64146         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64147         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64148         unconditional.
64149         (ftello64) [!_G_LSEEK64]: Remove conditional code.
64150         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64151         unconditional.
64152         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64153         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64154         unconditional.
64155         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64156         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64157         unconditional.
64158         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64159         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64160         unconditional.
64161         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64162         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64163         unconditional.
64164         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64166 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64168         [BZ #12140]
64169         * manual/memory.texi (Malloc Tunable Parameters): Add note
64170         about free list pointers overwriting some perturb bytes.
64171         Wording suggested by Roland McGrath.
64173 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
64175         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64176         (lgamma_test): Likewise.
64177         (tgamma_test): Likewise.
64179 2012-10-16  Florian Weimer  <fweimer@redhat.com>
64181         [BZ #14700]
64182         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64183         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64185 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
64187         * NEWS: Mention BZ #14716.
64188         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64189         when removing AVAILABLE1_USES_J macro.
64191 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
64193         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64194         (__bswap_64): __uint64_t for unsigned 64-bit int.
64196 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
64198         * include/string.h (memmem): Declare libc hidden alias.
64199         * string/memmem.c (memmem): Define libc hidden alias.
64200         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64201         __read, __close instead of open, read, close.
64203 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
64205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64206         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64207         global and hidden.
64208         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64209         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64210         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64211         Likewise.
64212         (__rawmemchr_sse2): Likewise.
64213         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64214         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64215         (__strchr_sse2): Likewise.
64216         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64217         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64218         (__strcasecmp_sse2): Likewise.
64219         (__strncasecmp_sse2): Likewise.
64220         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64221         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64222         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64223         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
64224         (__strrchr_sse2): Likewise.
64225         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
64226         ifunc-impl-list.c.
64227         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
64228         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
64229         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
64230         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64231         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
64232         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
64233         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64234         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64235         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
64236         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
64237         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
64238         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
64239         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
64240         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
64241         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
64242         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64243         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
64244         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
64245         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
64246         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
64247         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
64248         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
64249         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
64250         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64251         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
64252         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64253         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
64254         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64255         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
64256         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
64258         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
64259         global and hidden.
64260         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
64261         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
64262         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
64263         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
64264         Likewise.
64265         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
64266         Likewise.
64267         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
64268         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
64269         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
64270         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
64271         ifunc-impl-list.c.
64272         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64273         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64274         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64275         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64276         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64277         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64278         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64279         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64280         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64281         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64282         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64283         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64284         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64285         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
64286         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
64287         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64288         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
64289         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
64290         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64291         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64293         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64294         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64295         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64296         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64297         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
64298         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
64299         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
64300         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
64301         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64302         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
64303         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64304         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64305         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
64306         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64307         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64308         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64309         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64310         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64311         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64312         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
64314         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
64315         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
64316         * include/ifunc-impl-list.h: New file.
64317         * misc/ifunc-impl-list.c: Likewise.
64318         * misc/Makefile (routines): Add ifunc-impl-list.
64319         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
64320         * string/test-string.h: Include <ifunc-impl-list.h>.
64321         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
64322         TEST_NAME]: New variables.
64323         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
64324         are defined.
64325         (test_init): Call __libc_ifunc_impl_list to initialize
64326         func_list if TEST_IFUNC and TEST_NAME are defined.
64328         * string/Makefile (strop-tests): Add bcopy and bzero.
64329         * string/test-bcopy.c: New file.
64330         * string/test-bzero.c: Likewise.
64331         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
64332         defined.
64333         * string/test-memset.c: Support bzero test if TEST_BZERO is
64334         defined.
64335         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
64336         __libc_memmove.
64337         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
64338         __libc_memset.
64339         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
64340         of memset.
64342 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
64344         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
64345         * configure: Regenerated.
64347         * Makeconfig (+link-static-before-libc): Don't include
64348         $(link-static-libc).
64350         * libio/libio.h (_IO_pos_t): Remove.
64352 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
64354         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
64355         McGrath.
64357 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
64359         * crypt/crypt-entry.c: Include fips-private.h.
64360         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
64361         * crypt/md5c-test.c (main): Tolerate disabled MD5.
64362         * sysdeps/unix/sysv/linux/fips-private.h: New file.
64363         * sysdeps/generic/fips-private.h: New file, dummy fallback.
64365 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
64367         * crypt/crypt-private.h: Include stdbool.h.
64368         (_ufc_setup_salt_r): Return bool.
64369         * crypt/crypt-entry.c: Include errno.h.
64370         (__crypt_r): Return NULL with EINVAL for bad salt.
64371         * crypt/crypt_util.c (bad_for_salt): New.
64372         (_ufc_setup_salt_r): Check that salt is long enough and within
64373         the specified alphabet.
64374         * crypt/badsalttest.c: New file.
64375         * crypt/Makefile (tests): Add it.
64376         ($(objpfx)badsalttest): New.
64378 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
64380         * NEWS: Add entry for BZ #14602.
64382 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
64384         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
64385         type-generic.
64386         * math/libm-test.inc: Update comment listing what functions and
64387         macros are tested.
64388         (isgreater_test): New function.
64389         (isgreaterequal_test): Likewise.
64390         (isless_test): Likewise.
64391         (islessequal_test): Likewise.
64392         (islessgreater_test): Likewise.
64393         (isunordered_test): Likewise.
64394         (main): Call the new functions.
64396 2012-10-09  Roland McGrath  <roland@hack.frob.com>
64398         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
64399         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
64400         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
64401         * sysdeps/i386/configure: Regenerated.
64402         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
64403         * sysdeps/mach/configure: Regenerated.
64404         * sysdeps/mach/hurd/configure: Regenerated.
64405         * sysdeps/powerpc/configure: Regenerated.
64406         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64407         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64408         * sysdeps/s390/s390-32/configure: Regenerated.
64409         * sysdeps/s390/s390-64/configure: Regenerated.
64410         * sysdeps/sh/configure: Regenerated.
64411         * sysdeps/sparc/configure: Regenerated.
64412         * sysdeps/unix/sysv/linux/configure: Regenerated.
64413         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
64414         * sysdeps/x86_64/configure: Regenerated.
64416         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
64417         defined.  Don't check if MAP is NULL.
64419 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
64421         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
64422         (_G_stat64): Likewise.
64423         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
64424         (_G_stat64): Likewise.
64425         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
64426         instead of struct _G_stat64.
64427         * libio/fileops.c (mmap_remap_check): Likewise.
64428         (decide_maybe_mmap): Likewise.
64429         (_IO_new_file_seekoff): Likewise.
64430         (_IO_file_stat): Likewise.
64431         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
64432         _G_off64_t.
64433         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
64434         instead of struct _G_stat64.
64435         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
64437 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
64439         [BZ #14602]
64440         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
64441         Replace with ...
64442         (CHECK_EOL): New macro.
64443         (two_way_short_needle): Check beginning of haystack for EOL.  Use
64444         CHECK_EOL.
64445         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
64446         Replace with CHECK_EOL.
64447         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
64448         Replace with CHECK_EOL.
64450 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
64452         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
64453         type-generic.
64454         * math/libm-test.inc: Update comment listing what functions and
64455         macros are tested.
64456         (finite_test): New function.
64457         (isinf_test): Likewise.
64458         (isnan_test): Likewise.
64459         (fpclassify_test): Test subnormal input.
64460         (isfinite_test): Likewise.
64461         (isnormal_test): Likewise.
64462         (main): Call the new functions.
64464 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
64466         [BZ #14660]
64467         * Makerules (%.dynsym): Force C locale when running
64468         $(OBJDUMP) --dynamic-syms.
64470 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
64472         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
64473         <stdint.h>.
64475 2012-10-06  David S. Miller  <davem@davemloft.net>
64477         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
64478         upper 32-bits of the length value in %o2 since we use branch-on-register
64479         tests which consider the entire 64-bit register.
64481 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
64483         * string/test-strstr.c (check2): Add a test for page boundary.
64485 2012-10-05  David S. Miller  <davem@davemloft.net>
64487         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
64488         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
64489         file.
64490         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64491         sysdep_routines.
64492         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64493         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
64494         and bzero when HWCAP_SPARC_CRYPTO is present.
64496 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
64498         [BZ #14602]
64499         * string/test-strstr.c (check2): New function.
64500         (test_main): Call check2.
64502         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
64503         and bug-strchr1.
64504         * string/bug-strcasestr1.c (do_test): Moved to ...
64505         * string/test-strcasestr.c (check1): Here.  New function.
64506         (do_one_test): Break out result checking code into ...
64507         (check_result): This.  New function.
64508         (do_one_test): Call check_result.
64509         (test_main): Call check1.
64510         * string/bug-strchr1.c (do_test): Moved to ...
64511         * string/test-strchr.c (check1): Here.  New function.
64512         (do_one_test): Break out result checking code into ...
64513         (check_result): This.  New function.
64514         (do_one_test): Call check_result.
64515         (test_main): Call check1.
64516         * string/bug-strstr1.c (main): Moved to ...
64517         * string/test-strstr.c (check1): Here.  New function.
64518         (do_one_test): Break out result checking code into ...
64519         (check_result): This.  New function.
64520         (do_one_test): Call check_result.
64521         (test_main): Call check1.
64522         * string/bug-strcasestr1.c: Removed.
64523         * string/bug-strchr1.c: Likewise.
64524         * string/bug-strstr1.c: Likewise.
64526         * elf/Makefile (dl-routines): Add hwcaps.
64527         * elf/dl-support.c (_dl_important_hwcaps): Removed.
64528         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
64529         (_dl_important_hwcaps): Moved to ...
64530         * elf/dl-hwcaps.c: Here.  New file.
64531         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
64533         [BZ #14557]
64534         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
64535         if IS_IN_rtld isn't defined.
64537         * elf/dl-support.c (_dl_sysinfo_map): New.
64538         Include "get-dynamic-info.h" and "setup-vdso.h".
64539         (_dl_non_dynamic_init): Call setup_vdso.
64540         * elf/dynamic-link.h: Don't include <assert.h>.
64541         (elf_get_dynamic_info): Moved to ...
64542         * elf/get-dynamic-info.h: Here.  New file.
64543         * elf/dynamic-link.h: Include "get-dynamic-info.h".
64544         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
64545         * elf/setup-vdso.h: Here.  New file.
64546         * elf/rtld.c: Include "setup-vdso.h".
64547         (dl_main): Call setup_vdso.
64549 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
64551         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
64552         creal in comment listing functions tested.  List finite, isinf,
64553         isnan, isless, islessequal, isgreater, isgreaterequal,
64554         islessgreater, isunordered, lgamma_r and pow10 as functions and
64555         macros not tested.  Mention which functions not tested are aliases
64556         for other functions.  Fix typo.  Note that signs of NaNs are not
64557         tested.
64559         * scripts/config.guess: Update from config.git.
64560         * scripts/config.sub: Likewise.
64562 2012-10-04  Roland McGrath  <roland@hack.frob.com>
64564         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
64565         * misc/madvise.c (madvise): Renamed to __madvise.
64566         Make madvise a weak alias.
64567         * include/sys/mman.h: Declare __madvise.
64568         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
64569         * sysdeps/unix/syscalls.list
64570         (madvise): Make __madvise the strong name, and madvise a weak alias.
64571         * sysdeps/unix/sysv/linux/syscalls.list
64572         (madvise, mmap): Remove redundant entries.
64573         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
64574         * malloc/malloc.c (mtrim): Likewise.
64575         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
64577 2012-10-03  Roland McGrath  <roland@hack.frob.com>
64579         * sysdeps/mach/hurd/dl-cache.c: File removed.
64580         * config.h.in (USE_LDCONFIG): New #undef.
64581         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
64582         * configure: Regenerated.
64583         * elf/Makefile (dl-routines): Add dl-cache only under
64584         [$(use-ldconfig) = yes].
64585         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
64586         cache on [USE_LDCONFIG].
64587         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
64588         [USE_LDCONFIG].
64589         * elf/rtld.c (dl_main): Likewise.
64591 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
64593         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
64594         _SC_LEVEL4_CACHE_LINESIZE.
64596 2012-10-03  Roland McGrath  <roland@hack.frob.com>
64598         * sysdeps/unix/bsd/confstr.h: File removed.
64600 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
64602         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
64603         sys/sdt-config.h.
64605 2012-10-02  Roland McGrath  <roland@hack.frob.com>
64607         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
64608         Make 'mapoff' field ElfW(Off) rather than off_t.
64610 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
64612         * nscd/Makefile: Remove nscd-cflags and all its users.
64613         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
64614         (CFLAGS-nonlib): Add compiler flags for nscd modules.
64616         [BZ #10631]
64617         * malloc.c (malloc_printerr): Clarify error message.
64619 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
64621         [BZ #14648]
64622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64623         Set bit_FMA_Usable if FMA is supported.
64624         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
64625         macro.
64626         (bit_FMA4_Usable): Updated.
64627         (index_FMA_Usable): New macro.
64628         (CPUID_FMA): Likewise.
64629         (HAS_FMA): Defined with bit_FMA_Usable.
64631 2012-10-01  Roland McGrath  <roland@hack.frob.com>
64633         * bits/types.h (__swblk_t): Type removed.
64634         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
64635         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
64636         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64637         (__SWBLK_T_TYPE): Likewise.
64638         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64639         (__SWBLK_T_TYPE): Likewise.
64640         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64641         (__SWBLK_T_TYPE): Likewise.
64642         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64643         (__SWBLK_T_TYPE): Likewise.
64645 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
64646             Honza Horak <hhorak@redhat.com>
64648         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
64649         (xdr_mapname): Use YPMAXMAP as maxsize.
64650         (xdr_peername): Use YPMAXPEER as maxsize.
64651         (xdr_keydat): Use YPAXRECORD as maxsize.
64652         (xdr_valdat): Use YPMAXRECORD as maxsize.
64654 2012-10-01  Roland McGrath  <roland@hack.frob.com>
64656         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
64658         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
64659         * csu/init-first.c: ... here.
64660         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
64661         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
64662         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
64663         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
64664         * sysdeps/i386/init-first.c: File removed.
64665         * sysdeps/sh/init-first.c: File removed.
64667 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
64669         [BZ #14645]
64670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
64671         if x * y might underflow to zero and z is zero.
64672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64673         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64674         * math/libm-test.inc (min_subnorm_value): New variable.
64675         (fma_test): Add more tests.
64676         (fma_test_towardzero): Likewise.
64677         (fma_test_downward): Likewise.
64678         (fma_test_upward): Likewise.
64679         (initialize): Set min_subnorm_value.
64681 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
64683         [BZ #14638]
64684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
64685         0 + 0.
64686         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
64687         mode for addition resulting in exact zero.
64688         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
64689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
64690         exact 0 + 0.
64691         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64692         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64693         * math/libm-test.inc (fma_test): Add more tests.
64694         (fma_test_towardzero): New function.
64695         (fma_test_downward): Likewise.
64696         (fma_test_upward): Likewise.
64697         (main): Call the new functions.
64699 2012-09-28  David S. Miller  <davem@davemloft.net>
64701         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
64703 2012-09-28  Roland McGrath  <roland@hack.frob.com>
64705         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
64706         instead of SIGALRM.
64708         * sysdeps/gnu/_G_config.h: Moved to ...
64709         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
64710         * sysdeps/mach/hurd/_G_config.h: Moved to ...
64711         * sysdeps/generic/_G_config.h: ... here.
64713         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
64715         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
64717         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
64718         Conditionalize target on [libnss_test1.so-version].
64720         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
64722         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
64723         (elfobjdir): Move out of conditionals.
64725         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
64726         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
64727         (__nss_lookup_function): Conditionalize label remove_from_tree on
64728         [!DO_STATIC_NSS || SHARED], matching its only use.
64730 2012-09-28  David S. Miller  <davem@davemloft.net>
64732         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
64733         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
64734         file.
64735         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64736         sysdep_routines.
64737         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64738         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
64739         when HWCAP_SPARC_CRYPTO is present.
64741 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64743         * io/tst-mknodat.c: Create a FIFO instead of a socket.
64745 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
64747         [BZ #6530]
64748         * stdio-common/vfprintf.c (process_string_arg): Revert
64749         2000-07-22 change.
64751 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
64753         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
64754         for testcase.
64755         * stdio-common/tst-sprintf.c: Include <locale.h>
64756         (main): Test sprintf's handling of incomplete multibyte
64757         characters.
64759 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
64761         * elf/dl-runtime.c (VERSYMIDX): Removed.
64762         * elf/dl-version.c (VERSYMIDX): Likewise.
64763         * elf/do-rel.h (VERSYMIDX): Likewise.
64764         (VALIDX): Likewise.
64765         * elf/dynamic-link.h (VERSYMIDX): Likewise.
64766         * elf/rtld.c (VALIDX): Likewise.
64767         (ADDRIDX): Likewise.
64768         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
64769         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
64770         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
64771         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
64772         (VALIDX): Likewise.
64773         (ADDRIDX): Likewise.
64775 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64777         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
64779 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
64781         [BZ #11438]
64782         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
64783         to global scope.
64784         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
64785         addresses are in the same scope as 192.0.2/24.
64786         * posix/gai.conf: Document new scope table defaults.
64788 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64790         [BZ #5298]
64791         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
64792         for ftell.  Compute offsets from write pointers instead.
64793         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
64795 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64797         [BZ #14543]
64798         * libio/Makefile (tests): New test case tst-fseek.
64799         * libio/tst-fseek.c: New test case to verify that fseek/ftell
64800         combination works in wide mode.
64801         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
64802         state when the external buffer state changes.
64804 2012-09-27  David S. Miller  <davem@davemloft.net>
64806         [BZ #14376]
64807         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
64808         pass reloc->r_addend in as the 'high' argument to
64809         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
64811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64813 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64815         * rt/tst-aio2.c: Include <pthread.h>.
64816         * rt/tst-aio3.c: Likewise.
64818 2012-09-27  Steve Ellcey  <sellcey@mips.com>
64820         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
64822 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
64824         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
64825         contents on [SHARED].
64827 2012-09-26  Marek Polacek  <polacek@redhat.com>
64829         [BZ #14530]
64830         [BZ #13741]
64831         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
64832         for C++ and GCC <4.3 as well as for non GCC compilers.
64834 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64838 2012-09-25  Roland McGrath  <roland@hack.frob.com>
64840         * Makefile.in (all, install): Declare with .PHONY.
64841         Reported by Michael Hope <michael.hope@linaro.org>.
64843 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64845         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
64846         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
64847         system header.
64848         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
64849         Likewise.
64850         (sydep_routines): Add the new and the internal functions.
64851         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
64852         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
64853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
64854         (GLIBC_2.17): Add the new function.
64855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64856         (GLIBC_2.17): Likewise.
64857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
64858         (GLIBC_2.17): Likewise.
64859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
64860         (GLIBC_2.17): Likewise.
64861         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
64863 2012-09-25  Alan Modra  <amodra@gmail.com>
64865         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
64866         Add release barrier before setting once_control to say
64867         initialisation is done.  Add hints on lwarx.  Use macro in
64868         place of isync.
64869         (clear_once_control): Add release barrier.
64871 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64873         [BZ #13629]
64874         * math/s_clog.c (__clog): Handle more values close to |z| = 1
64875         specially.
64876         * math/s_clog10.c (__clog10): Likewise.
64877         * math/s_clog10f.c (__clog10f): Likewise.
64878         * math/s_clog10l.c (__clog10l): Likewise.
64879         * math/s_clogf.c (__clogf): Likewise.
64880         * math/s_clogl.c (__clogl): Likewise.
64881         * math/Makefile (libm-calls): Add x2y2m1.
64882         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
64883         (__x2y2m1): Likewise.
64884         (__x2y2m1l): Likewise.
64885         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
64886         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
64887         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
64888         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
64889         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
64890         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
64891         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
64892         * sysdeps/i386/fpu/libm-test-ulps: Update.
64893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64895         [BZ #14621]
64896         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
64897         int as type of variable DEPTH.
64898         (glob): Use size_t instead of int as type of variables NEWCOUNT
64899         and OLD_PATHC.
64901 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64903         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64904         Add s_sincosf-sse2.
64905         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
64906         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
64907         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
64908         macros for using routine as __sincosf_ia32.
64909         Use macro for function declaration and weak_alias.
64910         * sysdeps/i386/fpu/libm-test-ulps: Update.
64912         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
64913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64915         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
64916         subnormal argument.
64917         * math/s_cexpf.c (__cexpf): Likewise.
64918         * math/s_csinf.c (__csinf): Likewise.
64919         * math/s_csinhf.c (__csinhf): Likewise.
64920         * math/s_ctanf.c (__ctanf): Likewise.
64921         * math/s_ctanhf.c (__ctanhf): Likewise.
64922         * math/s_ccosh.c (__ccoshf): Likewise.
64923         * math/s_cexp.c (__cexpl): Likewise.
64924         * math/s_csin.c (__csin): Likewise.
64925         * math/s_csinh.c (__csinh): Likewise.
64926         * math/s_ctan.c (__ctan): Likewise.
64927         * math/s_ctanh.c (ctanh): Likewise.
64928         * math/s_ccoshl.c (__ccoshl): Likewise.
64929         * math/s_cexpl.c (__cexpl): Likewise.
64930         * math/s_csinl.c (__csinl): Likewise.
64931         * math/s_csinhl.c (__csinhl): Likewise.
64932         * math/s_ctanl.c (__ctanl): Likewise.
64933         * math/s_ctanhl.c (__ctanhl): Likewise.
64935 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64937         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
64938         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
64939         (_IO_off_t): Define to __off_t, not _G_off_t.
64940         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
64941         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64942         (_IO_wint_t): Define to wint_t, not _G_wint_t.
64943         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64944         type of __dummy and __dummy2 fields.
64945         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64946         (_G_ssize_t): Likewise.
64947         (_G_off_t): Likewise.
64948         (_G_pid_t): Likewise.
64949         (_G_uid_t): Likewise.
64950         (_G_wchar_t): Likewise.
64951         (_G_wint_t): Likewise.
64952         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64953         (_G_ssize_t): Likewise.
64954         (_G_off_t): Likewise.
64955         (_G_pid_t): Likewise.
64956         (_G_uid_t): Likewise.
64957         (_G_wchar_t): Likewise.
64958         (_G_wint_t): Likewise.
64959         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64960         (_G_ssize_t): Likewise.
64961         (_G_off_t): Likewise.
64962         (_G_pid_t): Likewise.
64963         (_G_uid_t): Likewise.
64964         (_G_wchar_t): Likewise.
64965         (_G_wint_t): Likewise.
64967 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64969         * malloc/arena.c: Include malloc-sysdep.h.
64970         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64971         is sufficient to shrink the heap or an unmap is needed.
64972         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64973         new function check_may_shrink_heap.
64974         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64975         new function check_may_shrink_heap.
64977 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64979         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64980         comments.
64982 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64984         * catgets/test-gencat.sh: Add "set -e".
64985         * elf/tst-pathopt.sh: Likewise.
64986         * grp/tst_fgetgrent.sh: Likewise.
64987         * iconvdata/run-iconv-test.sh: Likewise.
64988         * intl/tst-gettext.sh: Likewise.
64989         * intl/tst-gettext2.sh: Likewise.
64990         * intl/tst-gettext4.sh: Likewise.
64991         * intl/tst-gettext6.sh: Likewise.
64992         * intl/tst-translit.sh: Likewise.
64993         * io/ftwtest-sh: Likewise.
64994         * libio/test-freopen.sh: Likewise.
64995         * malloc/tst-mtrace.sh: Likewise.
64996         * posix/globtest.sh: Likewise.
64997         * posix/tst-getconf.sh: Likewise.
64998         * posix/wordexp-tst.sh: Likewise.
64999         * stdio-common/tst-printf.sh: Likewise.
65000         * stdio-common/tst-unbputc.sh: Likewise.
65001         * stdlib/tst-fmtmsg.sh: Likewise.
65002         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65003         * catgets/Makefile: Do not specify -e option when running
65004         testsuite shell scripts.
65005         * elf/Makefile: Likewise.
65006         * grp/Makefile: Likewise.
65007         * iconvdata/Makefile: Likewise.
65008         * intl/Makefile: Likewise.
65009         * io/Makefile: Likewise.
65010         * libio/Makefile: Likewise.
65011         * malloc/Makefile: Likewise.
65012         * posix/Makefile: Likewise.
65013         * stdio-common/Makefile: Likewise.
65014         * stdlib/Makefile: Likewise.
65015         * sysdeps/x86_64/Makefile: Likewise.
65017         * io/ftwtest-sh: Add copyright header.
65018         * posix/globtest.sh: Likewise.
65019         * posix/tst-getconf.sh: Likewise.
65020         * posix/wordexp-tst.sh: Likewise.
65021         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65023 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
65025         [BZ #13679]
65026         * Makeconfig (+link): Defined as $(+link-static) if
65027         $(build-shared) isn't yes.
65028         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65029         isn't yes.
65030         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65032         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65034         [BZ #14562]
65035         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65036         new chunk size with MALLOC_ALIGN_MASK.
65038 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
65040         [BZ #5044]
65041         * stdio-common/printf_fphex.c: Include <stdbool.h> and
65042         <rounding-mode.h>.
65043         (__printf_fphex): Determine rounding using get_rounding_mode and
65044         round_away.
65045         * stdio-common/tst-printf-round.c (struct hex_test): New
65046         structure.
65047         (hex_tests): New variable.
65048         (test_hex_in_one_mode): New function.
65049         (do_test): Also run tests for hex float output.
65051 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
65053         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65054         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65055         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65056         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65057         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65058         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65059         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65060         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65062 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
65064         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65065         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65066         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65067         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65069 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
65071         [BZ #14579]
65072         * elf/rtld.c (dl_main): Limit the check for self loading to normal
65073         mode only.
65074         * elf/tst-rtld-load-self.sh: New test.
65075         * elf/Makefile: Run it.
65077 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
65079         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65080         (tst-writev-ENV): Remove.
65081         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65083 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
65085         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65087 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
65089         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65090         unconditional.
65091         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65092         Likewise.
65093         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65094         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65095         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65096         Likewise.
65098 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
65100         [BZ #14587]
65101         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65102         * config.make.in (have-cpp-asm-debuginfo): Removed.
65103         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65104         * configure: Regenerated.
65106 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
65108         [BZ #5044]
65109         * stdio-common/printf_fp.c: Include <stdbool.h> and
65110         <rounding-mode.h>.
65111         (___printf_fp): Determine rounding using get_rounding_mode and
65112         round_away.
65113         * stdio-common/tst-printf-round.c: New file.
65114         * stdio-common/Makefile (tests): Add tst-printf-round.
65115         (link-libm): New variable.
65116         ($(objpfx)tst-printf-round): Depend in $(link-libm).
65118 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
65120         [BZ #14576]
65121         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65122         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65123         Likewise.
65124         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65125         Likewise.
65127 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
65129         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65130         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65131         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65132         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65134 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
65136         [BZ #14518]
65137         * include/rounding-mode.h: New file.
65138         * sysdeps/generic/get-rounding-mode.h: Likewise.
65139         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65140         * stdlib/strtod_l.c: Include <rounding-mode.h>.
65141         (MAX_VALUE): New macro.
65142         (MIN_VALUE): Likewise.
65143         (overflow_value): New function.
65144         (underflow_value): Likewise.
65145         (round_and_return): Use overflow_value and underflow_value to
65146         determine return values in overflow and underflow cases.  Use
65147         round_away to determine rounding depending on rounding mode.
65148         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65149         determine return values in overflow and underflow cases.
65150         * stdlib/tst-strtod-round.c: Include <fenv.h>.
65151         (struct test_results): New structure.
65152         (struct test): Use struct test_results to store expected results
65153         for all rounding modes.
65154         (TEST): Include expected results for all rounding modes.
65155         (test_in_one_mode): New function.
65156         (do_test): Use test_in_one_mode to compute and check results.
65157         Check results for all rounding modes.
65158         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65159         $(link-libm).
65161 2012-12-09  Allan McRae  <allan@archlinux.org>
65163         * sysdeps/i386/fpu/libm-test-ulps: Update
65165 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
65167         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65168         (_G_int32_t): Likewise.
65169         (_G_uint16_t): Likewise.
65170         (_G_uint32_t): Likewise.
65171         (_G_HAVE_BOOL): Likewise.
65172         (_G_HAVE_ATEXIT): Likewise.
65173         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65174         (_G_HAVE_IO_FILE_OPEN): Likewise.
65175         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65176         (_G_int32_t): Likewise.
65177         (_G_uint16_t): Likewise.
65178         (_G_uint32_t): Likewise.
65179         (_G_HAVE_BOOL): Likewise.
65180         (_G_HAVE_ATEXIT): Likewise.
65181         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65182         (_G_HAVE_IO_FILE_OPEN): Likewise.
65183         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65184         (_G_int32_t): Likewise.
65185         (_G_uint16_t): Likewise.
65186         (_G_uint32_t): Likewise.
65187         (_G_HAVE_BOOL): Likewise.
65188         (_G_HAVE_ATEXIT): Likewise.
65189         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65190         (_G_HAVE_IO_FILE_OPEN): Likewise.
65192 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
65194         * csu/libc-tls.c: Update copyright years.
65196 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
65198         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65199         [!_G_USING_THUNKS]: Remove conditional code.
65200         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65201         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65203         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65204         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65205         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65206         (_G_VTABLE_LABEL_PREFIX): Likewise.
65207         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65208         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65209         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65210         (_G_VTABLE_LABEL_PREFIX): Likewise.
65211         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65212         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65213         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65214         (_G_VTABLE_LABEL_PREFIX): Likewise.
65215         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65217 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
65219         * libio/Makefile: Include ../Makeconfig before tests.
65220         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65221         only if $(build-shared) is yes.
65223         * iconv/gconv_db.c: Update copyright years.
65225 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65227         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
65228         unwind info if defined PIC. Fix special cases description.
65229         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
65231         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
65232         DP_HI_MASK entry.
65233         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
65235 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
65237         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
65239         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
65240         is NULL.
65242         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
65243         (LDLIBS-tst-chk4): This.
65244         (LDFLAGS-tst-chk5): Renamed to ...
65245         (LDLIBS-tst-chk5): This.
65246         (LDFLAGS-tst-chk6): Renamed to ...
65247         (LDLIBS-tst-chk6): This.
65248         (LDFLAGS-tst-lfschk4): Renamed to ...
65249         (LDLIBS-tst-lfschk4): This.
65250         (LDFLAGS-tst-lfschk5): Renamed to ...
65251         (LDLIBS-tst-lfschk5): This.
65252         (LDFLAGS-tst-lfschk6): Renamed to ...
65253         (LDLIBS-tst-lfschk6): This.
65255         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
65256         on $(common-objpfx)soversions.mk.
65258 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
65260         [BZ #10014]
65261         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
65262         example host name.
65264 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65266         * malloc/arena.c (arena_get_retry): New function that gets
65267         another arena for the caller to try its request on.
65268         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
65269         current arena cannot fulfill the request.
65270         (__libc_memalign): Likewise.
65271         (__libc_memalign): Likewise.
65272         (__libc_pvalloc): Likewise.
65273         (__libc_calloc): Likewise.
65275 2012-09-05  John Tobey  <john.tobey@gmail.com>
65277         [BZ #13542]
65278         * manual/arith.texi (Operations on Complex): Fix description
65279         of carg branch cut.
65281 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
65283         [BZ #10014]
65284         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
65285         host name.
65287         [BZ #10038]
65288         * manual/memory.texi (Memory): Make order of menu items match
65289         order of sections.
65291 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65293         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
65294         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
65295         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
65297 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65299         * csu/libc-tls.c (static_dtv): Renamed to ...
65300         (_dl_static_dtv): This.  Make it global.
65301         (_dl_initial_dtv): Removed.
65302         (__libc_setup_tls): Updated.
65303         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
65304         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
65305         DL_INITIAL_DTV.
65307 2012-09-06  Petr Machata  <pmachata@redhat.com>
65309         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
65310         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
65311         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
65312         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
65314 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65316         [BZ #14545]
65317         * csu/libc-tls.c (_dl_initial_dtv): New variable.
65318         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
65319         freeing dtv[-1].
65321 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65323         [BZ #14544]
65324         * Makeconfig (link-static-before-libc): Replace $(+prector)
65325         with $(+prectorT).
65326         (link-static-after-libc): Replace $(+postctor) with
65327         $(+postctorT).
65328         (link-bounded): Replace $(+prector)/$(+postctor) with
65329         $(+prectorT)/$(+postctorT).
65330         (+prectorT): New macro.
65331         (+postctorT): Likewise.
65333 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
65335         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
65336         (round_str): Handle values above the maximum for IBM long double
65337         as inexact.
65338         * stdlib/tst-strtod-round.c (tests): Regenerated.
65340 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65342         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
65343         assembler flag.
65344         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
65345         zarch_nohighgprs around the zarch optimized routines.
65346         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
65347         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
65348         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
65349         for zarch.
65351 2012-09-05  David S. Miller  <davem@davemloft.net>
65353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65355         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
65356         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
65357         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
65358         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65359         entries.
65361 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65363         * malloc/arena.c: Fold copyright years.
65364         * malloc/mcheck.c, malloc/memusage.c: Likewise.
65366 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65368         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
65370 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65372         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
65374 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65376         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
65377         change internal state upon failure.
65379 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65381         * malloc/mcheck.c (mcheck_check_all): Fix typo.
65382         * malloc/memusage.c (mmap): Likewise.
65383         (mmap64, mremap): Likewise.  Adjust name in comment.
65385 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65387         * libio/fileops.c: Fix typos in comments.
65388         * libio/oldfileops.c: Likewise.
65389         * libio/wfileops.c: Likewise.
65391 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65393         [BZ #1349]
65394         * malloc/Makefile (tests): Add tst-malloc-usable test case.
65395         (tst-malloc-usable-ENV): Set environment for test case.
65396         * malloc/hooks.c (malloc_check_get_size): New function to get
65397         requested size.
65398         * malloc/malloc.c (musable): Use malloc_check_get_size.
65399         * malloc/tst-malloc-usable.c: New test case.
65401 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65403         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
65405 2012-09-05  Allan McRae  <allan@archlinux.org>
65407         [BZ #13966]
65408         * configure.in (CXX_SYSINCLUDES): Use compiler output to
65409         determine header location.
65410         * configure: Regenerated.
65412 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65414         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
65415         float format.
65416         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
65417         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
65418         format.
65419         (test): Regenerate.
65421 2012-09-04  David S. Miller  <davem@davemloft.net>
65423         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
65424         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
65425         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
65427 2012-09-04  Florian Weimer  <fweimer@redhat.com>
65429         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
65430         failures.
65432         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
65434 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
65436         [BZ #9914]
65437         * libio/iogetdelim.c: Include <limits.h>.
65438         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
65439         + len + 1 would overflow.
65441 2012-09-03  Andreas Jaeger  <aj@suse.de>
65443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65444         * sysdeps/i386/fpu/libm-test-ulps: Update.
65446 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65448         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65449         Add s_sinf-sse2, s_conf-sse2.
65451         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
65452         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
65453         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
65454         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
65456         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
65457         for using routine as __sinf_ia32.
65458         Use macro for function declaration and weak_alias.
65459         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
65460         for using routine as __cosf_ia32.
65461         Use macro for function declaration and weak_alias.
65463         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
65464         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
65466         * sysdeps/x86_64/fpu/s_sinf.S: New file.
65467         * sysdeps/x86_64/fpu/s_cosf.S: New file.
65468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65470         * math/libm-test.inc (cos_test): Add more test cases.
65471         (sin_test): Likewise.
65472         (sincos_test): Likewise.
65474 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65476         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
65477         (IFUNC_RESOLVE): Make pointers to the specialized implementations
65478         hidden.
65479         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65481 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
65483         [BZ #14538]
65484         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
65485         first element of the GOT.
65486         (elf_machine_load_address): Return the difference between
65487         the runtime address of _DYNAMIC and elf_machine_dynamic ().
65489 2012-09-01  Allan McRae  <allan@archlinux.org>
65491         [BZ #13412]
65492         * configure.in (AWK): Require gawk version 3.0 or later.
65493         * configure: Regenerated.
65495 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
65497         * sysdeps/unix/sysv/linux/kernel-features.h
65498         (__ASSUME_POSIX_CPU_TIMERS): Remove.
65499         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65500         [__NR_clock_getres]: Make code unconditional.
65501         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
65502         (clock_getcpuclockid): Remove code left unreachable by removal of
65503         conditionals.
65504         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
65505         code unconditional.
65506         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
65507         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65508         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
65509         Make code unconditional.
65510         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
65511         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65512         * sysdeps/unix/sysv/linux/clock_settime.c
65513         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
65514         conditional code.
65515         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
65516         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65518 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
65520         [BZ #14476]
65521         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
65522         scripts/test-installation.pl.
65524         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
65525         and $ld_so_version if it is set.
65527 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65529         [BZ #14516]
65530         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
65531         failure if reading from procfs failed.
65532         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
65534 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
65536         * sysdeps/unix/sysv/linux/kernel-features.h
65537         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
65538         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
65539         Remove conditional code.
65540         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65541         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
65542         Remove conditional code.
65543         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65544         * sysdeps/unix/sysv/linux/i386/fxstat.c
65545         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65546         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65547         * sysdeps/unix/sysv/linux/i386/fxstatat.c
65548         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65549         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65550         * sysdeps/unix/sysv/linux/i386/lxstat.c
65551         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65552         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65553         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
65554         Remove conditional code.
65555         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65556         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
65557         Remove conditional code.
65558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65559         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
65560         <kernel-features.h>.
65561         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
65562         Remove.
65563         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
65564         Remove conditional code.
65565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65566         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
65567         Remove conditional.
65569 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
65571         [BZ #5400]
65572         * NEWS: Add fixed bug number.
65574 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
65576         [BZ #14519]
65577         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
65578         underflowing exponent in case of negative sign.
65579         * stdlib/tst-strtod-round-data: Add more tests.
65580         * stdlib/tst-strtod-round.c (tests): Regenerated.
65582         [BZ #3479]
65583         * stdlib/strtod_l.c (NDIG): Remove.
65584         (HEXNDIG): Likewise.
65585         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
65586         smallest representable value.
65587         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
65588         lie within an exact representation of 1/2 ulp of the result.
65589         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
65590         unconditionally.
65591         (TENS_P9_IDX): Define unconditionally.
65592         (TENS_P9_SIZE): Likewise.
65593         (TENS_P10_IDX): Likewise.
65594         (TENS_P10_SIZE): Likewise.
65595         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
65596         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
65597         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
65598         entries for 10^2^13 and 10^2^14.
65599         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
65600         (TENS_P13_IDX): Define.
65601         (TENS_P13_SIZE): Likewise.
65602         (TENS_P14_IDX): Likewise.
65603         (TENS_P14_SIZE): Likewise.
65604         (_fpioconst_pow10): Change array size to
65605         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
65606         unconditional.
65607         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
65608         1024]: Add entries for 10^2^13 and 10^2^14.
65609         [LAST_POW10 > _LAST_POW10]: Remove #error.
65610         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
65611         (_fpioconst_pow10): Change array size to
65612         FPIOCONST_POW10_ARRAY_SIZE.
65613         * stdlib/gen-fpioconst.c: New file.
65614         * stdlib/gen-tst-strtod-round.c: Likewise.
65615         * stdlib/tst-strtod-round-data: Likewise.
65616         * stdlib/tst-strtod-round.c: Likewise.
65617         * stdlib/Makefile (tests): Add tst-strtod-round.
65619         [BZ #14459]
65620         * stdlib/strtod_l.c: Include <stdint.h>.
65621         (NDEBUG): Do not define.
65622         (round_and_return): Change EXPONENT parameter to type intmax_t.
65623         Rearrange calculations to avoid internal overflow possibilities.
65624         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
65625         Rearrange calculations to avoid internal overflow possibilities.
65626         Assert that number fits inside MPNSIZE limbs.
65627         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
65628         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
65629         calculations and add assertions to avoid internal overflow
65630         possibilities.  Add casts to avoid signed/unsigned operations.
65631         * stdlib/tst-strtod-overflow.c: New file.
65632         * stdlib/Makefile (tests): Add tst-strtod-overflow.
65634 2012-08-25  Marek Polacek  <polacek@redhat.com>
65636         * time/time.h: Fix some typos in comments.
65638 2012-08-23  Roland McGrath  <roland@hack.frob.com>
65640         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
65641         * posix/tst-rfc3484-2.c: Likewise.
65642         * posix/tst-rfc3484-3.c: Likewise.
65644 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
65646         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
65647         (EF_ARM_ABI_FLOAT_HARD): Likewise.
65649 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
65651         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
65652         #include of fxstatat64.c.
65654 2012-08-22  Roland McGrath  <roland@hack.frob.com>
65656         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
65657         * shadow/getspent_r.c: Likewise.
65658         * shadow/getspnam.c: Likewise.
65659         * shadow/getspnam_r.c: Likewise.
65660         * gshadow/getsgent.c: Likewise.
65661         * gshadow/getsgent_r.c: Likewise.
65662         * gshadow/getsgnam.c: Likewise.
65663         * gshadow/getsgnam_r.c: Likewise.
65664         * inet/getnetbyad.c: Likewise.
65665         * inet/getnetbyad_r.c: Likewise.
65666         * inet/getnetbynm.c: Likewise.
65667         * inet/getnetbynm_r.c: Likewise.
65668         * inet/getnetent.c: Likewise.
65669         * inet/getnetent_r.c: Likewise.
65670         * inet/getproto.c: Likewise.
65671         * inet/getproto_r.c: Likewise.
65672         * inet/getprtent.c: Likewise.
65673         * inet/getprtent_r.c: Likewise.
65674         * inet/getprtname.c: Likewise.
65675         * inet/getprtname_r.c: Likewise.
65676         * inet/getrpcbyname.c: Likewise.
65677         * inet/getrpcbyname_r.c: Likewise.
65678         * inet/getrpcbynumber.c: Likewise.
65679         * inet/getrpcbynumber_r.c: Likewise.
65680         * inet/getrpcent.c: Likewise.
65681         * inet/getrpcent_r.c: Likewise.
65682         * inet/getaliasent.c: Likewise.
65683         * inet/getaliasent_r.c: Likewise.
65684         * inet/getaliasname.c: Likewise.
65685         * inet/getaliasname_r.c: Likewise.
65686         * nscd/getgrgid_r.c: Likewise.
65687         * nscd/getgrnam_r.c: Likewise.
65688         * nscd/gethstbyad_r.c: Likewise.
65689         * nscd/gethstbynm3_r.c: Likewise.
65690         * nscd/getpwnam_r.c: Likewise.
65691         * nscd/getpwuid_r.c: Likewise.
65692         * nscd/getsrvbynm_r.c: Likewise.
65693         * nscd/getsrvbypt_r.c: Likewise.
65694         * nscd/gai.c: Likewise.
65696         * configure.in (build_nscd): New substituted variable, set
65697         by --disable-build-nscd and defaults to $use_nscd.
65698         * configure: Regenerated.
65699         * config.make.in (build-nscd): New substituted variable.
65700         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
65701         Change conditional to require [$(build-nscd) = yes] as well.
65702         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
65704         [BZ# 13696]
65705         * configure.in (use_nscd): New substituted variable, set by
65706         --disable-nscd.  If enabled, define USE_NSCD.
65707         * configure: Regenerated.
65708         * config.h.in: Add USE_NSCD.
65709         * config.make.in (use-nscd): New substituted variable.
65710         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
65711         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
65712         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
65713         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
65714         (CFLAGS-getgrnam_r.c): Likewise.
65715         (CFLAGS-initgroups.c): Likewise.
65716         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
65717         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
65718         Variables removed.
65719         * inet/getnetgrent_r.c
65720         (nscd_setnetgrent): New function, broken out of ...
65721         (setnetgrent): ... here.  Call it.
65722         (innetgr): Conditionalize nscd bits on [USE_NSCD].
65723         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
65724         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
65725         * nscd/Makefile (routines, aux): Move definitions after include of
65726         Makeconfig.  Conditionalize on [$(use-nscd) != no].
65727         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
65728         Conditionalize on [USE_NSCD].
65729         (is_nscd, nscd_init_cb): Likewise.
65730         (nss_load_library): Conditionalize init callback on [USE_NSCD].
65731         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
65732         * nss/nss_db/db-init.c: Likewise.
65733         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
65734         [USE_NSCD].
65735         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
65736         (make_request): Use it.
65737         (cache_valid_p): New function.
65738         (__check_pf): Use it.
65739         * NEWS: Add item for --disable-nscd.
65741 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
65743         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
65744         to support sed >= 4.2.1-20-ga9bf076.
65745         * configure: Regenerated.
65747 2012-08-22  Roland McGrath  <roland@hack.frob.com>
65749         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
65750         Conditionalize whole body on [IREL].
65752 2012-08-22  Jeff Law <law@redhat.com>
65754         [BZ #14505]
65755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
65756         if the family is PF_UNSPEC.
65758 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
65760         * Makerules (lib-version): Rename from V.
65761         (install-lib-nosubdir): Change V to lib-version.
65763 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
65765         [BZ #14252]
65766         * powerpc32/power6/wcschr.c: New file.
65767         * powerpc32/power6/wcscpy.c: New file.
65768         * powerpc32/power6/wcsrchr.c: New file.
65769         * powerpc64/power6/wcschr.c: New file.
65770         * powerpc64/power6/wcscpy.c: New file.
65771         * powerpc64/power6/wcsrchr.c: New file.
65773 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
65775         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
65776         (two_way_short_needle): Use it.
65777         * string/strstr.c (AVAILABLE1_USES_J): Define.
65778         * string/strcasestr.c: Likewise.
65780         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
65781         array references.
65782         * string/strcasestr.c (TOLOWER): Make side-effect safe.
65784         [BZ #11607]
65785         * NEWS: Add an entry.
65786         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
65787         define their defaults.
65788         (two_way_short_needle): Detect end-of-string on-the-fly.
65789         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
65790         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
65791         * string/bug-strcasestr1.c: New test.
65792         * string/Makefile: Run it.
65794 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
65796         [BZ #11607]
65797         * string/str-two-way.h (two_way_short_needle): Optimize matching of
65798         the first character.
65800 2012-08-21  Roland McGrath  <roland@hack.frob.com>
65802         * csu/elf-init.c (__libc_csu_irel): Function removed.
65803         * csu/libc-start.c (apply_irel): New function.
65804         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
65806 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
65808         * sysdeps/unix/sysv/linux/kernel-features.h
65809         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
65810         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65811         <kernel-features.h>.
65812         [__NR_fadvise64_64]: Make code unconditional.
65813         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
65814         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65815         !__NR_fadvise64_64)]: Likewise.
65816         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65817         !__NR_fadvise64_64))]: Likewise.
65818         [__NR_fadvise64]: Make code unconditional.
65819         [!__NR_fadvise64]: Remove conditional code.
65820         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
65821         <kernel-features.h>.
65822         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65823         unconditional.
65824         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65825         conditional code.
65826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
65827         not include <kernel-features.h>.
65828         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65829         unconditional.
65830         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65831         conditional code.
65832         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
65833         include <kernel-features.h>.
65834         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65835         unconditional.
65836         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65837         conditional code.
65839 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65841         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
65842         slight instruction rearrangements per scrollpipe analysis.
65843         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65845 2012-08-20  Roland McGrath  <roland@hack.frob.com>
65847         * manual/syslog.texi (syslog; vsyslog, closelog):
65848         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
65849         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
65851         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
65852         DSOCAPS to match condition on defining it.
65854 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
65856         * sysdeps/unix/sysv/linux/kernel-features.h
65857         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
65858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
65859         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65860         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
65862         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65863         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
65865         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65866         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65868         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
65869         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
65871         * sysdeps/unix/sysv/linux/kernel-features.h
65872         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
65873         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
65874         unconditional.
65875         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65876         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
65877         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65878         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65879         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
65880         Make code unconditional.
65881         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65882         (__mmap64) [!__NR_mmap2]: Likewise.
65883         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
65884         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65885         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65886         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
65887         [__NR_mmap2]: Make code unconditional.
65888         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65889         (__mmap64) [!__NR_mmap2]: Likewise.
65891 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65893         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
65895 2012-08-18  Andreas Jaeger  <aj@suse.de>
65897         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
65899 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65901         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
65902         * include/unistd.h (__have_sock_cloexec): Likewise.
65903         (__have_pipe2): Likewise.
65904         (__have_dup3): Likewise.
65906 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65908         [BZ #9685]
65909         * include/unistd.h (__have_pipe2): Change define into an extern int.
65910         (__have_dup3): Likewise.
65911         * socket/have_sock_cloexec.c: Include fcntl.h.
65912         (__have_pipe2): New variable.
65913         (__have_dup3): Likewise.
65915 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
65917         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
65919 2012-08-17  Marek Polacek  <polacek@redhat.com>
65921         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
65922         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
65924 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65926         * configure.in: Add AC_SUBST for sysheaders.
65927         * configure: Regenerated.
65928         * config.make.in (sysheaders): New substituted variable.
65930         * sysdeps/unix/mkfifo.c: Moved ...
65931         * sysdeps/posix/mkfifo.c: ... here.
65932         * sysdeps/unix/mkfifoat.c: Moved ...
65933         * sysdeps/posix/mkfifoat.c: ... here.
65935         * sysdeps/unix/utime.c: Moved ...
65936         * sysdeps/posix/utime.c: ... here.
65938         * sysdeps/unix/time.c: Moved ...
65939         * sysdeps/posix/time.c: ... here.
65940         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
65941         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65943         * sysdeps/unix/nice.c: Moved ...
65944         * sysdeps/posix/nice.c: ... here.
65946         * sysdeps/unix/alarm.c: Moved ...
65947         * sysdeps/posix/alarm.c: ... here.
65949         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65951 2012-08-17  Jeff Law <law@redhat.com>
65953         * intl/Makefile (codeset_mo): New variable.
65954         ($(codeset_mo)): New target.
65955         (tst-codeset.out): Depend on that.  Remove explicit rule.
65956         (tst-gettext3.out, tst-gettext5.out): Likewise.
65957         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65958         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65959         * intl/tst-codeset.sh: Remove.
65960         * intl/tst-gettext3.sh: Likewise.
65961         * intl/tst-gettext5.sh: Likewise.
65963 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65965         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65966         * sysdeps/unix/syscalls.list: ... here.
65968         * sysdeps/posix/getaddrinfo.c
65969         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65970         (gaiconf_init, gaiconf_reload): Use them.
65971         [!_STATBUF_ST_NSEC]
65972         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65973         Define using time_t rather than struct timespec.
65975         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65976         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65977         Macros removed.
65978         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65979         [!NO_THREADS].
65980         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65981         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65982         Likewise.
65984         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65985         __libc_cleanup_push argument.
65987         * bits/param.h: New file.
65988         * misc/sys/param.h: New file.
65989         * include/sys/param.h: New file.
65990         * misc/Makefile (headers): Add bits/param.h.
65991         * sysdeps/generic/sys/param.h: File removed.
65992         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65993         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65994         * sysdeps/mach/hurd/bits/param.h: New file.
65995         * sysdeps/mach/hurd/sys/param.h: File removed.
65997         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65998         last change.
66000         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66001         [_IO_MTSAFE_IO].
66002         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66003         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66004         New macros.
66006         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66007         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66008         rather than -D_IO_MTSAFE_IO conditionally.
66009         * stdio-common/Makefile (CPPFLAGS): Likewise.
66010         * wcsmbs/Makefile (CPPFLAGS): Likewise.
66011         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66012         Use $(libio-mtsafe).
66013         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66014         of -D_IO_MTSAFE_IO.
66015         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66016         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66017         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66018         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66019         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66020         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66021         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66022         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66023         (CFLAGS-fread_u_chk.c): Likewise.
66024         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66025         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66026         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66027         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66028         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66029         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66030         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66031         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66032         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66034         * libio/Makefile: Test [$(libc-reentrant) = yes]
66035         instead of [$(filter %REENTRANT, $(defines)) nonempty].
66037         * Makeconfig
66038         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66039         * sysdeps/pthread/configure: File removed.
66040         * sysdeps/pthread/Makeconfig: New file.
66041         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66042         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66044 2012-08-16  Gary Benson  <gbenson@redhat.com>
66046         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66047         unmapping the first object in a namespace.
66049 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66051         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66052         (__internal_setnetgrent): ... this.  Add internal_function to
66053         definition.  Add libc_hidden_def.
66054         (setnetgrent): Update caller.
66055         (internal_endnetgrent): Renamed to ...
66056         (__internal_endnetgrent): ... this.  Add internal_function to
66057         definition.  Add libc_hidden_def.
66058         (endnetgrent): Update caller.
66059         (internal_getnetgrent_r): Renamed to ...
66060         (__internal_getnetgrent_r): ... this.  Add internal_function to
66061         definition.  Add libc_hidden_def.
66062         (__getnetgrent_r): Update caller.
66063         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
66065 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66067         * stdlib/longlong.h: Update from GCC.
66069 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66071         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66072         on _QL, which is set by umul_ppmm but never used.
66073         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66074         variables, which are set by GMP macros but never used.
66075         * stdio-common/_itowa.c (_itowa): Likewise.
66076         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66077         * stdlib/mod_1.c (mpn_mod_1): Likewise.
66079 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
66081         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66082         struct La_sh_regs is not constant.
66083         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66084         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66085         and struct La_sparc64_regs are not constant.
66087 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66089         * sysdeps/unix/sysv/linux/kernel-features.h
66090         (__ASSUME_POSIX_TIMERS): Remove.
66091         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66092         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66093         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66094         Make code unconditional.
66095         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66096         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66097         Make code unconditional.
66098         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66099         * sysdeps/unix/sysv/linux/clock_nanosleep.c
66100         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66101         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66102         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66103         Make code unconditional.
66104         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66105         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66106         (__libc_missing_posix_timers): Remove.
66108 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66110         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66111         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66113         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66115         * elf/dl-sym.c: Include <stdlib.h>.
66117         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66118         constants, which avoids warnings in 32-bit builds.
66120         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66121         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66123         * misc/lseek.c: File moved to ...
66124         * io/lseek.c: ... here.
66126         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66128         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66129         shifting LEN more than 31 bits at once.
66131 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66133         [BZ #14195]
66134         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66135         segmentation fault for a case of two empty input strings.
66136         * string/test-strncasecmp.c (check1): Renamed to...
66137         (bz12205): ...this.
66138         (bz14195): Add new testcase for two empty input strings and N > 0.
66139         (test_main): Call new testcase, adapt for renamed function.
66141 2012-08-15  Andreas Jaeger  <aj@suse.de>
66143         [BZ #14090]
66144         * crypt/md5test2.c: New test, based on test supplied by Serge
66145         Belyshev <belyshev@depni.sinp.msu.ru>.
66146         * crypt/Makefile (xtests): Add md5test-giant..
66147         * crypt/Makefile ($(objpfx)md5test-giant): Add.
66149 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
66151         [BZ #14090]
66152         * crypt/md5.c (md5_process_block): Don't assume the buffer
66153         length is less than 2**32.
66154         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66155         length is less than 2**64.
66157 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66159         * string/str-two-way.h: Include <sys/param.h>.
66160         (MAX): Macro removed.
66162         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66163         Move #define and #undef of memmove to just before and after
66164         including <string.h>.
66166         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66167         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66168         and after including <string.h>.  Move declarations of
66169         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66170         to before #include "string/memmove.c".
66172         * include/dirent.h: Declare __getdirentries.
66174         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66175         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66177 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
66179         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66180         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66181         * sysdeps/i386/configure: Regenerated.
66182         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66183         STABS_CURRENT_FILE, and STABS_FUN.
66184         (END): Remove call to STABS_FUN_END.
66185         (STABS_CURRENT_FILE1): Delete.
66186         (STABS_CURRENT_FILE): Likewise.
66187         (STABS_FUN): Likewise.
66188         (STABS_FUN_END): Likewise.
66189         (STABS_FUN2): Likewise.
66190         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66191         * sysdeps/x86_64/configure: Regenerated.
66193 2012-08-14  Roland McGrath  <roland@hack.frob.com>
66195         * elf/dl-open.c: Include <atomic.h>.
66196         * elf/dl-lookup.c: Likewise.
66198 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
66200         * sysdeps/unix/sysv/linux/kernel-features.h
66201         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66202         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66203         unconditionally.
66204         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66205         unconditionally.
66206         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66207         condition on __ASSUME_CLONE_THREAD_FLAGS.
66209 2012-08-14  Andreas Jaeger  <aj@suse.de>
66211         * sysdeps/i386/fpu/libm-test-ulps: Update.
66213 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
66215         * include/atomic.h (atomic_exchange_and_add): Split into ...
66216         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66217         New atomic macros.
66219 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
66221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66223 2012-08-13  Jeff Law <law@redhat.com>
66225         * manual/stdio.texi (snprintf): Clarify handling of the trailing
66226         null byte in the output string.
66228 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
66230         * sysdeps/unix/sysv/linux/kernel-features.h
66231         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
66232         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
66233         (__ASSUME_ARG_MAX_STACK_BASED): Define.
66234         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66235         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
66236         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
66237         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
66239 2012-08-09  Jeff Law <law@redhat.com>
66241         [BZ #13939]
66242         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
66243         When avoid_arena is set, don't retry in the that arena.  Pick the
66244         next one, whatever it might be.
66245         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
66246         (arena_lock): Pass in new parameter to arena_get2.
66247         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
66248         arena_get2.
66249         (__libc_malloc): Unify retrying after main arena failure with
66250         __libc_memalign version.
66251         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
66253 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
66255         [BZ #14166]
66256         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
66257         to __redirect_strstr.
66258         (__strstr_sse42): Use typeof __redirect_strstr.
66259         (__strstr_ia32): Likewise.
66260         (__libc_strstr): New prototype.
66261         (strstr): Renamed to ...
66262         (__libc_strstr): This.
66263         (strstr): New strong alias of __libc_strstr.
66264         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66265         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
66266         __redirect_time.
66267         Include <time.h>.
66268         (__libc_time): New prototype.
66269         (time_ifunc): Replace time with __libc_time.
66270         (time): New strong alias and hidden definition of __libc_time.
66271         (__GI_time): Remove strong alias.
66272         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
66273         Include <stddef.h>.
66274         (memmove): Redefined to __redirect_memmove.
66275         (__memmove_sse2): Use typeof __redirect_memmove.
66276         (__memmove_ssse3): Likewise.
66277         (__memmove_ssse3_back): Likewise.
66278         (__libc_memmove): New prototype.
66279         (memmove): Renamed to ...
66280         (__libc_memmove): This.
66281         (memmove): New strong alias of __libc_memmove.
66283 2012-08-08  Mark Salter  <msalter@redhat.com>
66285         * elf/elf.h
66286         (R_MN10300_TLS_GD): Define.
66287         (R_MN10300_TLS_LD): Likewise.
66288         (R_MN10300_TLS_LDO): Likewise.
66289         (R_MN10300_TLS_GOTIE): Likewise.
66290         (R_MN10300_TLS_IE): Likewise.
66291         (R_MN10300_TLS_LE): Likewise.
66292         (R_MN10300_TLS_DTPMOD): Likewise.
66293         (R_MN10300_TLS_DTPOFF): Likewise.
66294         (R_MN10300_TLS_TPOFF): Likewise.
66295         (R_MN10300_SYM_DIFF): Likewise.
66296         (R_MN10300_ALIGN): Likewise.
66297         (R_MN10300_NUM): Update.
66299 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
66301         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
66302         Remove.
66304 2012-08-08  Roland McGrath  <roland@hack.frob.com>
66306         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
66308         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
66309         sysdeps/unix -> sysdeps/posix move.
66310         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
66312 2012-08-07      Allan McRae     <allan@archlinux.org>
66314         [BZ #14303]
66315         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
66316         (SUNOS_CPP): Likewise.
66317         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
66318         not found.
66319         (open_input): Call CPP using execvp.
66321 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
66323         * sysdeps/unix/sysv/linux/kernel-features.h
66324         (__ASSUME_PROT_GROWSUPDOWN): Remove.
66325         (__ASSUME_NO_CLONE_DETACHED): Likewise.
66326         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
66327         (__ASSUME_WAITID_SYSCALL): Likewise.
66328         * sysdeps/unix/sysv/linux/dl-execstack.c
66329         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
66330         code unconditional.
66331         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
66332         conditional code.
66333         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
66334         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
66335         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
66336         code.
66337         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
66338         unconditional.
66339         [__ASSUME_WAITID_SYSCALL]: Likewise.
66340         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
66342 2012-08-07  Roland McGrath  <roland@hack.frob.com>
66344         * sysdeps/unix/closedir.c: Renamed to ...
66345         * sysdeps/posix/closedir.c: ... here.
66346         * sysdeps/unix/dirfd.c: Renamed to ...
66347         * sysdeps/posix/dirfd.c: ... here.
66348         * sysdeps/unix/dirstream.h: Renamed to ...
66349         * sysdeps/posix/dirstream.h: ... here.
66350         * sysdeps/unix/fdopendir.c: Renamed to ...
66351         * sysdeps/posix/fdopendir.c: ... here.
66352         * sysdeps/unix/opendir.c: Renamed to ...
66353         * sysdeps/posix/opendir.c: ... here.
66354         * sysdeps/unix/readdir.c: Renamed to ...
66355         * sysdeps/posix/readdir.c: ... here.
66356         * sysdeps/unix/readdir_r.c: Renamed to ...
66357         * sysdeps/posix/readdir_r.c: ... here.
66358         * sysdeps/unix/rewinddir.c: Renamed to ...
66359         * sysdeps/posix/rewinddir.c: ... here.
66360         * sysdeps/unix/seekdir.c: Renamed to ...
66361         * sysdeps/posix/seekdir.c: ... here.
66362         * sysdeps/unix/telldir.c: Renamed to ...
66363         * sysdeps/posix/telldir.c: ... here.
66364         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
66365         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
66366         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
66367         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
66369         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
66370         * bits/fcntl.h: ... here.
66372         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
66373         not 0.
66374         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
66375         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
66376         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
66377         (struct flock): Move l_start, l_len to the beginning.
66378         Use __pid_t for l_pid.
66379         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
66380         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
66381         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
66382         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
66383         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
66384         [__USE_LARGEFILE64] (struct flock64): New type.
66385         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
66387         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
66388         * bits/dirent.h: ... here.
66390         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
66391         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
66393 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
66395         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66396         Change from 2.6.0 to 2.6.16.
66397         * sysdeps/unix/sysv/linux/configure: Regenerated.
66398         * sysdeps/unix/sysv/linux/kernel-features.h
66399         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
66400         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
66401         version.
66402         (__ASSUME_UTIMES): Likewise.
66403         (__ASSUME_CLONE_STOPPED): Remove.
66404         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
66405         architectures, not kernel version.
66406         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
66407         (__ASSUME_NO_CLONE_DETACHED): Likewise.
66408         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
66409         (__ASSUME_WAITID_SYSCALL): Likewise.
66410         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
66411         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
66412         * README: State 2.6.16 as minimum Linux kernel version.  Do not
66413         refer to older versions.
66415 2012-08-06  Roland McGrath  <roland@hack.frob.com>
66417         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
66418         Define alphasort64 as an alias.
66419         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
66420         Define versionsort64 as an alias.
66421         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
66422         Define scandir64 as an alias.
66423         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
66424         Define scandirat64 as an alias.
66425         * dirent/alphasort64.c (alphasort64):
66426         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
66427         * dirent/versionsort64.c: Likewise.
66428         * dirent/scandir64.c: Likewise.
66429         * dirent/scandirat64.c: Likewise.
66430         * sysdeps/wordsize-64/alphasort.c: File removed.
66431         * sysdeps/wordsize-64/alphasort64.c: File removed.
66432         * sysdeps/wordsize-64/scandir.c: File removed.
66433         * sysdeps/wordsize-64/scandir64.c: File removed.
66434         * sysdeps/wordsize-64/scandirat.c: File removed.
66435         * sysdeps/wordsize-64/scandirat64.c: File removed.
66436         * sysdeps/wordsize-64/versionsort.c: File removed.
66437         * sysdeps/wordsize-64/versionsort64.c: File removed.
66438         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
66439         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
66440         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
66441         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
66442         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
66443         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
66444         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
66445         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
66447         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
66448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
66449         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
66450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66451         [defined __arch64__ || defined __sparcv9]
66452         (__INO_T_MATCHES_INO64_T): New macro.
66453         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66454         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
66455         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
66456         * sysdeps/unix/sysv/linux/bits/dirent.h
66457         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
66458         (_DIRENT_MATCHES_DIRENT64): New macro.
66460         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
66461         Define lockf64 as an alias.
66462         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
66463         Define fseeko64 as an alias.
66464         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
66465         Define ftello64 as an alias.
66466         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
66467         Define _IO_fgetpos64 and fgetpos64 as aliases.
66468         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
66469         Define _IO_fsetpos64 and fsetpos64 as aliases.
66470         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
66471         Conditionalize body on this.
66472         * libio/fseeko64.c: Likewise.
66473         * libio/ftello64.c: Likewise.
66474         * libio/iofgetpos64.c: Likewise.
66475         * libio/iofsetpos64.c: Likewise.
66476         * sysdeps/wordsize-64/lockf.c: File removed.
66477         * sysdeps/wordsize-64/lockf64.c: File removed.
66478         * sysdeps/wordsize-64/fseeko.c: File removed.
66479         * sysdeps/wordsize-64/fseeko64.c: File removed.
66480         * sysdeps/wordsize-64/ftello.c: File removed.
66481         * sysdeps/wordsize-64/ftello64.c: File removed.
66482         * sysdeps/wordsize-64/iofgetpos.c: File removed.
66483         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
66484         * sysdeps/wordsize-64/iofsetpos.c: File removed.
66485         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
66486         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
66487         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
66488         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
66489         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
66490         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
66491         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
66492         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
66493         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
66494         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
66495         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
66497         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
66498         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
66499         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
66500         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66501         [defined __arch64__ || defined __sparcv9]
66502         (__OFF_T_MATCHES_OFF64_T): New macro.
66503         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66504         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
66505         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66506         (__OFF_T_MATCHES_OFF64_T): New macro.
66508 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
66510         * stdlib/secure-getenv.c (__secure_getenv): Replace
66511         GLIBC_2_16 with GLIBC_2_17.
66513 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
66515         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
66516         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66518 2012-08-03  David S. Miller  <davem@davemloft.net>
66520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66522 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
66524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
66525         Remove.
66526         (__ASSUME_CORRECT_SI_PID): Likewise.
66527         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
66528         (__ASSUME_TMPFS_NAME): Likewise.
66529         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
66530         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
66531         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
66532         (HAVE_AUX_SECURE): Make definition unconditional.
66533         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
66534         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
66536 2012-08-03  Roland McGrath  <roland@hack.frob.com>
66538         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
66539         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
66540         * sysdeps/mach/hurd/eloop-threshold.h: New file.
66541         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66542         __eloop_threshold instead of SYMLOOP_MAX.
66544         * sysdeps/generic/eloop-threshold.h: New file.
66545         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
66546         of MAXSYMLINKS.
66547         * elf/chroot_canon.c (chroot_canon): Likewise.
66549 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
66551         [BZ #13717]
66552         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66553         Change to 2.6.0 everywhere.
66554         * sysdeps/unix/sysv/linux/configure: Regenerated.
66555         * sysdeps/unix/sysv/linux/kernel-features.h
66556         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
66557         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
66558         kernel versions.
66559         (__ASSUME_POSIX_TIMERS): Define unconditionally.
66560         (__ASSUME_FUTEX_REQUEUE): Remove.
66561         (__ASSUME_STATFS64): Define unconditionally.
66562         (__ASSUME_AT_SECURE): Likewise.
66563         (__ASSUME_CORRECT_SI_PID): Likewise.
66564         (__ASSUME_TGKILL): Define without depending on kernel version for
66565         i386.
66566         (__ASSUME_UTIMES): Likewise.
66567         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
66568         kernel version.
66569         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
66570         (__ASSUME_TMPFS_NAME): Likewise.
66571         * README: Update reference to Linux kernel versions.
66573 2012-08-02  Marek Polacek  <polacek@redhat.com>
66575         [BZ# 14150]
66576         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
66577         libc_cv_asm_type_prefix with %.
66578         * configure: Regenerated.
66579         * include/libc-symbols.h: Remove comment about
66580         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
66581         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
66582         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
66583         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
66584         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
66585         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
66586         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
66587         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
66588         * elf/tst-unique2mod1.c: Likewise.
66589         * elf/tst-unique1mod2.c: Likewise.
66590         * elf/tst-unique1mod1.c: Likewise.
66591         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
66592         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
66593         Replace ASM_TYPE_DIRECTIVE with .type.
66594         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66595         * sysdeps/i386/sysdep.h: Likewise.
66596         * sysdeps/x86_64/sysdep.h: Likewise.
66597         * sysdeps/sh/sysdep.h: Likewise.
66598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66599         Do not define ASM_TYPE_DIRECTIVE.
66600         * sysdeps/powerpc/sysdep.h: Likewise.
66601         * sysdeps/powerpc/powerpc32/sysdep.h:
66602         Replace ASM_TYPE_DIRECTIVE with .type.
66603         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66604         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66605         * sysdeps/i386/fpu/e_powf.S: Likewise.
66606         * sysdeps/i386/fpu/e_expl.S: Likewise.
66607         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66608         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66609         * sysdeps/i386/fpu/e_pow.S: Likewise.
66610         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66611         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66612         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66613         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66614         * sysdeps/i386/fpu/e_log2.S: Likewise.
66615         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66616         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66617         * sysdeps/i386/fpu/e_powl.S: Likewise.
66618         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66619         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66620         * sysdeps/i386/fpu/e_logl.S: Likewise.
66621         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66622         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66623         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66624         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66625         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66626         * sysdeps/i386/fpu/e_log.S: Likewise.
66627         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66628         * sysdeps/i386/fpu/e_logf.S: Likewise.
66629         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66630         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66631         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66632         * sysdeps/i386/fpu/e_log10.S: Likewise.
66633         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66634         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66635         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66636         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66637         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66638         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
66639         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66640         * sysdeps/i386/i686/strtok.S: Likewise.
66641         * sysdeps/i386/i386-mcount.S: Likewise.
66642         * sysdeps/i386/strtok.S: Likewise.
66643         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
66644         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66645         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66646         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66647         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66648         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66649         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66650         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66651         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66652         * sysdeps/x86_64/_mcount.S: Likewise.
66653         * sysdeps/x86_64/strtok.S: Likewise.
66654         * sysdeps/sh/_mcount.S: Likewise.
66656 2012-08-01  Roland McGrath  <roland@hack.frob.com>
66658         * libio/iofopen.c: Include <fcntl.h>.
66659         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
66660         (_IO_fopen64, fopen64): Define as aliases.
66661         * libio/iofopen64.c: Include <fcntl.h>.
66662         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
66663         Conditionalize body on this.
66664         * sysdeps/wordsize-64/iofopen.c: File removed.
66665         * sysdeps/wordsize-64/iofopen64.c: File removed.
66667 2012-08-01  Marek Polacek  <polacek@redhat.com>
66669         * libc/Makeconfig: Use elf in place of binfmt-subdir.
66670         Use dlfcn directly instead of a variable.
66671         (binfmt-subdir): Do not define.
66672         (dlfcn): Likewise.
66674 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
66676         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
66677         Remove all definitions.
66678         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
66679         <kernel-features.h>.
66680         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66681         (miss_F_GETOWN_EX): Remove all definitions.
66682         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
66683         macro definition.
66684         [!__ASSUME_FCNTL64]: Remove conditional code.
66685         [__ASSUME_FCNTL64]: Make code unconditional.
66686         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
66687         <kernel-features.h>.
66688         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66689         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
66690         (lockf64) [__NR_fcntl64]: Make code unconditional.
66691         (lockf64) [__ASSUME_FCNTL64]: Likewise.
66693         * sysdeps/unix/sysv/linux/kernel-features.h
66694         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
66695         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
66696         Make code unconditional.
66697         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66698         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
66700         [__NR_vfork]: Make code unconditional.
66701         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66702         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
66704         [__NR_vfork]: Make code unconditional.
66705         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66706         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66708 2012-08-01  Roland McGrath  <roland@hack.frob.com>
66710         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
66711         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
66713         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66714         Define mkstemp64 as an alias.
66715         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66716         Define mkstemps64 as an alias.
66717         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66718         Define mkostemp64 as an alias.
66719         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66720         Define mkostemps64 as an alias.
66721         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
66722         Conditionalize body on this.
66723         * misc/mkostemp64.c: Likewise.
66724         * misc/mkostemps64.c: Likewise.
66725         * misc/mkstemps64.c: Likewise.
66726         * sysdeps/wordsize-64/mkstemp64.c: File removed.
66727         * sysdeps/wordsize-64/mkostemp64.c: File removed.
66728         * sysdeps/wordsize-64/mkostemp.c: File removed.
66729         * sysdeps/wordsize-64/mkstemp.c: File removed.
66730         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
66731         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
66732         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
66733         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
66735         [BZ #14138]
66736         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
66737         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
66738         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
66739         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
66741         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
66742         compat_symbol macros from <shlib-compat.h> rather than the underlying
66743         default_symbol_version and symbol_version macros, so that DEFAULT
66744         lines in shlib-versions are respected.
66745         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
66747 2012-08-01  Florian Weimer  <fweimer@redhat.com>
66749         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
66750         Declare with warn_unused_result.
66751         (setgid, setregid, setegid, setresgid): Likewise.
66752         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
66753         Likewise.
66754         * WUR-REPORT: Remove set*id functions.
66756 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
66758         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
66760 2012-07-31  Roland McGrath  <roland@hack.frob.com>
66762         [BZ #10191]
66763         * include/sys/socket.h (__libc_accept, __libc_accept4):
66764         Add attribute_hidden.
66765         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
66767         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
66768         use of PTR_MANGLE.
66769         * inet/getnetgrent_r.c (setup): Likewise.
66771         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
66773 2012-07-31  David S. Miller  <davem@davemloft.net>
66775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66777 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
66779         [BZ #13629]
66780         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
66781         value between 1.0 and 2.0 and smaller part has absolute value less
66782         than 1.0.
66783         * math/s_clog10.c (__clog10): Likewise.
66784         * math/s_clog10f.c (__clog10f): Likewise.
66785         * math/s_clog10l.c (__clog10l): Likewise.
66786         * math/s_clogf.c (__clogf): Likewise.
66787         * math/s_clogl.c (__clogl): Likewise.
66788         * math/libm-test.inc (clog_test): Add more tests.
66789         (clog10_test): Likewise.
66790         * sysdeps/i386/fpu/libm-test-ulps: Update.
66791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66793 2012-07-31  Florian Weimer  <fweimer@redhat.com>
66795         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
66796         Exit with zero in case no suitable GID is found, and write a
66797         message to standard error.
66799 2012-07-30  Roland McGrath  <roland@hack.frob.com>
66801         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
66802         rather than to 1.
66803         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
66804         (MAXPATHLEN): Removed.
66805         (NOGROUP, NODEV): New macros.
66806         (setbit, clrbit, isset, isclr): New macros.
66807         (howmany, roundup, powerof2): New macros.
66808         (DEV_BSIZE): New macro.
66810         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
66811         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
66813         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
66814         definition on [!__NO_LONG_DOUBLE_MATH].
66816         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
66817         PTR_MANGLE and PTR_DEMANGLE.
66819         * socket/accept4.c (accept4): Rename to __libc_accept4.
66820         Define accept4 as a weak alias.
66822         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
66823         on [_DIRENT_HAVE_D_TYPE].
66824         * io/ftw.c (ftw_dir): Likewise.
66826         * io/xmknod.c (__xmknod): Don't check PATH for being null.
66828         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
66830         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
66831         Use the BSD numbers rather than the arbitrary ones we had.
66832         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
66833         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
66834         (SIGXCPU, SIGXFSZ): New macros.
66835         (_NSIG): Now 32.
66837         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
66838         initializer on [_LIBC_REENTRANT].
66840         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
66841         definitions inside [_POSIX_MAPPED_FILES].
66843         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
66845         * dirent/opendir.c: Include <fcntl.h>.
66847         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
66848         (__libc_getspecific): Likewise.
66849         (__libc_key_create): Likewise.
66851         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
66852         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
66853         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
66854         (tmpfile64): Define as alias.
66855         * sysdeps/wordsize-64/tmpfile.c: File removed.
66856         * sysdeps/wordsize-64/tmpfile64.c: File removed.
66857         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
66858         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
66860         * stdio-common/vfscanf.c: Include <stdbool.h>.
66861         * nss/makedb.c: Likewise.
66862         * stdio-common/_i18n_number.h: Likewise.
66863         * argp/argp-help.c: Likewise.
66864         * posix/wordexp.c: Likewise.
66865         * sysdeps/posix/spawni.c: Likewise.
66866         * nss/nss_files/files-initgroups.c: Likewise.
66867         * stdio-common/reg-modifier.c: Include <stdlib.h>.
66868         * nss/nss_files/files-initgroups.c: Likewise.
66869         * nss/nss_db/db-netgrp.c: Likewise.
66870         * nss/nss_db/db-initgroups.c: Likewise.
66871         * io/fchmodat.c: Include <sys/stat.h>.
66873         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
66874         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
66876         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
66877         [HAVE_MMAP].
66879         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
66880         Add multiple inclusion protection.
66882 2012-07-27  David S. Miller  <davem@davemloft.net>
66884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66886 2012-07-27  Gary Benson  <gbenson@redhat.com>
66888         [BZ #14298]
66889         * elf/rtld.c: Include <stap-probe.h>.
66890         (dl_main): Added static probes "init_start" and "init_complete".
66891         * elf/dl-load.c: Include <stap-probe.h>.
66892         (lose): Take new parameter "nsid".
66893         Added static probe "map_failed".
66894         (_dl_map_object_from_fd): Pass namespace id to lose.
66895         Added static probe "map_start".
66896         (open_verify): Pass namespace id to lose.
66897         * elf/dl-open.c: Include <stap-probe.h>.
66898         (dl_open_worker) Added static probes "map_complete", "reloc_start"
66899         and "reloc_complete".
66900         * elf/dl-close.c: Include <stap-probe.h>.
66901         (_dl_close_worker): Added static probes "unmap_start" and
66902         "unmap_complete".
66903         * elf/rtld-debugger-interface.txt: New file documenting the above.
66905 2012-07-26  Roland McGrath  <roland@hack.frob.com>
66907         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
66908         rather than a string variable.
66909         * sunrpc/rpc_main.c (h_output): Likewise.
66910         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
66912 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
66914         * inet/check_native.c: New file.
66916 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
66918         [BZ #13629]
66919         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
66920         if larger part has absolute value 1.0.
66921         * math/s_clog10.c (__clog10): Likewise.
66922         * math/s_clog10f.c (__clog10f): Likewise.
66923         * math/s_clog10l.c (__clog10l): Likewise.
66924         * math/s_clogf.c (__clogf): Likewise.
66925         * math/s_clogl.c (__clogl): Likewise.
66926         * math/libm-test.inc (clog_test): Add more tests.
66927         (clog10_test): Likewise.
66928         * sysdeps/i386/fpu/libm-test-ulps: Update.
66929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66931         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
66932         (pltexit): Likewise.
66933         (La_regs): Likewise.
66934         (La_retval): Likewise.
66935         (int_retval): Likewise.
66936         Update #error for removed macros to refer only to definitions in
66937         tst-audit.h.
66938         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
66939         macro.
66940         (pltexit): Likewise.
66941         (La_regs): Likewise.
66942         (La_retval): Likewise.
66943         (int_retval): Likewise.
66944         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
66945         macro.
66946         (pltexit): Likewise.
66947         (La_regs): Likewise.
66948         (La_retval): Likewise.
66949         (int_retval): Likewise.
66950         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66951         macro.
66952         (pltexit): Likewise.
66953         (La_regs): Likewise.
66954         (La_retval): Likewise.
66955         (int_retval): Likewise.
66956         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66957         macro.
66958         (pltexit): Likewise.
66959         (La_regs): Likewise.
66960         (La_retval): Likewise.
66961         (int_retval): Likewise.
66962         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66963         macro.
66964         (pltexit): Likewise.
66965         (La_regs): Likewise.
66966         (La_retval): Likewise.
66967         (int_retval): Likewise.
66968         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66969         macro.
66970         (pltexit): Likewise.
66971         (La_regs): Likewise.
66972         (La_retval): Likewise.
66973         (int_retval): Likewise.
66974         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66975         macro definitions in tst-audit.h.
66976         * sysdeps/i386/tst-audit.h: New file.
66977         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66978         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66979         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66980         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66981         * sysdeps/sh/tst-audit.h: Likewise.
66982         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66983         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66984         * sysdeps/x86_64/tst-audit.h: Likewise.
66986 2012-07-26  Andreas Jaeger  <aj@suse.de>
66988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66989         ptrace.
66991         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66992         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66993         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66994         PTRACE_O_MASK.
66995         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66996         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66997         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66999         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67000         value.
67002         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67003         _sigsys.
67004         (si_call_addr, si_syscall, si_arch): Define new macro.
67005         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67006         _sigsys.
67007         (si_call_addr, si_syscall, si_arch): Define new marcro.
67008         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67009         _sigsys.
67010         (si_call_addr, si_syscall, si_arch): Define new macro.
67011         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67012         _sigsys.
67013         (si_call_addr, si_syscall, si_arch): Define new macro.
67015 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67017         [BZ #13717]
67018         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67019         Change to 2.4.21 where previously 2.4.1.
67020         * sysdeps/unix/sysv/linux/configure: Regenerated.
67021         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67022         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67023         Linux kernel version.
67024         (__ASSUME_STD_AUXV): Remove.
67025         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67026         kernel version.
67027         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67028         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67029         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67030         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67031         (__ASSUME_NETLINK_SUPPORT): Likewise.
67032         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67033         (__no_netlink_support): Remove conditional definition.
67034         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67035         Remove.
67036         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67037         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67038         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67039         (if_nameindex_ioctl): Remove.
67040         (if_nameindex_netlink): Do not handle __no_netlink_support.
67041         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67042         code.
67043         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67044         Remove conditional code.
67045         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67046         code.
67047         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67048         unconditional.
67049         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67050         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67051         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67052         Remove.
67053         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67054         [!__ASSUME_STD_AUXV]: Remove conditional code.
67055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67056         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67057         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67059         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67060         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67061         code.
67062         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67064         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67065         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67066         conditional code.
67067         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67069         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67070         code.
67071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67072         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67073         conditional code.
67074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67075         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67076         code unconditional.
67077         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67078         conditional code.
67079         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67080         unconditional.
67081         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67082         conditional code.
67083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67084         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67085         unconditional.
67086         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67087         conditional code.
67088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67089         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67090         code unconditional.
67091         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67092         conditional code.
67093         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67094         unconditional.
67095         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67096         conditional code.
67097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67098         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67099         code unconditional.
67100         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67101         conditional code.
67102         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67103         unconditional.
67104         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67105         conditional code.
67107 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
67109         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67110         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67111         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67112         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67113         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67114         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67115         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67116         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67117         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67118         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67119         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67120         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67121         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67122         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67123         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67124         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67125         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67126         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67127         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67129         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67130         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67131         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67133 2012-07-25  Florian Weimer  <fweimer@redhat.com>
67135         * Versions.def: Add GLIBC_2.17.
67136         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67137         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67138         Introduce __libc_secure_getenv.
67139         * stdlib/Versions (2.17): Add secure_getenv
67140         (GLIBC_PRIVATE): Add __libc_secure_getenv.
67141         * stdlib/secure-getenv.c: Rename __secure_getenv to
67142         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
67143         symbol __secure_getenv for GLIBC_2.0.
67144         * stdlib/tst-secure-getenv.c: New.
67145         * stdlib/Makefile (tests): Add testcase.
67146         * manual/startup.texi (Environment Access): Document
67147         secure_getenv.
67148         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67149         __libc_secure_getenv.
67150         * inet/ruserpass.c (ruserpass): Likewise.
67151         * malloc/mtrace.c (mtrace): Likewise.
67152         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67153         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67154         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67155         * sysdeps/posix/tempname.c: Likewise.  Evaluate
67156         HAVE_SECURE_GETENV.
67157         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67158         __secure_getenv to __libc_secure_getenv.
67159         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67161         Likewise.
67162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67163         Likewise.
67164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67166         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67172 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67174         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67175         (struct La_i86_retval): Likewise.
67176         (struct La_x86_64_regs): Likewise.
67177         (struct La_x86_64_retval): Likewise.
67178         (struct La_x32_regs): Likewise.
67179         (struct La_x32_retval): Likewise.
67180         (struct La_ppc32_regs): Likewise.
67181         (struct La_ppc32_retval): Likewise.
67182         (struct La_ppc64_regs): Likewise.
67183         (struct La_ppc64_retval): Likewise.
67184         (struct La_sh_regs): Likewise.
67185         (struct La_sh_retval): Likewise.
67186         (struct La_s390_32_regs): Likewise.
67187         (struct La_s390_32_retval): Likewise.
67188         (struct La_s390_64_regs): Likewise.
67189         (struct La_s390_64_retval): Likewise.
67190         (struct La_sparc32_regs): Likewise.
67191         (struct La_sparc32_retval): Likewise.
67192         (struct La_sparc64_regs): Likewise.
67193         (struct La_sparc64_retval): Likewise.
67194         (struct audit_ifaces): Remove architecture-specific pltenter and
67195         pltexit members.
67196         * sysdeps/i386/ldsodefs.h: New file.
67197         * sysdeps/powerpc/ldsodefs.h: Likewise.
67198         * sysdeps/s390/ldsodefs.h: Likewise.
67199         * sysdeps/sh/ldsodefs.h: Likewise.
67200         * sysdeps/sparc/ldsodefs.h: Likewise.
67201         * sysdeps/x86_64/ldsodefs.h: Likewise.
67203 2012-07-25  Marek Polacek  <polacek@redhat.com>
67205         [BZ #6808]
67206         * math/libm-test.inc (yn_test): Add another test.
67207         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67208         to ERANGE when the result is +-Inf.
67209         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67210         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67211         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67212         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67214 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
67216         * conform/data/time.h-data (NULL): Use macro-constant.  Require
67217         equal to 0.
67218         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
67219         clock_t.
67220         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
67222 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
67224         * configure.in <sysdeps resolving>: Correct printing
67225         Implies_before.
67226         * configure: Regenerate.
67228 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
67230         * math/w_ilogb.c: Include <limits.h>.
67231         * math/w_ilogbl.c: Likewise.
67233 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
67235         * manual/lang.texi (__va_copy): Document primarily as ISO C99
67236         va_copy.  Document allowing for unavailable va_copy only as
67237         pre-C99 compatibility.
67238         * manual/string.texi (Copying and Concatenation): Use va_copy
67239         instead of __va_copy in concat example.
67241 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
67243         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
67244         (__sendto): Use create_address_port.  Initialize APORT and deallocate
67245         it if not null.
67247         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
67248         with O_NOLINK passed to __file_name_lookup.
67250         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
67251         with O_NOLINK passed to __file_name_lookup.
67253         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
67254         negative N or less than NGIDS.
67256         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
67257         type to string_t.  Set ERANGE as errno and return it if NAME is not big
67258         enough.  Use memcpy instead of strncpy.
67260 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
67262         * elf/Makefile (check-data): Remove.
67263         (localplt.data): New vpath directive.
67264         ($(objpfx)check-localplt.out): Use localplt.data from vpath
67265         instead of $(check-data).
67266         * scripts/data/localplt-generic.data: Move to ...
67267         * sysdeps/generic/localplt.data: ... here.
67268         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
67269         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
67270         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
67271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
67272         ... here.
67273         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
67274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
67275         ... here.
67276         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
67277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
67278         ... here.
67279         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
67280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
67281         ... here.
67282         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
67283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
67284         ... here.
67285         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
67286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
67287         ... here.
67289 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67291         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
67292         PPC32 and PPC64 files.
67293         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
67294         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
67296 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67298         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
67299         __makecontext_ret to ...
67300         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
67301         ... here and call exit if uc_link is NULL.  New file.
67302         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
67303         __makecontext_ret.S.
67304         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
67305         __makecontext_ret to ...
67306         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
67307         ... here and call exit if uc_link is NULL.  New file.
67308         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
67309         __makecontext_ret.S.
67311 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67313         * elf/elf.h (R_390_IRELATIVE): New definition.
67314         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
67315         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
67316         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
67317         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
67318         (elf_machine_lazy_rel): Likewise.
67319         * sysdeps/s390/dl-irel.h: New file.
67320         * sysdeps/s390/s390-64/memcpy.S: New asm code.
67321         * sysdeps/s390/s390-64/memset.S: New asm code.
67322         * sysdeps/s390/s390-64/memcmp.S: New asm code.
67323         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
67324         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
67325         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
67326         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
67327         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
67328         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
67329         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
67330         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
67331         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
67332         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
67333         * sysdeps/s390/s390-32/memcpy.S: New asm code.
67334         * sysdeps/s390/s390-32/memset.S: New asm code.
67335         * sysdeps/s390/s390-32/memcmp.S: New asm code.
67337 2012-07-17  Marek Polacek  <polacek@redhat.com>
67339         [BZ #14349]
67340         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
67341         * sysdeps/s390/s390-64/configure.in: Likewise.
67342         * sysdeps/sparc/configure.in: Likewise.
67343         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
67344         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
67345         * sysdeps/i386/configure.in: Likewise.
67346         * sysdeps/x86_64/configure.in: Likewise.
67347         * sysdeps/sh/configure.in: Likewise.
67348         * sysdeps/s390/s390-32/configure: Regenerated.
67349         * sysdeps/s390/s390-64/configure: Likewise.
67350         * sysdeps/x86_64/configure: Likewise.
67351         * sysdeps/sh/configure: Likewise.
67352         * sysdeps/powerpc/powerpc64/configure: Likewise.
67353         * sysdeps/powerpc/powerpc32/configure: Likewise.
67354         * sysdeps/sparc/configure: Likewise.
67355         * sysdeps/i386/configure: Likewise.
67357         * elf/dl-open.c: Comment fixes.
67359 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
67361         * Makefile [CXX] (check-data): Remove.
67362         [CXX] (c++-types.data): New vpath directive.
67363         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
67364         vpath.  Do not allow for C++ type data being missing.
67365         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
67366         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
67367         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
67368         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
67369         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
67370         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
67371         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
67372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
67373         ... here.
67374         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
67375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
67376         ... here.
67377         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
67378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
67379         ... here.
67380         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
67381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
67382         ... here.
67383         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
67384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
67385         ... here.
67386         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
67387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
67388         ... here.
67389         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
67390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
67391         ... here.
67392         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
67393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
67395         * elf/tls-macros.h (TLS_LE): Move architecture-specific
67396         definitions to architecture-specific files.
67397         (TLS_IE): Likewise.
67398         (TLS_LD): Likewise.
67399         (TLS_GD): Likewise.
67400         * sysdeps/i386/tls-macros.h: New file.
67401         * sysdeps/powerpc/tls-macros.h: Likewise.
67402         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
67403         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
67404         * sysdeps/sh/tls-macros.h: Likewise.
67405         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
67406         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
67407         * sysdeps/x86_64/tls-macros.h: Likewise.
67409 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
67411         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
67412         zero value for regular exit case.
67414         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
67415         (__start_context): Preserve zero value for regular exit case.
67417 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
67418             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67420         * manual/setjmp.texi (setcontext): Clarify normal process
67421         termination when uc_link is the null pointer.
67422         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
67423         exit call.
67425 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
67427         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
67428         preprocessor.  Test for each exception mask separately.
67430 2012-07-16  Andreas Jaeger  <aj@suse.de>
67432         * po/ru.po: Update from translation team.
67434 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
67436         * conform/data/string.h-data (NULL): Use macro-constant.  Require
67437         equal to 0.
67438         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67439         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67440         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
67441         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
67442         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67444 2012-07-13  Andreas Jaeger  <aj@suse.de>
67446         * po/fr.po: Update from translation team.
67448 2012-07-12  Marek Polacek  <polacek@redhat.com>
67450         [BZ #14173]
67451         * math/libm-test.inc (yn_test): Add test for BZ #14173.
67452         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
67453         loop condition.
67455 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
67457         [BZ #13717]
67458         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67459         Change to 2.4.1 where previously 2.4.0.
67460         * sysdeps/unix/sysv/linux/configure: Regenerated.
67461         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
67462         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
67463         version.
67464         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
67465         (__ASSUME_AT_CLKTCK): Remove.
67466         (__ASSUME_AT_PAGESIZE): Likewise.
67467         (__ASSUME_AT_XID): Likewise.
67468         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
67469         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
67470         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
67471         unconditionally.
67472         (HAVE_AUX_PAGESIZE): Likewise.
67473         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
67474         [__ASSUME_AT_CLKTCK]: Make code unconditional.
67475         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
67477 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
67479         [BZ #14307]
67480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
67481         the temporary buffer used to invoke __gethostbyname2_r,
67482         __gethostbyaddr_r and gethostbyname4_r to make room for struct
67483         host_data / struct gaih_addrtuple.
67484         * resolv/nss_dns/dns-host.c (global scope): Move definition of
67485         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
67486         header file nss/nsswitch.h.
67487         * nss/nsswitch.h (global scope): Add definition of implementation
67488         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
67489         resolv/nss_dns/dns-host.c).
67491 2012-07-11  Andreas Jaeger  <aj@suse.de>
67493         * po/fr.po: Update from translation team.
67495         * po/sv.po: Update from translation team
67496         * po/fr.po: Another update from translation team.
67498 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67500         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
67501         for subnormals or multiply small sinh result by itself.
67502         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67505 2012-07-11  David S. Miller  <davem@davemloft.net>
67507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67509 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
67511         [BZ #14347]
67512         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
67513         (INTERNAL_MARK): Shift it here.
67515 2012-07-10  Marek Polacek  <polacek@redhat.com>
67517         [BZ #14151]
67518         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
67519         libc_cv_asm_global_directive with .globl.
67520         * configure: Regenerated.
67521         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
67522         with .globl.
67523         * sysdeps/i386/configure: Regenerated.
67524         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
67525         with .globl.
67526         * sysdeps/x86_64/configure: Regenerated.
67527         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
67528         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
67529         * elf/tst-unique2mod2.c: Likewise.
67530         * elf/tst-unique2mod1.c: Likewise.
67531         * elf/tst-unique1mod2.c: Likewise.
67532         * elf/tst-unique1mod1.c: Likewise.
67533         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67534         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67535         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67536         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67537         * sysdeps/mach/sysdep.h: Likewise.
67538         * sysdeps/i386/sysdep.h: Likewise.
67539         * sysdeps/i386/i386-mcount.S: Likewise.
67540         * sysdeps/x86_64/_mcount.S: Likewise.
67541         * sysdeps/x86_64/sysdep.h: Likewise.
67542         * sysdeps/sh/_mcount.S: Likewise.
67543         * sysdeps/sh/sysdep.h: Likewise.
67544         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
67545         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
67546         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
67547         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67548         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
67549         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
67550         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
67551         * locale/localeinfo.h: Likewise.
67552         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
67553         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
67555 2012-07-09  Roland McGrath  <roland@hack.frob.com>
67557         [BZ #14336]
67558         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
67559         system".
67560         * manual/message.texi (The Uniforum approach): Likewise.
67561         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
67562         (glibc iconv Implementation): Likewise.
67564 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
67566         [BZ #14337]
67567         * math/s_clog.c (__clog): Avoid scaling a value down where that
67568         could result in underflow.
67569         * math/s_clog10.c (__clog10): Likewise.
67570         * math/s_clog10f.c (__clog10f): Likewise.
67571         * math/s_clog10l.c (__clog10l): Likewise.
67572         * math/s_clogf.c (__clogf): Likewise.
67573         * math/s_clogl.c (__clogl): Likewise.
67574         * math/libm-test.inc (clog_test): Add more tests.
67575         (clog10_test): Likewise.
67576         * sysdeps/i386/fpu/libm-test-ulps: Update.
67577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67579 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
67581         [BZ #14283]
67582         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
67583         by 7 not 8 to examine high bit of fractional part.
67585         [BZ #14042]
67586         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
67587         for call to __mcount_internal.
67588         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
67589         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
67590         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
67592 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
67594         [BZ #14154]
67595         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
67596         approximation for values within 0x1p-13f of an odd multiple of
67597         pi/4.
67598         * math/libm-test.inc (tan_test): Do not allow spurious underflow
67599         exception.  Add more tests.
67600         * sysdeps/i386/fpu/libm-test-ulps: Update.
67602         [BZ #6778]
67603         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
67604         inputs and return -1 for them.  Do not check for +Inf in case not
67605         reachable for +Inf.
67606         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
67607         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
67608         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
67609         and return -1 for them.  Do not check for +Inf in case not
67610         reachable for +Inf.
67611         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
67612         define.
67613         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
67614         and return -1 for them.  Do not check for +Inf in case not
67615         reachable for +Inf.
67616         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
67617         spurious underflow.
67618         * sysdeps/i386/fpu/libm-test-ulps: Update.
67619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67621 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
67623         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
67625 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
67627         [BZ #14157]
67628         [BZ #14331]
67629         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
67630         could result in spurious underflow.  Scale down values above
67631         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
67632         * math/s_csqrtf.c (__csqrtf): Likewise.
67633         * math/s_csqrtl.c (__csqrtl): Likewise.
67634         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
67635         spurious underflow.
67636         * sysdeps/i386/fpu/libm-test-ulps: Update.
67637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67639 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
67641         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
67642         xopen-msg.sed.
67643         * catgets/xopen-msg.awk: New file.
67644         * catgets/xopen-msg.sed: Removed.
67646         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
67647         po2text.sed.
67648         * intl/po2test.awk: New file.
67649         * intl/po2test.sed: Removed.
67651 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
67653         [BZ #14328]
67654         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
67655         or multiply small sinh result by itself.
67656         * math/s_ctanf.c (__ctanf): Likewise.
67657         * math/s_ctanh.c (__ctanh): Likewise.
67658         * math/s_ctanhf.c (__ctanhf): Likewise.
67659         * math/s_ctanhl.c (__ctanhl): Likewise.
67660         * math/s_ctanl.c (__ctanl): Likewise.
67661         * math/libm-test.inc (ctan_test_tonearest): New function.
67662         (ctan_test_towardzero): Likewise.
67663         (ctan_test_downward): Likewise.
67664         (ctan_test_upward): Likewise.
67665         (ctanh_test_tonearest): Likewise.
67666         (ctanh_test_towardzero): Likewise.
67667         (ctanh_test_downward): Likewise.
67668         (ctanh_test_upward): Likewise.
67669         (main): Call these new functions.
67670         * sysdeps/i386/fpu/libm-test-ulps: Update.
67671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67673 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
67675         * .gitignore: Delete /ports entry.
67677 2012-07-03  Andreas Jaeger  <aj@suse.de>
67679         * po/bg.po: Update from translation team.
67680         * po/cs.po: Likewise.
67681         * po/de.po: Likewise.
67682         * po/hr.po: Likewise.
67683         * po/nl.pl: Likewise.
67684         * po/pl.po: Likewise.
67685         * po/vi.po: Likewise.
67687 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
67689         * Makeconfig [!+link] (+link-before-libc): New variable.
67690         [!+link] (+link-after-libc): Likewise.
67691         [!+link] (+link-tests): Likewise.
67692         [!+link] (+link): Define in terms of $(+link-before-libc) and
67693         $(+link-after-libc).
67694         [!+link-static] (+link-static-before-libc): New variable.
67695         [!+link-static] (+link-static-after-libc): Likewise.
67696         [!+link-static] (+link-static-tests): Likewise.
67697         [!+link-static] (+link-static): Define in terms of
67698         $(+link-static-before-libc) and $(+link-static-after-libc).
67699         [build-shared] (link-libc-before-gnulib): New variable.
67700         [build-shared] (link-libc-tests): Likewise.
67701         [build-shared] (link-libc): Define in terms of
67702         $(link-libc-before-gnulib).
67703         [!build-shared] (link-libc-tests): New variable.
67704         (link-libc-static-tests): New variable.
67705         [!gnulib] (gnulib-arch): New variable.
67706         [!gnulib] (gnulib-tests): Likewise.
67707         [!gnulib] (static-gnulib-arch): Likewise.
67708         [!gnulib] (static-gnulib-tests): Likewise.
67709         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
67710         Define with "=" instead of ":=".
67711         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
67712         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
67713         * Rules (binaries-all-notests): New variable.
67714         (binaries-all-tests): Likewise.
67715         (binaries-static-notests): Likewise.
67716         (binaries-static-tests): Likewise.
67717         (binaries-all): Define using $(binaries-all-notests) and
67718         $(binaries-all-tests).
67719         (binaries-static): Define using $(binaries-static-notests) and
67720         $(binaries-static-tests).
67721         (binaries-shared-tests): New variable.
67722         (binaries-shared-notests): Likewise.
67723         (binaries-shared): Remove variable.
67724         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
67725         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
67726         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
67727         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
67728         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
67729         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
67730         * elf/Makefile (sln-modules): New variable.
67731         (extra-objs): Add $(sln-modules:=.o).
67732         (ldconfig-modules): Add static-stubs.
67733         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
67734         * elf/static-stubs.c: New file.
67736         [BZ #14283]
67737         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
67738         by 7 not 8 to examine high bit of fractional part.  Use volatile
67739         variables when splitting into final array of floats if
67740         __FLT_EVAL_METHOD__ != 0.
67741         * math/libm-test.inc (cos_test): Add another test.
67742         (sin_test): Likewise.
67743         * sysdeps/i386/fpu/libm-test-ulps: Update.
67745         [BZ #14273]
67746         * math/libm-test.inc (cosh_test): Add more tests.
67748         * version.h (RELEASE): Set to "development".
67749         (VERSION): Set to "2.16.90".
67751 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
67753         * NEWS: Update copyright. Remove last-updated date.
67754         Mention math library bug fixes and timezone data changes.
67755         * README: Mention GNU/Hurd, x32, and HPPA support status.
67757 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
67759         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
67761 2012-06-27  Andreas Jaeger  <aj@suse.de>
67763         * manual/contrib.texi (Contributors): Add Samuel Thibault.
67765 2012-06-25  Andreas Jaeger  <aj@suse.de>
67767         * sysdeps/s390/fpu/libm-test-ulps: Update.
67769 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
67770             Thomas Schwinge  <thomas@codesourcery.com>
67772         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
67773         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
67774         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
67775         fanotify_mark.
67777 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
67779         * sysdeps/mach/start.c: Remove file.
67780         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
67781         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
67782         * sysdeps/sh/init-first.c: Likewise.
67784         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
67785         registers for frame unwinding purposes, add CFI directives.
67786         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67787         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
67788         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
67789         Likewise.
67791         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
67792         __fortify_fail returning.
67793         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67795         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
67796         sysdeps/sh/____longjmp_chk.S.
67797         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
67798         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
67799         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
67800         (gen-as-const-headers): Append sigaltstack-offsets.sym.
67802         * sysdeps/sh/abort-instr.h: New file.
67803         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
67804         process in case exit returns.
67806         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
67807         initialize the GOT register before use.
67809         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
67810         calculation of ARGC > 4.
67812         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
67813         meaningful names to some local labels.
67815 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67816             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67818         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
67819         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
67820         (__arch_compare_and_exchange_val_16_acq): Likewise.
67821         (__arch_compare_and_exchange_val_32_acq): Likewise.
67822         (atomic_exchange_and_add): Fix gUSA sequence.
67823         (atomic_add): Likewise.
67824         (atomic_add_negative): Likewise.
67825         (atomic_add_zero): Likewise.
67826         (atomic_bit_test_set): Likewise.
67828 2012-06-22  Andreas Schwab  <schwab@redhat.com>
67830         [BZ #13579]
67831         * include/link.h (struct link_map): Add l_free_initfini.
67832         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
67833         l_initfini.
67834         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
67835         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
67836         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
67837         set.
67839 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
67841         * configure.in: Use AC_LANG_SOURCE.
67842         * configure: Regenerate.
67844 2012-06-22  Roland McGrath  <roland@hack.frob.com>
67846         * configure.in (libc_cv_localstatedir): New substituted variable.
67847         * configure: Regenerated.
67848         * config.make.in (localstatedir): New variable, substituted from
67849         libc_cv_localstatedir.
67850         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
67851         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
67852         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
67853         * sysdeps/gnu/configure: Regenerated.
67855 2012-06-21  Jeff Law  <law@redhat.com>
67857         [BZ #14277]
67858         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
67859         free.  Simplify list management for _LIBC case.
67861 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
67863         [BZ #14273]
67864         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
67865         Clear sign bit of 64-bit integer value before comparing against
67866         overflow value.
67868         * sysdeps/mach/configure: Regenerated.
67870 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
67872         [BZ #14278]
67873         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
67875 2012-06-21  Jeff Law  <law@redhat.com>
67877         [BZ #13882]
67878         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
67879         uint16_t for elements in the "seen" array to avoid char overflows.
67880         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67881         * elf/dl-open.c (dl_open_worker): Likewise.
67883 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
67885         * scripts/list-sources.sh: Scan PORTS for translations.
67886         * po/libc.pot: Regenerated.
67888 2012-06-21  Andreas Jaeger  <aj@suse.de>
67890         [BZ #12194]
67891         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
67892         warning.
67893         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
67894         * bits/byteswap-16.h (__bswap_16): Likewise.
67895         * bits/byteswap.h (__bswap_constant_16): Likewise.
67897 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
67899         [BZ #14117]
67900         * sysdeps/i386/fpu_control.h: Removed.
67901         * sysdeps/x86_64/fpu_control.h: Moved to ...
67902         * sysdeps/x86/fpu_control.h: Here.
67904         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
67905         (_FPU_SETCW): Likewise.
67907 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
67909         [BZ #14117]
67910         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
67911         * sysdeps/x86/fpu/bits/mathinline.h: This.
67912         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
67914         [BZ #14050]
67915         [BZ #14117]
67916         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
67917         functions if __x86_64__ is defined.
67919 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
67921         * string/endian.h: Add !__ASSEMBLER__ condition for including
67922         conversion interfaces.
67924 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
67926         [BZ #14241]
67927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
67928         of ABS(x) in calculating zero to negative powers other than odd
67929         integers.
67930         * math/libm-test.inc (pow_test): Add more tests.
67932 2012-06-15  Andreas Jaeger  <aj@suse.de>
67934         * manual/contrib.texi (Contributors): Update entry of Liubov
67935         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
67936         Machado Filho.
67938 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
67940         * string/string.h: Add __wur to GNU version of strerror_r.
67942 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
67944         [BZ #14229]
67945         * string/Makefile (tests): Add tst-strtok_r.
67946         * string/tst-strtok_r.c: New file.
67947         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67948         RAX_LP/RDX_LP on SAVE_PTR.
67950 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67952         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67954 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67956         * libm_test.inc (csqrt_test): Allow more spurious underflow
67957         exceptions.
67958         (j0_test): Likewise.
67959         (j1_test): Likewise.
67960         (y0_test): Likewise.
67961         (y1_test): Likewise.
67963 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67965         * po/Makefile (libc.pot): Use UTF-8 charset.
67967 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67969         [BZ #14210]
67970         Suppress sign-conversion warning from FD_SET.
67971         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67972         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67973         not unsigned long int.
67974         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67976 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67978         [BZ #14050]
67979         [BZ #14117]
67980         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67981         __extern_always_inline instead of __extern_inline.
67982         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67983         (__signbit): Likewise.
67984         (__signbitl): Support C++ namespace.
67985         (lrintf): New inline function.
67986         (lrint): Likewise.
67987         (llrintf): Likewise.
67988         (llrint): Likewise.
67989         (fmaxf): Likewise.
67990         (fmax): Likewise.
67991         (fminf): Likewise.
67992         (fmin): Likewise.
67993         (rint): Likewise.
67994         (rintf): Likewise.
67995         (ceil): Likewise.
67996         (ceilf): Likewise.
67997         (floor): Likewise.
67998         (floorf): Likewise.
67999         (nearbyint): Likewise.
68000         (nearbyintf): Likewise.
68002 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
68004         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68005         non-default versions.
68007 2012-06-11  Roland McGrath  <roland@hack.frob.com>
68009         [BZ #14218]
68010         * manual/argp.texi (Argp): Reword argp_parse description slightly.
68012 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
68014         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68015         (FE_UPWARD, FE_DOWNWARD): Don't define.
68016         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68017         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68019         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68020         reading it.
68021         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68022         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68024 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68026         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68027         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68028         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68029         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68031 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
68033         [BZ #14117]
68034         * sysdeps/i386/fpu/bits/fenv.h: Removed.
68035         * sysdeps/i386/fpu/Implies: New file.
68036         * sysdeps/x86_64/fpu/Implies: Likewise.
68037         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68038         * sysdeps/x86/fpu/bits/fenv.h: This.
68040         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68041         __SSE_MATH__.
68043 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68045         [BZ #14134]
68046         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68047         character 0xffff that matches the last element of the
68048         conversion table.
68050 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68052         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68053         fmodl commit.
68055 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68057         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68058         values higher than 25.6283.
68060 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68062         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68063         subnormal exponent extraction and add some __builtin_expect.
68064         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68065         Fix for subnormal mantissa calculation.
68067 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
68069         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68070         cpu2 is -1 and errno is not ENOSYS.
68072 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
68074         [BZ #14117]
68075         * sysdeps/i386/i486/bits/string.h: Renamed to ...
68076         * sysdeps/x86/bits/string.h: This.
68077         * sysdeps/x86_64/bits/string.h: Removed.
68079         * sysdeps/i386/i486/bits/string.h: Define inline functions only
68080         if not compiling for x86-64, but compiling for >= i486.
68082         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68083         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68085         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68086         New macro from Linux kernel 3.4.0.
68087         (FP_XSTATE_MAGIC2): Likewise.
68088         (FP_XSTATE_MAGIC2_SIZE): Likewise.
68089         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68090         (struct _fpx_sw_bytes): New struct.
68091         (struct _xsave_hdr): Likewise.
68092         (struct _ymmh_state): Likewise.
68093         (struct _xstate): Likewise.
68095         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68096         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68097         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68098         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68099         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68100         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68102         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68103         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68104         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68105         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68106         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68107         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68109 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68111         [BZ #13743]
68112         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68113         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68114         (sysdep_headers): Include sys/platform/ppc.h.
68115         * sysdeps/powerpc/test-gettimebase.c: Test for
68116         __ppc_get_timebase() to catch future ISA opcode/insn changes.
68117         * manual/Makefile (appendices): Include platform.texi.
68118         * manual/contrib.texi (Contributors): Update @node pointers.
68119         * manual/maint.texi (Maintenance): Likewise.
68120         (Platform): New node.
68121         * manual/platform.texi: New file.  Document the new features.
68123 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68124             Jakub Jelinek  <jakub@redhat.com>
68126         [BZ #14188]
68127         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68128         where __builtin_expect is unavailable.
68130 2012-06-03  David S. Miller  <davem@davemloft.net>
68132         * stdlib/longlong.h: Updated from GCC.
68134 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
68136         [BZ #14042]
68137         * sysdeps/powerpc/powerpc32/mcount.c: New file.
68138         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68139         __mcount_internal.
68140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68141         (GLIBC_2.16): Likewise.
68143 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68145         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68147 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68150         (default-abi): New variable.
68151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68152         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68153         variable.
68154         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68155         Likewise.
68156         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68157         Likewise.
68158         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68159         Likewise.
68161         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68162         definition.  Document in comment.
68164 2012-06-01  David S. Miller  <davem@davemloft.net>
68166         * stdlib/longlong.h: Updated from GCC.
68168 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68170         [BZ #14117]
68171         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68172         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68173         sys/debugreg.h sys/io.h here.
68174         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68175         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68176         sys/io.h.
68177         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68178         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68179         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68180         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68181         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68182         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68184         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68185         Define only if __x86_64__ is defined.
68187 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68189         [BZ #14048]
68190         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68191         Use int64_t for variable i.
68192         * math/libm-test.inc (fmod_test): Add more tests.
68194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68195         z computation is not scheduled after fetestexcept.
68196         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68197         Use math_force_eval instead of asm to ensure calculation scheduled
68198         before exception test.
68199         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68200         Ensure a1 + u.d computation is not scheduled after fetestexcept.
68202 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
68204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68205         computation is not scheduled after fetestexcept.
68207 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68209         [BZ #14117]
68210         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68211         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68213 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68215         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68216         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68218 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68220         [BZ #14117]
68221         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68222         <bits/wordsize.h>.
68223         (__WCHAR_MIN): Support __WORDSIZE == 64.
68224         (__WCHAR_MAX): Likewise.
68226         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
68227         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
68229         [BZ #14183]
68230         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68231         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
68233         [BZ #14117]
68234         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
68235         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
68237         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
68238         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
68240         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
68241         Defined to 1 if __x86_64__ isn't defined.
68242         (_STAT_VER_LINUX_OLD): New.
68243         (st_atime): Remove duplicate.
68244         (st_mtime): Likewise.
68245         (st_ctime): Likewise.
68247 2012-05-31  David S. Miller  <davem@davemloft.net>
68249         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
68250         entries.
68252 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
68254         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
68255         gen-libm-test.pl.
68257         [BZ #14132]
68258         * elf/dl-reloc.c: Include <_itoa.h>.
68259         (_dl_reloc_bad_type): Remove use of INTUSE.
68260         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
68261         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
68262         * stdio-common/psiginfo.c (psiginfo): Likewise.
68263         * stdio-common/psignal.c (psignal): Likewise.
68264         * string/strsignal.c (strsignal): Likewise.
68265         * include/signal.h (_sys_siglist): Declare hidden proto.
68266         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
68267         INTVARDEF with libc_hidden_data_def.
68268         * stdio-common/itoa-udigits.c: Likewise.
68269         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
68270         (_itoa_lower_digits_internal): Remove declaration.
68271         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
68272         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
68273         (_sys_sigabbrev_internal): Remove aliases.
68274         (_sys_siglist): Define hidden alias.
68276 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
68278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68279         bits/sysctl.h.
68281 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68283         [BZ #14117]
68284         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
68285         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
68287         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
68288         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
68289         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
68290         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
68291         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
68292         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
68294         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
68295         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
68296         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
68298         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
68299         with __addr.
68300         (insw): Likewise.
68301         (insl): Likewise.
68302         (outsb): Likewise.
68303         (outsw): Likewise.
68304         (outsl): Likewise.
68306         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
68307         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
68308         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
68310         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
68311         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
68312         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
68313         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
68314         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
68315         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
68317         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
68318         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
68320         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
68321         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
68323         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
68324         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
68325         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
68327         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
68328         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
68329         to ...
68330         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
68332         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
68333         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
68334         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
68336         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
68337         for x86-64.
68338         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
68340 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
68342         * math/math.h (M_El): Use two more decimal places.
68343         (M_LOG2El): Likewise.
68344         (M_LOG10El): Likewise.
68345         (M_LN2l): Likewise.
68346         (M_LN10l): Likewise.
68347         (M_PIl): Likewise.
68348         (M_PI_2l): Likewise.
68349         (M_PI_4l): Likewise.
68350         (M_1_PIl): Likewise.
68351         (M_2_PIl): Likewise.
68352         (M_2_SQRTPIl): Likewise.
68353         (M_SQRT2l): Likewise.
68354         (M_SQRT1_2l): Likewise.
68356 2012-05-31  David S. Miller  <davem@davemloft.net>
68358         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
68359         values between float registers.
68360         * sysdeps/sparc/sparc64/memset.S: Likewise.
68361         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68363 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
68365         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
68366         -D_FORTIFY_SOURCE=1.
68367         (CPPFLAGS-tst-longjmp_chk.c): Define.
68368         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
68369         (CPPFLAGS-tst-longjmp_chk2.c): Define.
68370         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
68371         CFLAGS-tst-wchar-h.c.
68373 2012-05-31  Marek Polacek  <polacek@redhat.com>
68375         [BZ #14132]
68376         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
68377         __endmntent_internal): Remove declaration.
68378         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
68379         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
68380         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
68382 2012-05-30  David S. Miller  <davem@davemloft.net>
68384         * sysdeps/sparc/sparc32/soft-fp/q_util.c
68385         (___Q_simulate_exceptions): Use real FP ops rather than writing
68386         into the %fsr.
68387         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
68388         Likewise.
68390 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68392         [BZ #14117]
68393         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
68394         * sysdeps/x86/bits/xtitypes.h: This.
68396         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
68397         * sysdeps/x86/bits/wordsize.h: This.
68399         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
68400         * sysdeps/x86/bits/huge_vall.h: This.
68402         * sysdeps/i386/bits/select.h: Removed.
68403         * sysdeps/x86_64/bits/select.h: Renamed to ...
68404         * sysdeps/x86/bits/select.h: This.
68406         * sysdeps/i386/bits/setjmp.h: Removed.
68407         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
68408         * sysdeps/x86/bits/setjmp.h: This.
68410         * sysdeps/i386/bits/mathdef.h: Removed.
68411         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
68412         * sysdeps/x86/bits/mathdef.h: This.
68414 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
68416         [BZ #14132]
68417         * include/sys/socket.h (__connect_internal)
68418         (__libc_sa_len_internal): Remove declaration.
68419         (__connect, __libc_sa_len): Declare hidden_proto.
68420         (SA_LEN): Remove use of INTUSE.
68421         * socket/connect.c: Add libc_hidden_def.
68422         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
68423         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
68424         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
68425         alias.
68426         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
68427         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
68428         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
68429         of adding _internal alias.
68431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68433         [BZ #14117]
68434         * sysdeps/i386/bits/link.h: Removed.
68435         * sysdeps/i386/bits/linkmap.h: Likewise.
68436         * sysdeps/x86_64/bits/link.h: Renamed to ...
68437         * sysdeps/x86/bits/link.h: This.
68438         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
68439         * sysdeps/x86/bits/linkmap.h: This.
68441         * sysdeps/i386/bits/endian.h: Removed.
68442         * sysdeps/x86_64/bits/endian.h: Renamed to ...
68443         * sysdeps/x86/bits/endian.h: This.
68445         * sysdeps/i386/bits/byteswap.h: Removed.
68446         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68447         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
68448         * sysdeps/x86/bits/byteswap.h: This.
68449         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
68450         * sysdeps/x86/bits/byteswap-16.h: This.
68451         * sysdeps/i386/Implies: Add x86.
68452         * sysdeps/x86_64/Implies: Likewise.
68454 2012-05-30  David S. Miller  <davem@davemloft.net>
68456         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
68457         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
68458         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
68459         (FP_TRAPPING_EXCEPTIONS): Define.
68460         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
68461         (FP_TRAPPING_EXCEPTIONS): Define.
68462         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
68463         subnormals only when inexact has been signalled or underflow
68464         exceptions are enabled.
68465         (_FP_PACK_CANONICAL): Likewise.
68467 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68469         [BZ #14183]
68470         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
68471         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
68473 2012-05-30  Richard Henderson  <rth@twiddle.net>
68475         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
68476         with #ifndef NOT_IN_libc.
68478         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
68479         marked to avoid plt entry.
68481 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68483         [BZ #14112]
68484         * Makeconfig (default-abi): New macro.
68485         (abi-includes): Likewise.
68486         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
68487         $(abi-$(default-abi)-lib-soname) for soname if defined.
68488         ($(common-objpfx)gnu/lib-names.stmp): Generate from
68489         abi-variants.
68490         * Makefile (installed-stubs): Likewise.
68491         * include/stubs-biarch.h: Removed.
68492         * scripts/lib-names.awk: Only handle one library at a time.
68493         * scripts/soversions.awk: Remove WORDSIZE support.
68494         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
68495         entries.
68496         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
68497         Removed.
68498         (syscall-list-default-condition): Likewise.
68499         (syscall-list-default-condition): Likewise.
68500         (syscall-list-includes): Likewise.
68501         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
68502         syscall-list-* with abi-*.  Handle undefined abi-variants.
68503         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
68504         * sysdeps/unix/sysv/linux/i386/Implies: New file.
68505         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
68506         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
68507         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
68508         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
68509         Removed.
68510         (syscall-list-32-options): Likewise.
68511         (syscall-list-32-condition): Likewise.
68512         (syscall-list-64-options): Likewise.
68513         (syscall-list-64-condition): Likewise.
68514         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
68515         macro.
68516         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
68517         Renamed to ...
68518         (abi-*): This.
68519         (abi-64-ld-soname): New macro.
68520         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
68521         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
68522         Renamed to ...
68523         (abi-*): This.
68524         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
68525         * sysdeps/x86_64/x32/shlib-versions: Likewise.
68527 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
68529         * sysdeps/unix/sysv/linux/kernel-features.h
68530         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
68531         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
68532         include <kernel-features.h>.
68533         [!__NR_ftruncate64]: Remove conditional code.
68534         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68535         [__NR_ftruncate64]: Make code unconditional.
68536         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68537         * sysdeps/unix/sysv/linux/truncate64.c: Do not
68538         include <kernel-features.h>.
68539         [!__NR_ftruncate64]: Remove conditional code.
68540         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68541         [__NR_ftruncate64]: Make code unconditional.
68542         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
68544         include <kernel-features.h>.
68545         [!__NR_ftruncate64]: Remove conditional code.
68546         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68547         [__NR_ftruncate64]: Make code unconditional.
68548         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68550         include <kernel-features.h>.
68551         [!__NR_ftruncate64]: Remove conditional code.
68552         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68553         [__NR_ftruncate64]: Make code unconditional.
68554         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68556         * configure.in (libc_cv_fpie): Weaken to a compile test using
68557         LIBC_TRY_CC_OPTION.
68558         * configure: Regenerated.
68560 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
68563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
68564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
68565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68566         Refreshed.
68567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
68568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
68569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
68570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
68571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
68572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68573         Refreshed.
68575 2012-05-27  David S. Miller  <davem@davemloft.net>
68577         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
68578         (___Q_zero): New.
68579         (__Q_simulate_exceptions): Return void.  Change to simulate
68580         exceptions by writing into the %fsr.
68581         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
68582         (__Qp_handle_exceptions): Likewise.
68583         (numbers): Delete.
68584         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
68585         __Qp_handle_exceptions.
68586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
68587         __Qp_handle_exceptions.
68588         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
68589         as unused and give dummy FP_RND_NEAREST initializer.
68590         (FP_INHIBIT_RESULTS): Define.
68591         (___Q_simulate_exceptions): Update declaration.
68592         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
68593         formatting.
68594         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
68595         as unused and give dummy FP_RND_NEAREST initializer.
68596         (__Qp_handle_exceptions): Update declaration.
68597         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
68598         formatting.
68600 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
68602         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
68603         the temporary FPU control word.
68604         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
68605         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
68606         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
68607         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68608         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
68609         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
68610         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
68611         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68612         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
68613         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
68614         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68616 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68618         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
68619         fields.
68621 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
68623         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
68624         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
68625         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
68626         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
68627         Likewise.
68628         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
68629         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
68630         Likewise.
68632 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
68634         * po/h.po: Update from translation team.
68636 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
68638         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
68640         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
68641         handling of denormals.
68642         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68643         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
68644         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68645         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68647         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
68648         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
68649         Likewise.
68651 2012-05-26  Marek Polacek  <polacek@redhat.com>
68653         [BZ #14152]
68654         * math/libm-test.inc (fma_test): Don't always expect underflow
68655         exception.
68657 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68659         [BZ #12416]
68660         * elf/tst-execstack.c: Include stackinfo.h.
68661         (do_test): Adjust test case to ensure that pthread_getattr_np
68662         behaviour remains the same after marking stack executable.
68664 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
68666         * sysdeps/unix/sysv/linux/kernel-features.h
68667         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
68668         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
68669         kernel-features.h.
68670         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68671         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68672         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
68673         kernel-features.h.
68674         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68675         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68677 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
68679         * configure.in: Define the default includes to being none.
68680         * configure: Regenerated.
68682 2012-05-25  Roland McGrath  <roland@hack.frob.com>
68684         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
68685         * sysdeps/x86_64/setjmp.S: Likewise.
68686         * sysdeps/i386/bsd-setjmp.S: Likewise.
68687         * sysdeps/i386/bsd-_setjmp.S: Likewise.
68688         * sysdeps/i386/setjmp.S: Likewise.
68689         * sysdeps/i386/__longjmp.S: Likewise.
68690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68691         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
68693         * include/stap-probe.h: New file.
68694         * configure.in: Handle --enable-systemtap.
68695         * configure: Regenerated.
68696         * config.h.in (USE_STAP_PROBE): New #undef.
68697         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
68698         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
68699         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
68701 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
68703         [BZ #13717]
68704         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68705         to 2.4.0 where earlier.
68706         * sysdeps/unix/sysv/linux/configure: Regenerated.
68707         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68708         <kernel-features.h>.
68709         [__ASSUME_32BITUIDS]: Make code unconditional.
68710         [!__ASSUME_32BITUIDS]: Remove conditional code.
68711         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
68712         <kernel-features.h>.
68713         [__ASSUME_32BITUIDS]: Make code unconditional.
68714         [!__ASSUME_32BITUIDS]: Remove conditional code.
68715         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
68716         [__ASSUME_32BITUIDS]: Make code unconditional.
68717         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
68718         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/i386/setegid.c: Do not include
68759         <kernel-features.h>.
68760         [__NR_setresgid] (__setresgid): Do not declare.
68761         [__ASSUME_32BITUIDS]: Make code unconditional.
68762         [!__ASSUME_32BITUIDS]: Remove conditional code.
68763         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
68764         <kernel-features.h>.
68765         [__NR_setresuid] (__setresuid): Do not declare.
68766         [__ASSUME_32BITUIDS]: Make code unconditional.
68767         [!__ASSUME_32BITUIDS]: Remove conditional code.
68768         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
68769         <kernel-features.h>.
68770         [__ASSUME_32BITUIDS]: Make code unconditional.
68771         [!__ASSUME_32BITUIDS]: Remove conditional code.
68772         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
68773         <kernel-features.h>.
68774         [__ASSUME_32BITUIDS]: Make code unconditional.
68775         [!__ASSUME_32BITUIDS]: Remove conditional code.
68776         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
68777         <kernel-features.h>.
68778         [__ASSUME_32BITUIDS]: Make code unconditional.
68779         [!__ASSUME_32BITUIDS]: Remove conditional code.
68780         * sysdeps/unix/sysv/linux/i386/setgroups.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/i386/setregid.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/i386/setresgid.c: Do not include
68789         <kernel-features.h>.
68790         [__ASSUME_32BITUIDS]: Make code unconditional.
68791         [!__ASSUME_32BITUIDS]: Remove conditional code.
68792         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
68793         <kernel-features.h>.
68794         [__ASSUME_32BITUIDS]: Make code unconditional.
68795         [!__ASSUME_32BITUIDS]: Remove conditional code.
68796         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
68797         <kernel-features.h>.
68798         [__ASSUME_32BITUIDS]: Make code unconditional.
68799         [!__ASSUME_32BITUIDS]: Remove conditional code.
68800         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
68801         <kernel-features.h>.
68802         [__ASSUME_32BITUIDS]: Make code unconditional.
68803         [!__ASSUME_32BITUIDS]: Remove conditional code.
68804         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68805         <kernel-features.h>.
68806         [__ASSUME_32BITUIDS]: Make code unconditional.
68807         [!__ASSUME_32BITUIDS]: Remove conditional code.
68808         * sysdeps/unix/sysv/linux/kernel-features.h
68809         (__ASSUME_SETRESUID_SYSCALL): Remove.
68810         (__ASSUME_SETRESGID_SYSCALL): Likewise.
68811         (__ASSUME_32BITUIDS): Likewise.
68812         (__ASSUME_LDT_WORKS): Likewise.
68813         (__ASSUME_O_DIRECTORY): Likewise.
68814         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
68815         architecture but not kernel version.
68816         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
68817         (__ASSUME_MMAP2_SYSCALL): Likewise.
68818         (__ASSUME_STAT64_SYSCALL): Likewise.
68819         (__ASSUME_IPC64): Likewise.
68820         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
68821         <kernel-features.h>.
68822         [__ASSUME_32BITUIDS]: Make code unconditional.
68823         [!__ASSUME_32BITUIDS]: Remove conditional code.
68824         * sysdeps/unix/sysv/linux/opendir.c: Do not include
68825         <kernel-features.h>.
68826         [__ASSUME_O_DIRECTORY]: Make code unconditional.
68827         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
68828         132096]: Remove conditional code.
68829         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
68830         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68831         <kernel-features.h>.
68832         [__ASSUME_32BITUIDS]: Make code unconditional.
68833         [!__ASSUME_32BITUIDS]: Remove conditional code.
68834         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68835         <kernel-features.h>.
68836         [__ASSUME_32BITUIDS]: Make code unconditional.
68837         [!__ASSUME_32BITUIDS]: Remove conditional code.
68838         * sysdeps/unix/sysv/linux/setegid.c: Do not include
68839         <kernel-features.h>.
68840         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
68841         unconditional.
68842         (__setresgid): Do not declare.
68843         [__ASSUME_32BITUIDS]: Make code unconditional.
68844         [!__ASSUME_32BITUIDS]: Remove conditional code.
68845         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
68846         <kernel-features.h>.
68847         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
68848         unconditional.
68849         (__setresuid): Do not declare.
68850         [__ASSUME_32BITUIDS]: Make code unconditional.
68851         [!__ASSUME_32BITUIDS]: Remove conditional code.
68852         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68853         <kernel-features.h>.
68854         [__ASSUME_32BITUIDS]: Make code unconditional.
68855         [!__ASSUME_32BITUIDS]: Remove conditional code.
68856         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
68857         <kernel-features.h>.
68858         [__ASSUME_32BITUIDS]: Make code unconditional.
68859         [!__ASSUME_32BITUIDS]: Remove conditional code.
68861 2012-05-25  Richard Henderson  <rth@twiddle.net>
68863         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
68864         dl_hwcap to ifunc resolver.
68865         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
68866         elf_ifunc_invoke.
68867         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
68868         dl_hwcap to ifunc resolver.
68869         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
68871 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68873         [BZ #14153]
68874         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
68875         for |x| <= 2**-26, not 2**-57.
68876         * math/libm-test.inc (acos_test): Do not allow spurious underflow
68877         exception.
68879 2012-05-24  Jeff Law  <law@redhat.com>
68881         * stdio-common/Makefile (tests): Add bug25.
68882         * stdio-common/bug25.c: New test.
68884 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68886         [BZ #13576]
68887         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
68888         multiple of MALLOC_ALIGNMENT in size.
68889         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
68891 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68893         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
68894         Require >= 256.
68895         (FILENAME_MAX): Use macro-int-constant.
68896         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
68897         (_IOFBF): Use macro-int-constant.
68898         (_IOLBF): Likewise.
68899         (_IONBF): Likewise.
68900         (SEEK_CUR): Likewise.
68901         (SEEK_END): Likewise.
68902         (SEEK_SET): Likewise.
68903         (TMP_MAX): Likewise.
68904         (EOF): Use macro-int-constant.  Require < 0.
68905         (NULL): Use macro-constant.  Require == 0.
68906         (stdin): Require type to be FILE *.
68907         (stdout): Likewise.
68908         (stderr): Likewise.
68909         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
68910         macro-int-constant.
68911         (EXIT_SUCCESS): Likewise.
68912         (NULL): Use macro-constant.  Require == 0.
68913         (RAND_MAX): Use macro-int-constant.
68914         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
68915         [C99-based standards] (strtof): Require function.
68916         [C99-based standards] (strtold): Likewise.
68917         [C99-based standards] (strtoll): Likewise.
68918         [C99-based standards] (strtoull): Likewise.
68919         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68920         [ISO || ISO99 || ISO11] (limits.h): Likewise.
68921         [ISO || ISO99 || ISO11] (math.h): Likewise.
68922         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
68923         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68924         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68926 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
68928         [BZ #14132]
68929         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
68930         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
68931         * intl/dgettext.c (DCGETTEXT): Likewise.
68932         * intl/gettext.c (DCGETTEXT): Likewise.
68933         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
68934         * posix/regex_internal.h (gettext): Likewise.
68935         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
68936         Remove declaration.
68937         * include/argz.h (__argz_count_internal)
68938         (__argz_stringify_internal): Remove declaration.
68939         (__argz_count, __argz_stringify): Declare hidden proto.
68940         * intl/dcgettext.c: Remove use of INTDEF.
68941         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68942         * string/argz-stringify.c: Likewise.
68943         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68944         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68945         Declare hidden proto.
68946         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68947         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68948         Declare hidden proto.
68949         * include/stdio.h (__asprintf_internal): Don't declare.
68950         (__asprintf): Don't define as macro.  Declare hidden proto.
68951         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68952         (__fsetlocking): Declare hidden proto.
68953         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68954         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68955         hidden proto.
68956         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68957         (_IO_setlinebuf): Remove use of INTUSE.
68958         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68959         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68960         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68961         Remove declaration.
68962         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68963         (_IO_do_flush): Remove use of INTUSE.
68964         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68965         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68966         (_IO_adjust_column, _IO_least_wmarker)
68967         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68968         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68969         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68970         (_IO_default_doallocate, _IO_wdefault_doallocate)
68971         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68972         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68973         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68974         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68975         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68976         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68977         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68978         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68979         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68980         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68981         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68982         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68983         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68984         proto.
68985         (_IO_flush_all_internal, _IO_adjust_column_internal)
68986         (_IO_default_uflow_internal, _IO_default_finish_internal)
68987         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68988         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68989         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68990         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68991         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68992         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68993         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68994         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68995         (_IO_file_close_internal, _IO_file_close_it_internal)
68996         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68997         (_IO_file_init_internal, _IO_file_attach_internal)
68998         (_IO_file_fopen_internal, _IO_file_read_internal)
68999         (_IO_file_sync_internal, _IO_file_seek_internal)
69000         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69001         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69002         (_IO_str_underflow_internal, _IO_str_overflow_internal)
69003         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69004         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69005         (_IO_list_all_internal, _IO_link_in_internal)
69006         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69007         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69008         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69009         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69010         (_IO_do_write_internal, _IO_padn_internal)
69011         (_IO_getline_info_internal, _IO_getline_internal)
69012         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69013         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69014         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69015         (_IO_vfscanf_internal, _IO_vfprintf_internal)
69016         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69017         (_IO_init_internal, _IO_un_link_internal): Don't declare.
69018         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69019         with libc_hidden_ver, remove use of INTUSE.
69020         * libio/genops.c: Likewise.
69021         * libio/freopen.c: Likewise.
69022         * libio/freopen64.c: Likewise.
69023         * libio/iofclose.c: Likewise.
69024         * libio/iofdopen.c: Likewise.
69025         * libio/iofflush.c: Likewise.
69026         * libio/iofflush_u.c: Likewise.
69027         * libio/iofgets.c: Likewise.
69028         * libio/iofgets_u.c: Likewise.
69029         * libio/iofopen.c: Likewise.
69030         * libio/iofopncook.c: Likewise.
69031         * libio/iofread.c: Likewise.
69032         * libio/iofread_u.c: Likewise.
69033         * libio/ioftell.c: Likewise.
69034         * libio/iofwrite.c: Likewise.
69035         * libio/iogetline.c: Likewise.
69036         * libio/iogets.c: Likewise.
69037         * libio/iogetwline.c: Likewise.
69038         * libio/iopadn.c: Likewise.
69039         * libio/iopopen.c: Likewise.
69040         * libio/ioseekoff.c: Likewise.
69041         * libio/ioseekpos.c: Likewise.
69042         * libio/iosetbuffer.c: Likewise.
69043         * libio/iosetvbuf.c: Likewise.
69044         * libio/ioungetc.c: Likewise.
69045         * libio/ioungetwc.c: Likewise.
69046         * libio/iovdprintf.c: Likewise.
69047         * libio/iovsprintf.c: Likewise.
69048         * libio/iovsscanf.c: Likewise.
69049         * libio/memstream.c: Likewise.
69050         * libio/obprintf.c: Likewise.
69051         * libio/oldfileops.c: Likewise.
69052         * libio/oldiofclose.c: Likewise.
69053         * libio/oldiofdopen.c: Likewise.
69054         * libio/oldiofopen.c: Likewise.
69055         * libio/oldiopopen.c: Likewise.
69056         * libio/oldstdfiles.c: Likewise.
69057         * libio/putc.c: Likewise.
69058         * libio/setbuf.c: Likewise.
69059         * libio/setlinebuf.c: Likewise.
69060         * libio/stdfiles.c: Likewise.
69061         * libio/strops.c: Likewise.
69062         * libio/vasprintf.c: Likewise.
69063         * libio/vscanf.c: Likewise.
69064         * libio/vsnprintf.c: Likewise.
69065         * libio/vswprintf.c: Likewise.
69066         * libio/wfiledoalloc.c: Likewise.
69067         * libio/wfileops.c: Likewise.
69068         * libio/wgenops.c: Likewise.
69069         * libio/wmemstream.c: Likewise.
69070         * libio/wstrops.c: Likewise.
69071         * libio/__fpurge.c: Likewise.
69072         * libio/__fsetlocking.c: Likewise.
69073         * assert/assert.c: Likewise.
69074         * debug/fgets_chk.c: Likewise.
69075         * debug/fgets_u_chk.c: Likewise.
69076         * debug/fread_chk.c: Likewise.
69077         * debug/fread_u_chk.c: Likewise.
69078         * debug/gets_chk.c: Likewise.
69079         * debug/obprintf_chk.c: Likewise.
69080         * debug/vasprintf_chk.c: Likewise.
69081         * debug/vdprintf_chk.c: Likewise.
69082         * debug/vsnprintf_chk.c: Likewise.
69083         * debug/vsprintf_chk.c: Likewise.
69084         * malloc/mtrace.c: Likewise.
69085         * misc/error.c: Likewise.
69086         * misc/syslog.c: Likewise.
69087         * stdio-common/asprintf.c: Likewise.
69088         * stdio-common/fxprintf.c: Likewise.
69089         * stdio-common/getw.c: Likewise.
69090         * stdio-common/isoc99_fscanf.c: Likewise.
69091         * stdio-common/isoc99_scanf.c: Likewise.
69092         * stdio-common/isoc99_vfscanf.c: Likewise.
69093         * stdio-common/isoc99_vscanf.c: Likewise.
69094         * stdio-common/isoc99_vsscanf.c: Likewise.
69095         * stdio-common/printf-prs.c: Likewise.
69096         * stdio-common/printf_fp.c: Likewise.
69097         * stdio-common/printf_fphex.c: Likewise.
69098         * stdio-common/printf_size.c: Likewise.
69099         * stdio-common/putw.c: Likewise.
69100         * stdio-common/scanf.c: Likewise.
69101         * stdio-common/sprintf.c: Likewise.
69102         * stdio-common/tmpfile.c: Likewise.
69103         * stdio-common/vfprintf.c: Likewise.
69104         * stdio-common/vfscanf.c: Likewise.
69105         * stdlib/strfmon_l.c: Likewise.
69106         * sunrpc/openchild.c: Likewise.
69107         * sunrpc/xdr_stdio.c: Likewise.
69108         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69109         * sysdeps/mach/hurd/tmpfile.c: Likewise.
69111 2012-05-24  Roland McGrath  <roland@hack.frob.com>
69113         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69115         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69116         in the third column, to generate for the shared library an IFUNC
69117         that uses _dl_vdso_vsym.
69118         * Makerules (COMPILE.c, compile-stdin.c): New variables.
69119         * Makeconfig (object-suffixes-noshared): New variable.
69121         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69122         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69123         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69124         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69126         [BZ #14132]
69127         * include/sys/time.h (__gettimeofday): Remove macro.
69128         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69129         * time/gettimeofday.c (__gettimeofday): Remove #undef.
69130         Remove INTDEF.
69131         (__gettimeofday): Add libc_hidden_def.
69132         (gettimeofday): Add libc_hidden_weak.
69133         * sysdeps/mach/gettimeofday.c: Likewise.
69134         * sysdeps/posix/gettimeofday.c: Likewise.
69135         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69136         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69137         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69138         (__gettimeofday_internal): Remove strong_alias.
69139         (__gettimeofday): Add libc_hidden_def.
69140         (gettimeofday): Add libc_hidden_weak.
69141         * sysdeps/unix/syscalls.list (gettimeofday):
69142         Remove __gettimeofday_internal alias.
69144 2012-05-24  Daniel Jacobowitz  <drow@false.org>
69145             H.J. Lu  <hongjiu.lu@intel.com>
69147         [BZ #12495]
69148         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69149         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69150         (largebin_index_32_big): New.
69151         (largebin_index): Use it for 16-byte alignment.
69152         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
69153         correction with front_misalign.
69155 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69159         Likewise.
69160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69161         Likewise.
69162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69163         Likewise.
69164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69165         Likewise.
69166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69167         Likewise.
69168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69169         Likewise.
69170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69171         Likewise.
69172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69173         Likewise.
69174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69175         Likewise.
69176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69177         Likewise.
69178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69179         Likewise.
69180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69181         Likewise.
69183         * scripts/data/c++-types-x32-linux-gnu.data: New file.
69184         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69186 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69188         [BZ #10846]
69189         [BZ #14036]
69190         * math/libm-test.inc (exp_test): Add test from bug 14036.
69191         (pow_test): Add test from bug 10846.
69193         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69194         and other flags.
69195         (special_function): Do not include flags in test name.
69196         (parse_args): Likewise.
69197         * sysdeps/i386/fpu/libm-test-ulps: Update.
69198         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69199         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69200         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69203         * math/gen-libm-test.pl (%beautify): Add entries for underflow
69204         exceptions.
69205         * math/libm-test.inc ("Philosophy"): Update comment about
69206         exception testing.
69207         (UNDERFLOW_EXCEPTION): New macro.
69208         (UNDERFLOW_EXCEPTION_OK): Likewise.
69209         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69210         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69211         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69212         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69213         (INVALID_EXCEPTION_OK): Update value.
69214         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69215         (OVERFLOW_EXCEPTION_OK): Likewise.
69216         (IGNORE_ZERO_INF_SIGN): Likewise.
69217         (test_exceptions): Handle underflow exceptions.
69218         (acos_test): Update for underflow exception expectations.
69219         (cexp_test): Likewise.
69220         (clog_test): Likewise.
69221         (clog10_test): Likewise.
69222         (csqrt_test): Likewise.
69223         (ctan_test): Likewise.
69224         (ctanh_test): Likewise.
69225         (exp_test): Likewise.
69226         (exp10_test): Likewise.
69227         (exp2_test): Likewise.
69228         (expm1_test): Likewise.
69229         (fma_test): Likewise.
69230         (j0_test): Likewise.
69231         (jn_test): Likewise.
69232         (nexttoward_test): Likewise.
69233         (pow_test): Likewise.
69234         (scalbn_test): Likewise.
69235         (scalbln_test): Likewise.
69236         (tan_test): Likewise.
69237         (y1_test): Likewise.
69238         * sysdeps/i386/fpu/libm-test-ulps: Update.
69239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69241 2012-05-23  David S. Miller  <davem@davemloft.net>
69243         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69244         (__libc_sigaction): Remove unused local variables.
69246 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69248         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
69250 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
69252         mktime: avoid signed integer overflow
69253         * time/mktime.c (__mktime_internal): Do not mishandle the case
69254         where diff == INT_MIN.
69256         mktime: simplify computation of average
69257         * time/mktime.c (ranged_convert): Use new time_t_avg function
69258         instead of rolling our own (probably-slower) code.
69260         mktime: do not assume signed right shift propagates sign bit
69261         * time/mktime.c (isdst_differ): New static function.
69262         (__mktime_internal): No need to normalize tm_isdst now.
69263         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
69264         tm_isdst values.
69266         mktime: merge another wrapv change from gnulib
69267         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
69268         from some compilers.
69270         mktime: remove incorrect attempt at unusual arithmetics
69271         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
69272         The code didn't really work on such machines anyway.
69273         (TYPE_MINIMUM): Assume two's complement.
69274         (twos_complement_arithmetic): Verify that long_int and time_t
69275         are two's complement (or unsigned, in the latter case).
69277         mktime: check signed shifts on long_int and time_t, too
69278         * time/mktime.c (SHR): Check that shifts work as desired
69279         on the types long_int and time_t too, as SHR is used on
69280         such types.
69282         mktime: do not assume 'long' is wide enough
69283         * time/mktime.c (verify): Move decl up.
69284         (long_int): New type.
69285         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
69286         to remove assumption in the code that 'long' is wide enough to
69287         store year values.  This assumption is not true on x32 and on
69288         some non-glibc platforms.
69290         mktime: merge wrapv change from gnulib
69291         * time/mktime.c (WRAPV): New macro.
69292         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
69293         (guess_time_tm, __mktime_internal): Do not assume that signed
69294         integer overflow wraps around; modern compilers generate code
69295         where this assumption is no longer valid.
69297 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69299         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
69300         Replace "jmp L(pseudo_end)" with "ret".
69301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
69302         Likewise.
69304 2012-05-23  Andreas Jaeger  <aj@suse.de>
69306         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
69307         * sysdeps/unix/sysv/linux/poll.c: Remove file.
69309 2012-05-23  Andreas Jaeger  <aj@suse.de>
69310             Maximilian Attems  <max@stro.at>
69312         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
69313         New macros.
69315 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69317         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
69318         code so that pseudo_end is just ret and the stack pointer is
69319         correct also for static library in error case.
69321 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
69323         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
69324         move to syscalls.list.
69325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
69326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
69327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
69328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
69330         * manual/install.texi (Running make install): Do not mention Linux
69331         kernel version for which pt_chown is not needed.
69332         (Linux): Do not mention problems with nscd with 2.0 kernels.
69333         * INSTALL: Regenerated.
69335 2012-05-23  Andreas Jaeger  <aj@suse.de>
69337         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
69338         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
69339         macro.
69340         * sysdeps/unix/sysv/linux/s390/bits/mman.h
69341         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69342         * sysdeps/unix/sysv/linux/sh/bits/mman.h
69343         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69344         * sysdeps/unix/sysv/linux/i386/bits/mman.h
69345         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69346         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
69347         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69348         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
69349         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69350         * sysdeps/unix/sysv/linux/bits/in.h
69351         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
69353 2012-05-22  Roland McGrath  <roland@hack.frob.com>
69355         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
69356         (PREPARE_VERSION): Just use assert instead, it will be elided
69357         under [NDEBUG] anyway.
69359 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69361         * sysdeps/unix/sysv/linux/Makefile: Include
69362         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
69363         (sysdep_routines): Remove sysctl.
69364         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
69365         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
69366         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
69367         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
69368         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
69370 2012-05-22  Andreas Jaeger  <aj@suse.de>
69372         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
69373         that pseudo_end is just ret and the stack pointer is correct also
69374         for static library in error case.
69376 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
69378         [BZ #14122]
69379         * nss/nsswitch.c (defconfig_entries): New variable.
69380         (__nss_database_lookup): Don't leak defconfig entries.
69381         (nss_parse_service_list): Don't leak on error paths.
69382         (free_database_entries): New function.
69383         (free_defconfig): New function.
69384         (free_mem): Move common code to free_database_entries.
69386 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69388         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
69389         Add arch_prctl.
69390         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
69392         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
69393         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
69394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
69395         New macro.
69396         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
69397         (INTERNAL_SYSCALL_TYPES): Likewise.
69398         (LOAD_ARGS_TYPES_[1-6]): Likewise.
69399         (LOAD_REGS_TYPES_[1-6]): Likewise.
69400         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
69401         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
69403 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69405         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
69406         copysignl for GLIBC_2_0.
69407         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
69408         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
69409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
69410         logbl for GLIBC_2_0.
69411         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
69412         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
69414 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69416         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
69417         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69419         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
69420         Use "neg %eax".
69422         * time/mktime.c: Update copyright years.
69424 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
69426         mktime: merge comment-quoting-style change from gnulib
69427         * time/mktime.c: Quote 'like this' in comments.
69428         The GNU coding standards suggest that we no longer quote `like this',
69429         as "`" and "'" are typically rendered asymmetrically nowadays.
69430         The typical gnulib style is to quote 'like this' when quoting
69431         code, and "like this" when quoting English.
69433         * time/mktime.c (compile-command): Add "-I.".
69435         mktime: merge mktime-internal.h change from gnulib
69436         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
69438         mktime: merge time_r change from gnulib
69439         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
69441         mktime: merge DEBUG change from gnulib
69442         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
69443         case system <time.h> has a #define.
69445         mktime: merge <sys/types.h> change from gnulib
69446         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
69447         since <time.t> is now guaranteed to define time_t.
69449         mktime: merge HAVE_CONFIG_H change from gnulib
69450         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
69452 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
69455         Use "neg %eax".
69457         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
69458         __rlim_t cast.
69459         (struct rusage): Use anonymous union to pad each field to
69460         __syscall_slong_t.
69462 2012-05-21  David S. Miller  <davem@davemloft.net>
69464         * Makefules (o-iterator): Remove .s cases.
69465         (compile-command.s): Delete.
69466         (COMPILE.s): Delete.
69467         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
69469 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
69471         * configure.in (libc_cv_predef_stack_protector): Only consider
69472         "foobar" and "__stack_chk_fail" lines in libc_undefs.
69473         * configure: Regenerated.
69475 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
69478         New macro.  Use R*LP on int and pointer.
69479         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
69480         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
69481         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
69482         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
69484         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
69485         [__WORDSIZE_TIME64_COMPAT32] instead of
69486         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
69487         (struct utmp): Likewise.
69488         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
69489         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
69490         Renamed to ...
69491         (__WORDSIZE_TIME64_COMPAT32): This.
69492         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
69493         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
69494         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
69495         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
69496         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
69497         (__WORDSIZE_TIME64_COMPAT32): New macro.
69499 2012-05-21  Andreas Jaeger  <aj@suse.de>
69501         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
69502         only if [SHARED]. Add prototype for __wcschr_ia32.
69504 2012-05-21  Roland McGrath  <roland@hack.frob.com>
69506         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
69507         of %rbp unmolested in the jmp_buf while mangling the low bits.
69508         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
69509         unmolested high bits of %rbp while demangling the low bits.
69510         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69512 2012-05-21  Andreas Jaeger  <aj@suse.de>
69514         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
69515         * sunrpc/svc_simple.c: Use it for registerrpc.
69516         * sunrpc/xcrypt.c: Use it for passwd2des.
69518         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
69520 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69522         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
69523         Don't define if [__SYSCALL_WORDSIZE != 32].
69524         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
69525         New macro.
69527 2012-05-21  Bruno Haible  <bruno@clisp.org>
69528             Andreas Jaeger  <aj@suse.de>
69530         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
69531         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
69532         inptr and inend for must_buffer_ch.
69533         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
69534         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
69535         * stdio-common/Makefile (tests): Remove bug15.
69536         (bug15-ENV): Remove macro.
69537         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
69538         anymore.
69540 2012-05-19  Andreas Jaeger  <aj@suse.de>
69541             Roland McGrath  <roland@hack.frob.com>
69543         * manual/contrib.texi: Completely rewritten. It contains now an
69544         alphabetical list of contributors and their contributions.
69546 2012-05-21  Richard Henderson  <rth@twiddle.net>
69548         * misc/getauxval.c (__getauxval): Use unsigned long int.
69549         * misc/sys/auxv.h: Include <sys/cdefs.h>.
69550         (getauxval): Use unsigned long int.
69552 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69554         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69556 2012-05-21  Roland McGrath  <roland@hack.frob.com>
69558         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
69559         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
69560         __alignof__ (long double).
69562 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69566 2012-05-20  Richard Henderson  <rth@twiddle.net>
69568         * misc/getauxval.c: New file.
69569         * misc/sys/auxv.h: New file.
69570         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
69571         (routines): Add getauxval.
69572         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
69573         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
69574         * elf/dl-sysdep.c (_dl_auxv): Remove.
69575         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
69576         * elf/dl-support.c (_dl_auxv): New variable.
69577         (_dl_aux_init): Initialize it.
69578         * manual/startup.texi (Auxiliary Vector): New node.
69579         * sysdeps/generic/bits/hwcap.h: New file.
69580         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
69581         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
69582         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
69583         * sysdeps/sparc/sysdep.h: ... here.  Include it.
69584         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
69585         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
69586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69587         Update.
69588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
69589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
69590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
69591         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
69592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
69593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
69594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
69595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
69597 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69601 2012-05-19  David S. Miller  <davem@davemloft.net>
69603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69605 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
69607         [BZ #14123]
69608         * math/s_ccosh.c: Include <float.h>
69609         (__ccosh): Avoid internal overflow calculating sinh and cosh
69610         values before multiplying by sin and cos values.
69611         * math/s_ccoshf.c: Likewise.
69612         * math/s_ccoshl.c: Likewise.
69613         * math/s_csin.c: Likewise.
69614         * math/s_csinf.c: Likewise.
69615         * math/s_csinl.c: Likewise.
69616         * math/s_csinh.c: Likewise.
69617         * math/s_csinhf.c: Likewise.
69618         * math/s_csinhl.c: Likewise.
69619         * math/libm-test.inc (ccos_test): Add more tests.
69620         (ccosh_test): Likewise.
69621         (csin_test): Likewise.
69622         (csinh_test): Likewise.
69623         * sysdeps/i386/fpu/libm-test-ulps: Update.
69624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69626 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
69628         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
69629         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
69631         * sysdeps/x86_64/x32/_itoa.h: Add comment.
69633 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
69635         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
69636         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
69637         * sysdeps/powerpc/soft-fp/Versions: Likewise.
69638         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
69639         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
69640         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
69641         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
69642         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
69643         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
69644         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
69645         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
69646         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
69647         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
69648         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
69649         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
69650         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
69651         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
69652         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
69653         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
69654         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
69655         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
69656         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
69657         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
69658         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
69659         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
69660         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
69661         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
69662         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
69663         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
69664         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
69665         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
69667 2012-05-18  Andreas Jaeger  <aj@suse.de>
69669         * csu/.gitignore: Delete.
69671 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69673         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
69674         (timex): Use __syscall_slong_t.
69676 2012-05-18  Andreas Jaeger  <aj@suse.de>
69677             Carlos O'Donell  <carlos_odonell@mentor.com>
69679         * manual/install.texi (Configuring and compiling): Update
69680         description about files modified in the source directory.
69681         * INSTALL: Regenerated.
69683 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69685         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
69686         value.  Use "or" to set return value to -1.
69687         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
69688         negate return value.
69690 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69692         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
69693         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
69694         failure if the compiler has Graphite support disabled.
69695         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
69696         Likewise.
69697         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
69698         (CFLAGS-memmove.c): Likewise.
69699         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
69700         Likewise.
69702 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69704         * sysdeps/x86_64/x32/_itoa.h: New file.
69706         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
69707         getdents system call only if kernel and user dirents have the
69708         same d_ino and d_off.
69710         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69711         LLONG_MAX != LONG_MAX.
69712         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69713         (_fitoa_word): Likewise.
69715         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
69716         years.
69717         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
69718         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
69719         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
69721         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
69722         include <bits/wordsize.h>.  Check __x86_64__ instead of
69723         __WORDSIZE.
69724         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
69725         if __x86_64__ is defined.  Use anonymous union on fpstate.
69727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
69728         anonymous union.
69730 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
69732         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
69733         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
69734         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
69735         Refer to _rtld_local_ro instead of _rtld_global_ro.
69736         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
69737         Likewise.
69738         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
69739         Likewise.
69740         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
69741         Likewise.
69742         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
69743         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
69744         of _rtld_global, and rtld_progname instead of _dl_argv[0].
69746         [BZ #10882]
69747         * sysdeps/powerpc/powerpc32/dl-machine.c
69748         (__elf_machine_runtime_setup) [PROF]: Don't reference
69749         _dl_prof_resolve.
69751 2012-05-18  Andreas Jaeger  <aj@suse.de>
69753         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
69754         function only available for GCCs before 3.4 since GCC 3.4
69755         introduced a builtin.
69756         (lrint): Likewise.
69757         (llrintf): Likewise.
69758         (llrint): Likewise.
69759         (fmaxf): Likewise.
69760         (fmax): Likewise.
69761         (fminf): Likewise.
69762         (fmin): Likewise.
69763         (rint): Likewise.
69764         (rintf): Likewise.
69765         (nearbyint): Likewise.
69766         (nearbyintf): Likewise.
69767         (ceil): Likewise.
69768         (ceilf): Likewise.
69769         (floor): Likewise.
69770         (floorf): Likewise.
69772 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69774         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
69775         on both fields and cast pointer to __syscall_ulong_t.
69777         * bits/types.h (__fsword_t): New type.
69778         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
69779         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
69780         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69781         (__FSWORD_T_TYPE): Likewise.
69782         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69783         (__FSWORD_T_TYPE): Likewise.
69784         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69785         (__FSWORD_T_TYPE): Likewise.
69786         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
69787         (__FSWORD_T_TYPE): Likewise.
69788         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
69789         __SWORD_TYPE with __fsword_t.
69790         (statfs64): Likewise.
69792 2012-05-17  David S. Miller  <davem@davemloft.net>
69794         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
69796 2012-05-17  Andreas Jaeger  <aj@suse.de>
69798         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
69799         warning.
69801 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69803         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
69805 2012-05-17  Andreas Jaeger  <aj@suse.de>
69807         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
69808         when it is used.
69810 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
69812         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
69814 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69816         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
69817         * sysdeps/x86_64/tst-mallocalign1.c: New file.
69819 2012-05-17  Andreas Jaeger  <aj@suse.de>
69820             Carlos O'Donell  <carlos_odonell@mentor.com>
69822         [BZ #14059]
69823         * sysdeps/x86_64/multiarch/init-arch.h
69824         (bit_YMM_Usable): Rename to...
69825         (bit_AVX_Usable): ... this.
69826         (bit_FMA4_Usable): New macro.
69827         (bit_XMM_state): New macro.
69828         (bit_YMM_state): New macro.
69829         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
69830         [__ASSEMBLER__] (index_AVX_Usable): ... this.
69831         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
69832         (CPUID_OSXSAVE): New macro.
69833         (CPUID_AVX): New macro.
69834         (CPUID_FMA4): New macro.
69835         (index_YMM_Usable): Rename to...
69836         (index_AVX_Usable): ... this.
69837         (HAS_AVX): Use HAS_ARCH_FEATURE.
69838         (HAS_FMA4): Likewise.
69839         (HAS_YMM_USABLE): Remove.
69840         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69841         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
69842         are present.
69843         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
69844         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
69845         * sysdeps/x86_64/multiarch/Makefile: Likewise.
69846         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
69847         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
69849 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
69851         * math/libm-test.c: Support platforms without multiple rounding modes.
69852         * math/bug-nextafter.c: Support platforms without FP exceptions.
69853         * math/bug-nexttoward.c: Likewise.
69854         * math/test-fenv.c: Likewise.
69855         * math/test-misc.c: Likewise.
69856         * stdlib/bug-getcontext.c: Likewise.
69858 2012-05-17  Andreas Jaeger  <aj@suse.de>
69860         * manual/examples/search.c (critter_cmp): Change signature to
69861         avoid warnings.
69862         * manual/string.texi (Collation Functions): Likewise.
69864 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69866         * bits/types.h: Fold copyright years.
69867         * bits/typesizes.h: Likewise.
69868         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
69869         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
69870         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
69871         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
69872         * time/time.h: Likewise.
69874 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
69876         [BZ #208]
69877         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
69878         in instead of returning them.  Return void.
69879         (__libc_mallinfo): Accumulate over all arenas.
69880         (__malloc_stats): Adjust for change in int_mallinfo interface.
69882 2012-05-16  Roland McGrath  <roland@hack.frob.com>
69884         [BZ #10375]
69885         * configure.in (NM): Add AC_CHECK_TOOL for it.
69886         (libc_extra_cflags): New substituted variable.
69887         Check for -fstack-protector being used implicitly.
69888         * configure: Regenerated.
69889         * config.make.in (config-extra-cflags): New variable,
69890         gets @libc_extra_cflags@.
69891         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
69893         [BZ #10375]
69894         * configure.in: Check for _FORTIFY_SOURCE being predefined.
69895         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
69896         * configure: Regenerated.
69897         * config.make.in (CPPUNDEFS): New substituted variable.
69898         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
69899         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
69900         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
69902 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69904         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
69905         (mq_attr): Use __syscall_slong_t.
69907 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69909         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
69910         Check __x86_64__ instead of __WORDSIZE.
69911         (_STAT_VER_LINUX): Likewise.
69912         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
69913         __syscall_ulong_t and __syscall_slong_t.
69914         (stat64): Likewise.
69916 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69918         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
69920 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69922         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
69924 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69926         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
69927         __syscall_ulong_t.
69929         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
69930         include <bits/wordsize.h>.  Check __x86_64__ instead of
69931         __WORDSIZE.
69932         (greg_t): Use "__extension__ long long int" if __x86_64__ is
69933         defined.
69934         (mcontext_t): Replace "unsigned long" with "unsigned long long".
69936         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
69937         include <bits/wordsize.h>.  Check __x86_64__ instead of
69938         __WORDSIZE.
69939         (user_regs_struct): Use "__extension__ unsigned long long"
69940         instead of "unsigned long" if __x86_64__ is defined.
69941         (user): Likewise.  Pad after pointer field if __ILP32__ is
69942         defined.
69944 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
69946         * configure.in (makeinfo): Require version 4.5 or later.  Allow
69947         versions 5 to 9.
69948         * configure: Regenerated.
69949         * manual/install.texi (texinfo): Increase version requirement to
69950         4.5 or later.
69951         * INSTALL: Regenerated.
69953         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69955 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69957         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69959         * sysdeps/x86_64/x32/ffs.c: New file.
69961         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69962         __syscall_ulong_t.
69963         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69964         defined.  Use __syscall_ulong_t.
69965         (shminfo): Use __syscall_ulong_t.
69966         (shm_info): Likewise.
69968         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69969         __syscall_ulong_t.
69971         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69972         <bits/wordsize.h>.
69973         (msgqnum_t): Use __syscall_ulong_t.
69974         (msglen_t): Likewise.
69975         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69976         __syscall_ulong_t.
69978         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69979         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69981         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69983         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69984         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69986         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69987         __syscall_slong_t.
69989         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69990         include <bits/wordsize.h>.  Check __x86_64__ instead of
69991         __WORDSIZE.
69993         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69994         "unsigned long long int" if __x86_64__ is defined.
69995         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69997         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69998         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69999         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70001         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70002         <stdint.h>.
70003         (GET_PC): Cast to uintptr_t first.
70004         (GET_FRAME): Likewise.
70005         (GET_STACK): Likewise.
70007         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70008         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70009         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70010         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70011         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70012         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70013         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70014         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70015         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70016         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70017         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70018         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70019         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70020         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70021         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70022         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70023         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70024         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70025         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70026         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70027         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70028         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70029         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70030         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70031         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70032         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70033         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70034         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70035         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70037 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
70039         * Makerules (+depfiles): Also collect depfiles from .oS in
70040         $(extra-objs).
70041         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70042         .oS, $(libnldbl-routines)).
70044         * Makerules (native-compile-mkdep-flags): Define.
70045         * sunrpc/Makefile (extra-objs): Add $(addprefix
70046         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70047         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70048         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
70049         calling $(make-target-directory).
70051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70053         * bits/types.h (__snseconds_t): Removed.
70054         * time/time.h (struct timespec): Replace __snseconds_t with
70055         __syscall_slong_t.
70056         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70057         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70058         Likewise.
70059         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70060         (__SNSECONDS_T_TYPE): Likewise.
70061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70062         (__SNSECONDS_T_TYPE): Likewise.
70063         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70064         (__SNSECONDS_T_TYPE): Likewise.
70066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70068         * sysdeps/mach/hurd/bits/typesizes.h
70069         (__SYSCALL_SLONG_TYPE): New macro.
70070         (__SYSCALL_ULONG_TYPE): Likewise.
70072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70074         * bits/types.h (__syscall_slong_t): New type.
70075         (__syscall_ulong_t): Likewise.
70077         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70078         (__SYSCALL_ULONG_TYPE): Likewise.
70079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70080         (__SYSCALL_SLONG_TYPE): Likewise.
70081         (__SYSCALL_ULONG_TYPE): Likewise.
70082         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70083         (__SYSCALL_SLONG_TYPE): Likewise.
70084         (__SYSCALL_ULONG_TYPE): Likewise.
70085         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70086         (__SYSCALL_SLONG_TYPE): Likewise.
70087         (__SYSCALL_ULONG_TYPE): Likewise.
70089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70091         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70092         Add sigaltstack-offsets.sym.
70093         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70094         <sigaltstack-offsets.h>.
70095         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
70096         longjmp_msg pointer.
70097         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
70098         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70099         signal stack.
70100         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70102 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70104         * elf/stackguard-macros.h: Remove file.
70105         * sysdeps/generic/stackguard-macros.h: New file.
70106         * sysdeps/i386/stackguard-macros.h: Likewise.
70107         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70108         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70109         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70110         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70111         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70112         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70113         * sysdeps/x86_64/stackguard-macros.h: Likewise.
70114         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70115         <elf/stackguard-macros.h>.
70117         [BZ #14109]
70118         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70119         __aligned__ in attribute.
70120         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70121         (gregset_t): Likewise.
70123 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70125         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70126         * sysdeps/x86_64/64/Implies-after: Here.  New file.
70127         * sysdeps/x86_64/x32/Implies-after: New file.
70129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70131         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70132         and access return value for _dl_profile_fixup.  Use R10_LP to
70133         load frame size.
70135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70137         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70141         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70142         * sysdeps/x86_64/x32/sysdep.h: New file.
70144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70146         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70147         * sysdeps/x86_64/setjmp.S: Likewise.
70149 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70151         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70152         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70153         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70154         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70155         remove unused global constant.
70157 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
70159         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70160         include of <not-cancel.h>.
70162 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70164         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70166 2012-05-15  Jeff Law  <law@redhat.com>
70167             Andreas Jaeger  <aj@suse.de>
70169         [BZ #13594]
70170         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70171         out from...
70172         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70173         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70174         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70175         code changing __hst_map_handle.map.
70177 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70179         * configure.in (sysnames): Look for Implies-before and Implies-after
70180         files.
70181         * configure: Regenerated.
70183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70185         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70186         8-byte data alignment with LP_SIZE alignment.
70188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70190         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70191         into R10_LP.
70193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70195         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70199         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70200         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70201         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70202         Likewise.
70203         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70207         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70208         (stackinfo_sub_sp): Likewise.
70210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70212         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70213         RAX_LP.
70215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70217         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70218         into R*_LP.
70220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70222         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70223         sizes into R*_LP.
70225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70227         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
70229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70231         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
70232         into R11_LP and load __x86_64_shared_cache_size_half into
70233         R8_LP.
70235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
70238         R8_LP.
70240 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
70243         logb for POWER7.
70244         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
70245         logbf for POWER7.
70246         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
70247         logbl for POWER7.
70248         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
70249         powerpc32/power7/fpu/s_logb.c via #include.
70250         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
70251         powerpc32/power7/fpu/s_logbf.c via #include.
70252         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
70253         powerpc32/power7/fpu/s_logbl.c via #include.
70255 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70257         * README.libm: Remove file.
70259 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70261         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
70262         count for x32.  Use R*_LP and omit operand-size suffix.
70264 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70266         * shlib-versions: Move x86_64-.*-linux.* entries to ...
70267         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
70268         * sysdeps/x86_64/x32/shlib-versions: New file.
70270 2012-05-14  Roland McGrath  <roland@hack.frob.com>
70272         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
70273         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
70274         Use _dl_fatal_printf instead.
70276 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
70278         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
70279         set if not set by the user.  Do not allow for being unset.
70280         * sysdeps/unix/sysv/linux/configure: Regenerated.
70282 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70284         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
70285         the `q' suffix from lea and replace .quad with ASM_ADDR.
70287 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
70290         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
70291         instead of $17.
70292         (PTR_DEMANGLE): Likewise.
70294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70296         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
70297         (LP_OP): Likewise.
70298         (ASM_ADDR): Likewise.
70299         (RAX_LP): Likewise.
70300         (RBP_LP): Likewise.
70301         (RBX_LP): Likewise.
70302         (RCX_LP): Likewise.
70303         (RDI_LP): Likewise.
70304         (RSI_LP): Likewise.
70305         (RSP_LP): Likewise.
70306         (R8_LP): Likewise.
70307         (R9_LP): Likewise.
70308         (R10_LP): Likewise.
70309         (R10_LP): Likewise.
70310         (R11_LP): Likewise.
70311         (R12_LP): Likewise.
70312         (R13_LP): Likewise.
70313         (R14_LP): Likewise.
70314         (R15_LP): Likewise.
70316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70318         * sysdeps/x86_64/x32/dl-machine.h: New file.
70320 2012-05-14  Andreas Jaeger  <aj@suse.de>
70322         * manual/Makefile (subdir): Remove export of subdir.
70323         (all): Remove target.
70324         (.PHONY): Remove all from list.
70325         (mkinstalldirs): Remove.
70326         (.PHONY): Remove installdirs from list.
70327         ($(inst_infodir)/libc.info): Use make-target-directory.
70328         (installdirs): Remove.
70329         (subdir_%): Remove.
70330         (glibc-targets): Remove.
70331         (lib): Remove.
70332         (stubs): Remove.
70333         ($(objpfx)stubs ../po/manual.pot): Remove.
70334         ($(objpfx)stamp%): Remove.
70335         (make-target-directory): Remove.
70336         (subdir_install): Remove.
70337         (routines): Remove.
70338         (aux): Remove.
70339         (sources): Remove.
70340         (objects): Remove.
70341         (headers): Remove.
70343         [BZ #13750]
70344         * manual/.gitignore: Remove, it's not needed anymore.
70345         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
70346         all files in it.
70347         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
70348         directory.
70349         (texis): Renamed to $(objpfx)texis.
70350         (texis-path): New, contains path to generated files.
70351         (chapters.%): Use texis-path for complete path, add extra argument
70352         libc-texinfo.sh.
70353         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
70354         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
70355         (summary,texi, stamp-summary): Use complete path of
70356         files. Generate files in build dir.
70357         (dir-add.texi): Build in build dir.
70358         (libm-err.texi,stamp-libm-err): Likewise.
70359         (version.texi, stamp-version): Likewise.
70360         (.%c.texi): Likewise.
70361         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
70362         (mostlyclean): Remove target.
70363         (realclean): Remove target.
70364         (generated): Add new variable with contents from mostlyclean and
70365         realclean, remove entries duplicated in common-mostlyclean, add
70366         stamp-libm-err and stamp-version.
70367         (generated-dirs): Add libc directory.
70368         ($(inst_infodir)/libc.info): Install files from build dir.
70370         * manual/install.texi (Configuring and compiling): Adjust since
70371         the info files are not part of the tar ball anymore.
70373 2012-05-14  Andreas Jaeger  <aj@suse.de>
70375         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
70376         variable.
70378 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
70380         [BZ #13717]
70381         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70382         to 2.2.0 where earlier.
70383         * sysdeps/unix/sysv/linux/configure: Regenerated.
70384         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
70385         Remove conditional code.
70386         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
70387         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
70388         Remove conditional code.
70389         [!__NR_lchown]: Likewise.
70390         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70391         [__NR_lchown]: Likewise.
70392         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
70393         comment referencing __ASSUME_LCHOWN_SYSCALL.
70394         * sysdeps/unix/sysv/linux/i386/sigaction.c
70395         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70396         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70397         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
70398         Remove conditional code.
70399         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
70400         (__protocol_available): Remove #if 0 code.
70401         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
70402         conditional code.
70403         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
70404         * sysdeps/unix/sysv/linux/kernel-features.h
70405         (__ASSUME_GETCWD_SYSCALL): Don't define.
70406         (__ASSUME_REALTIME_SIGNALS): Likewise.
70407         (__ASSUME_PREAD_SYSCALL): Likewise.
70408         (__ASSUME_PWRITE_SYSCALL): Likewise.
70409         (__ASSUME_POLL_SYSCALL): Likewise.
70410         (__ASSUME_LCHOWN_SYSCALL): Likewise.
70411         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
70412         non-SPARC.
70413         (__ASSUME_SIOCGIFNAME): Don't define.
70414         (__ASSUME_MSG_NOSIGNAL): Likewise.
70415         (__ASSUME_SENDFILE): Define unconditionally.
70416         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
70417         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
70418         conditional code.
70419         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
70420         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
70421         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
70422         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70423         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
70424         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
70425         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
70427         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70428         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
70430         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70431         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
70433         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70434         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
70436         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70437         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
70439         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70440         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
70442         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70443         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
70445         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
70448         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70449         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70450         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
70451         Remove conditional code.
70452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70453         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
70454         Remove conditional code.
70455         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70456         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
70457         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
70458         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
70459         Remove conditional code.
70460         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70461         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
70462         Remove conditional code.
70463         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70464         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
70465         Remove conditional code.
70466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70467         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
70468         Remove conditional code.
70469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70470         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
70471         Remove conditional code.
70472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70473         * sysdeps/unix/sysv/linux/sh/pwrite64.c
70474         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70476         * sysdeps/unix/sysv/linux/sigaction.c
70477         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70478         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70479         * sysdeps/unix/sysv/linux/sigpending.c
70480         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70481         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70482         * sysdeps/unix/sysv/linux/sigprocmask.c
70483         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70484         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70485         * sysdeps/unix/sysv/linux/sigsuspend.c
70486         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70487         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70488         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70489         (__libc_missing_rt_sigs): Remove.
70490         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
70491         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
70492         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
70493         Remove conditional code.
70494         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
70495         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
70496         return 1.
70497         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
70498         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
70499         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
70500         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
70502 2012-05-14  Andreas Jaeger  <aj@suse.de>
70504         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
70505         it's not used in glibc.
70506         (__coshm1): Likewise.
70507         (__acosh1p): Likewise.
70508         (__sgn): Likewise.
70510         * manual/string.texi (Copying and Concatenation): Add missing
70511         variable in concat example.
70512         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
70514 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70516         [BZ #14103]
70517         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
70518         __builtin_clzl with __builtin_clzll.
70520 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70522         [BZ #14104]
70523         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
70524         libc_freeres_ptr.
70526 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70528         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
70529         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
70530         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
70531         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
70533 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
70535         * NEWS: Update ia64 info.
70537 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
70539         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
70540         used as bcopy.
70542 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
70544         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
70545         * sysdeps/unix/syscalls.list (dup3): Likewise.
70546         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
70547         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
70549 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
70551         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
70552         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
70554 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
70556         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
70557         thread pointer.
70558         (TLS_IE): Use mov/add instead of movq/addq to load thread
70559         pointer.
70560         (TLS_GD_PREFIX): New.
70561         (TLS_GD): Use it.
70563 2012-05-11  David S. Miller  <davem@davemloft.net>
70565         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
70566         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
70567         (_FPU_SETCW): Likewise.
70569 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70571         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
70572         is 32-byte aligned.
70574 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
70576         [BZ #11837]
70577         * iconvdata/gb18030.c: Update tables.
70578         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
70579         characters specially.
70580         (BODY for TO_LOOP): Add encoding of missing ranges.
70582 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
70584         [BZ #13673]
70585         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
70586         * sysdeps/mach/hurd/dup3.c: Likewise.
70587         * sysdeps/mach/hurd/readlinkat.c: Likewise.
70588         * sysdeps/powerpc/memmove.c:: Likewise.
70590 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70592         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
70593         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
70595 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70597         * elf/elf.h (R_X86_64_RELATIVE64): New.
70598         (R_X86_64_NUM): Updated.
70599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70600         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
70601         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
70602         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
70603         tst-quad1pie tst-quad2pie
70604         (modules-names): Add tst-quadmod1 tst-quadmod2.
70605         ($(objpfx)tst-quad1): New dependency.
70606         ($(objpfx)tst-quad2): Likewise.
70607         ($(objpfx)tst-quad1pie): Likewise.
70608         ($(objpfx)tst-quad2pie): Likewise.
70609         * sysdeps/x86_64/tst-quad1.c: New file.
70610         * sysdeps/x86_64/tst-quad1pie.c: New file.
70611         * sysdeps/x86_64/tst-quad2.c: Likewise.
70612         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
70613         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
70614         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
70615         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
70616         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
70618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70620         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
70621         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
70622         * streams/stropts.h (t_scalar_t): Define type.
70624         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
70625         (_PATH_PRESERVE): Set to "/var/lib".
70626         (_PATH_RWHODIR): Set to "/var/spool/rwho".
70628         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
70629         instead of int.
70631         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
70632         if __dir_mkfile succeeded.
70634         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
70635         checking for _hurd_dtablesize.  Unlock it right after having
70636         finished _hurd_dtable allocation.
70638 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70640         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
70641         * sysdeps/mach/hurd/configure: Regenerated.
70642         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
70643         special-casing to...
70644         * sysdeps/gnu/configure.in: ... this new file.
70645         * sysdeps/unix/sysv/linux/configure: Regenerated.
70646         * sysdeps/gnu/configure: New generated file.
70648         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
70649         for Linux: use nsec instead of usec, as well as:
70650         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
70651         members of type struct timespec.
70652         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
70653         New macros.
70654         (struct stat64): Likewise.
70655         (_STATBUF_ST_NSEC): New macro.
70656         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
70658         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70659         __strtoul_internal rather than strtoul.
70661 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70663         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
70664         and reject them.
70666 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70668         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
70669         which preserves existing values.
70670         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
70672 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70674         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
70675         TIMEOUT values.  Return EINVAL for NFDS values either negative or
70676         greater than FD_SETSIZE.
70678 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70680         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
70681         allocated, call __vm_protect to finish enabling the existing space, and
70682         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
70683         allocate the remainder.
70685 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70687         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
70688         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
70690 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70692         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
70693         sysdeps/mach/hurd/readlink.c.
70695         * posix/tst-sysconf.c (posix_options): Only use
70696         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
70697         _POSIX_SYNCHRONIZED_IO when they are defined
70698         * sysdeps/mach/hurd/bits/posix_opt.h:
70699         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
70700         (_XOPEN_REALTIME): Undefine macro.
70701         (_XOPEN_REALTIME_THREADS): Undefine macro.
70702         (_XOPEN_SHM): Undefine macro.
70703         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
70704         macro to -1.
70705         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
70706         macro to -1.
70707         (_POSIX_ASYNC_IO): Undefine macro.
70708         (_POSIX_PRIORITIZED_IO): Undefine macro.
70709         (_POSIX_SPIN_LOCKS): Define macro to -1.
70711         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
70712         SA_NODEFER, SA_RESETHAND.
70713         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
70714         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
70715         F_DUPFD_CLOEXEC.
70717 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70719         * elf/Makefile (pldd-modules): Define unconditionally.
70721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70723         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
70725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70727         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
70728         Return ENOENT when name is empty.
70729         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
70731 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70733         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
70735         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
70737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70739         Fix mlock in all cases except non-readable pages.
70740         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
70741         instead of VM_PROT_ALL as parameter to __vm_wire function.
70743         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
70744         (__mkdir): When path is `/', just fail with EEXIST.
70745         * sysdeps/mach/hurd/mkdirat.c: Likewise.
70747 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70749         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
70750         <sys/uio.h> (for writev).
70751         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
70752         and <sys/param.h> (for MIN).
70754 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70756         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
70757         REQUESTED_TIME.  Properly set the remaining time and return EINTR
70758         if interrupted.
70760 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70762         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
70763         Depend on against $(link-rpcuserlibs).
70765 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70767         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
70768         (__libc_stack_end): Do not use attribute_relro.
70769         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
70770         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
70771         to libthread-provided value.
70772         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
70773         attribute_relro.
70775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70777         [BZ #3748]
70778         * bits/libc-lock.h (__libc_once_get): New macro.
70779         * sysdeps/mach/bits/libc-lock.h: Likewise.
70780         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
70781         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
70782         instead of using implementation details.
70784         * libio/fileops.c: Unconditionally include <kernel-features.h>.
70785         * libio/freopen.c: Likewise.
70786         * libio/freopen64.c: Likewise.
70787         * misc/syslog.c: Likewise.
70788         * nscd/connections.c: Likewise.
70789         * nscd/netgroupcache.c: Likewise.
70790         * sysdeps/posix/getcwd.c: Likewise.
70792 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70794         * math/w_ilogbf.c: Add #include <limits.h>.
70796 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70798         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
70799         path instead of returning without unlocking.
70801         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
70802         immediate-write ioctls.
70803         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
70805 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70807         * sysdeps/mach/hurd/i386/init-first.c (init): Use
70808         __builtin_frame_address instead of making assumptions about the
70809         location of the return address relative to DATA.  Force early load of
70810         the return address.
70811         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
70812         __builtin_frame_address.
70814         dup3 for GNU Hurd.
70815         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
70816         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
70817         implement dup3 and do some further code clean-ups.
70818         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
70819         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
70821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70823         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
70825         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
70826         HURD_CRITICAL_END around holding _hurd_dtable_lock.
70827         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
70828         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
70829         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
70830         d->port.lock.
70832         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
70833         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
70834         when handler == SIG_ERR, not when handler != SIG_ERR.
70836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70838         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
70839         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
70840         definitions.
70842         accept4 for GNU Hurd.
70843         * include/sys/socket.h (__libc_accept4): New prototype.
70844         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
70845         to implement __libc_accept4.
70846         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
70847         __libc_accept4.
70848         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
70850         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
70851         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
70852         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
70853         signal-defines.sym.
70855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70857         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
70859 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70861         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
70862         assertion on O_CLOEXEC flag.
70863         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
70864         * hurd/intern-fd.c: Likewise.
70865         * hurd/port2fd.c: Likewise.
70867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70869         [BZ #3906]
70870         * bits/in.h (IPV6_PKTINFO): Define new macro.
70871         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
70873 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70875         [BZ #13954]
70876         [BZ #13955]
70877         [BZ #13956]
70878         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
70879         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70880         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
70881         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70882         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70883         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70884         * math/libm-test.inc (logb_test) : Additional logb tests.
70886 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
70887             Andreas Jaeger  <aj@suse.de>
70889         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
70890         * configure: Regenerated.
70891         * config.h.in (LINK_OBSOLETE_RPC): New macro.
70892         * config.make.in (link-obsolete-rpc): New substituted variable.
70893         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
70894         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
70895         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70896         (shared-only-routines): Don't set it under [link-obsolete-rpc],
70897         so that libc.a contains the symbols.
70898         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70899         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
70900         * sunrpc/auth_none.c: Likewise.
70901         * sunrpc/auth_unix.c: Likewise.
70902         * sunrpc/authdes_prot.c: Likewise.
70903         * sunrpc/authuxprot.c: Likewise.
70904         * sunrpc/clnt_gen.c: Likewise.
70905         * sunrpc/clnt_perr.c: Likewise.
70906         * sunrpc/clnt_raw.c: Likewise.
70907         * sunrpc/clnt_simp.c: Likewise.
70908         * sunrpc/clnt_tcp.c: Likewise.
70909         * sunrpc/clnt_udp.c: Likewise.
70910         * sunrpc/clnt_unix.c: Likewise.
70911         * sunrpc/des_crypt.c: Likewise.
70912         * sunrpc/des_soft.c: Likewise.
70913         * sunrpc/get_myaddr.c: Likewise.
70914         * sunrpc/key_call.c: Likewise.
70915         * sunrpc/key_prot.c: Likewise.
70916         * sunrpc/netname.c: Likewise.
70917         * sunrpc/pm_getmaps.c: Likewise.
70918         * sunrpc/pm_getport.c: Likewise.
70919         * sunrpc/pmap_clnt.c: Likewise.
70920         * sunrpc/pmap_prot.c: Likewise.
70921         * sunrpc/pmap_prot2.c: Likewise.
70922         * sunrpc/pmap_rmt.c: Likewise.
70923         * sunrpc/publickey.c: Likewise.
70924         * sunrpc/rpc_cmsg.c: Likewise.
70925         * sunrpc/rpc_common.c: Likewise.
70926         * sunrpc/rpc_dtable.c: Likewise.
70927         * sunrpc/rpc_prot.c: Likewise.
70928         * sunrpc/rpc_thread.c: Likewise.
70929         * sunrpc/rtime.c: Likewise.
70930         * sunrpc/svc.c: Likewise.
70931         * sunrpc/svc_auth.c: Likewise.
70932         * sunrpc/svc_raw.c: Likewise.
70933         * sunrpc/svc_run.c: Likewise.
70934         * sunrpc/svc_tcp.c: Likewise.
70935         * sunrpc/svc_udp.c: Likewise.
70936         * sunrpc/svc_unix.c: Likewise.
70937         * sunrpc/svcauth_des.c: Likewise.
70938         * sunrpc/xcrypt.c: Likewise.
70939         * sunrpc/xdr.c: Likewise.
70940         * sunrpc/xdr_array.c: Likewise.
70941         * sunrpc/xdr_float.c: Likewise.
70942         * sunrpc/xdr_intXX_t.c: Likewise.
70943         * sunrpc/xdr_mem.c: Likewise.
70944         * sunrpc/xdr_rec.c: Likewise.
70945         * sunrpc/xdr_ref.c: Likewise.
70946         * sunrpc/xdr_sizeof.c: Likewise.
70947         * sunrpc/xdr_stdio.c: Likewise.
70949 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70951         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70952         change.  Update copyright years.
70954 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70956         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70958 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70959             Joseph Myers  <joseph@codesourcery.com>
70960             Paul Pluzhnikov  <ppluzhnikov@google.com>
70962         [BZ #14012]
70963         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70964         requiring rpcgen.
70965         [cross-compiling] (extra-libs): Likewise.
70966         [cross-compiling] (extra-libs-others): Likewise.
70967         [cross-compiling] (librpcsvc-routines): Likewise.
70968         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70969         [cross-compiling] (omit-deps): Likewise.
70970         (sunrpc-CPPFLAGS): New variable.
70971         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70972         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70973         (cross-rpcgen-objs): New variable.
70974         (extra-objs): Append $(cross-rpcgen-objs).
70975         ($(cross-rpcgen-objs)): New rule.
70976         ($(objpfx)cross-rpcgen): Likewise.
70977         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70978         comment.
70979         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70980         ($(objpfx)x%.stmp): Likewise.
70981         * sunrpc/proto.h [IS_IN_build] (_): Define.
70982         [IS_IN_build] (_libc_intl_domainname): Likewise.
70984 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70986         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70987         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70988         and R_X86_64_TPOFF64.
70990 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70992         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70993         sysdeps/unix/sysv/syscalls.list.
70994         (stime): Likewise.
70995         (utime): Likewise.
70996         * sysdeps/unix/sysv/syscalls.list: Remove file.
70998 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
71000         [BZ #3440]
71001         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71002         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71003         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71004         (__LC_IDENTIFICATION): Make these macros useful in #if
71005         expressions, as required by C99.
71007 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
71009         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71010         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
71011         after this.
71013 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
71015         * stdlib/longlong.h: Updated from GCC.
71017 2012-05-09  Andreas Jaeger  <aj@suse.de>
71019         * nscd/nscd.c (run_modes): Make named enum, reorder so that
71020         default is first entry.
71021         (run_mode): Set type.
71022         (main): Remove informal message about syslog.
71023         (options): Fix typo.
71025         [BZ #14053]
71026         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71027         to asm.
71028         (lrint): Likewise.
71029         (llrintf): Likewise.
71030         (llrint): Likewise.
71031         (rint): Likewise.
71032         (rintf): Likewise.
71033         (nearbyint): Likewise.
71034         (nearbyintf): Likewise.
71036 2012-05-09  Andreas Jaeger  <aj@suse.de>
71037             Pedro Alves  <palves@redhat.com>
71039         * nscd/nscd.c (run_mode): Use enum.
71040         (main): Cleanup coding style issue.
71042 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
71043             Andreas Jaeger  <aj@suse.de>
71045         * nscd/nscd.c (go_background): Replaced with...
71046         (run_mode): ... this.
71047         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71048         (options): Add -F --foreground.
71049         (main): Implement it.
71050         (parse_opt): Parse it.
71052 2012-05-09  Andreas Jaeger  <aj@suse.de>
71054         [BZ #14083]
71055         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71056         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71057         -Wconversion warning.
71058         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71059         Likewise.
71061 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
71063         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
71064         == 0.
71065         (LC_ALL): Use macro-int-constant.
71066         (LC_COLLATE): Likewise.
71067         (LC_CTYPE): Likewise.
71068         (LC_MESSAGES): Likewise.
71069         (LC_MONETARY): Likewise.
71070         (LC_NUMERIC): Likewise.
71071         (LC_TIME): Likewise.
71072         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71073         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71074         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71075         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71076         Specify type.
71077         [C99-based standards] (float_t): Expect type.
71078         [C99-based standards] (double_t): Expect type.
71079         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
71080         type.
71081         [C99-based standards] (HUGE_VALL): Likewise.
71082         [C99-based standards] (INFINITY): Likewise.
71083         [C99-based standards] (NAN): Likewise.
71084         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71085         [C99-based standards] (FP_NAN): Likewise.
71086         [C99-based standards] (FP_NORMAL): Likewise.
71087         [C99-based standards] (FP_SUBNORMAL): Likewise.
71088         [C99-based standards] (FP_ZERO): Likewise.
71089         [C99-based standards] (FP_FAST_FMA): Use
71090         optional-macro-int-constant.  Specify type.  Require == 1.
71091         [C99-based standards] (FP_FAST_FMAF): Likewise.
71092         [C99-based standards] (FP_FAST_FMAL): Likewise.
71093         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71094         [C99-based standards] (FP_ILOGBNAN): Likewise.
71095         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71096         Specify type.
71097         [C99-based standards] (MATH_ERREXCEPT): Likewise.
71098         [C99-based standards] (math_errhandling): Specify type.
71099         [ISO99 || ISO11] (signgam): Do not allow.
71100         [non-C99-based standards] (copysignf): Do not allow.
71101         [non-C99-based standards] (exp2f): Likewise.
71102         [non-C99-based standards] (log2f): Likewise.
71103         [non-C99-based standards] (modff): Allow.
71104         [non-C99-based standards] (erff): Do not allow.
71105         [non-C99-based standards] (erfcf): Likewise.
71106         [non-C99-based standards] (gammaf): Likewise.
71107         [non-C99-based standards] (hypotf): Likewise.
71108         [non-C99-based standards] (j0f): Likewise.
71109         [non-C99-based standards] (j1f): Likewise.
71110         [non-C99-based standards] (jnf): Likewise.
71111         [non-C99-based standards] (lgammaf): Likewise.
71112         [non-C99-based standards] (tgammaf): Likewise.
71113         [non-C99-based standards] (y0f): Likewise.
71114         [non-C99-based standards] (y1f): Likewise.
71115         [non-C99-based standards] (ynf): Likewise.
71116         [non-C99-based standards] (isnanf): Likewise.
71117         [non-C99-based standards] (acoshf): Likewise.
71118         [non-C99-based standards] (asinhf): Likewise.
71119         [non-C99-based standards] (atanhf): Likewise.
71120         [non-C99-based standards] (cbrtf): Likewise.
71121         [non-C99-based standards] (expm1f): Likewise.
71122         [non-C99-based standards] (ilogbf): Likewise.
71123         [non-C99-based standards] (log1pf): Likewise.
71124         [non-C99-based standards] (logbf): Likewise.
71125         [non-C99-based standards] (nextafterf): Likewise.
71126         [non-C99-based standards] (remainderf): Likewise.
71127         [non-C99-based standards] (rintf): Likewise.
71128         [non-C99-based standards] (scalbf): Likewise.
71129         [non-C99-based standards] (copysignl): Likewise.
71130         [non-C99-based standards] (exp2l): Likewise.
71131         [non-C99-based standards] (log2l): Likewise.
71132         [non-C99-based standards] (modfl): Allow.
71133         [non-C99-based standards] (erfl): Do not allow.
71134         [non-C99-based standards] (erfcl): Likewise.
71135         [non-C99-based standards] (gammal): Likewise.
71136         [non-C99-based standards] (hypotl): Likewise.
71137         [non-C99-based standards] (j0l): Likewise.
71138         [non-C99-based standards] (j1l): Likewise.
71139         [non-C99-based standards] (jnl): Likewise.
71140         [non-C99-based standards] (lgammal): Likewise.
71141         [non-C99-based standards] (tgammal): Likewise.
71142         [non-C99-based standards] (y0l): Likewise.
71143         [non-C99-based standards] (y1l): Likewise.
71144         [non-C99-based standards] (ynl): Likewise.
71145         [non-C99-based standards] (isnanl): Likewise.
71146         [non-C99-based standards] (acoshl): Likewise.
71147         [non-C99-based standards] (asinhl): Likewise.
71148         [non-C99-based standards] (atanhl): Likewise.
71149         [non-C99-based standards] (cbrtl): Likewise.
71150         [non-C99-based standards] (expm1l): Likewise.
71151         [non-C99-based standards] (ilogbl): Likewise.
71152         [non-C99-based standards] (log1pl): Likewise.
71153         [non-C99-based standards] (logbl): Likewise.
71154         [non-C99-based standards] (nextafterl): Likewise.
71155         [non-C99-based standards] (remainderl): Likewise.
71156         [non-C99-based standards] (rintl): Likewise.
71157         [non-C99-based standards] (scalbl): Likewise.
71158         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71159         [non-C99-based standards] (FP_*): Do not allow.
71160         [C99-based standards] (FP_*): Change to
71161         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71162         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71163         allow.
71164         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71165         (SIG_ERR): Likewise.
71166         [X/Open-based standards] (SIG_HOLD): Likewise.
71167         (SIG_IGN): Likewise.
71168         (SIGABRT): Use macro-int-constant.  Specify type.  Require
71169         positive value.
71170         (SIGFPE): Likewise.
71171         (SIGILL): Likewise.
71172         (SIGINT): Likewise.
71173         (SIGSEGV): Likewise.
71174         (SIGTER): Likewise.
71175         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71176         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71177         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71178         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71179         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71180         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71181         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71182         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71183         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71184         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71185         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71186         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71187         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71188         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71189         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71190         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71191         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71192         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71193         [X/Open-based standards] (SIGTRAP): Likewise.
71194         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71195         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71196         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71197         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71198         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71199         allow.
71201 2012-05-08  Ian Wienand  <ianw@vmware.com>
71203         [BZ #14080]
71204         * time/tzset.c (__tzset_parse_tz): Update default rules for
71205         daylight time changes in the Energy Policy Act of 2005.
71207 2012-05-09  Andreas Jaeger  <aj@suse.de>
71209         [BZ #13983]
71210         * elf/ldconfig.c (parse_conf): Change string to make clear that
71211         ldconfig only issued a warning if ld.so.conf does not exist.
71213 2012-05-08  David S. Miller  <davem@davemloft.net>
71215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71216         movxtod instead of popping the value on the stack.
71218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71220 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
71222         * config.h.in: Add HAVE_ARM_PCS_VFP.
71224 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
71226         [BZ #13979]
71227         * include/features.h: Warn if user requests __FORTIFY_SOURCE
71228         checking but the checks are disabled for any reason.
71230 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
71232         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
71233         and ELF64_R_TYPE with ELFW(R_TYPE).
71235 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
71237         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
71238         (ulimit): Likewise.
71240         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
71241         (settimeofday): Likewise.
71243 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
71245         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
71246         a struct th_u2 inside the union, and move tu_block/tu_code into
71247         a new th_u3 union of tu_block/tu_code inside of that.  Move
71248         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
71249         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
71250         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
71251         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
71252         (th_stuff): Change to th_u1.tu_stuff.
71253         (th_data): Define.
71254         (th_msg): Change to th_u1.th_u2.tu_data.
71256 2012-05-07  David S. Miller  <davem@davemloft.net>
71258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71260         [BZ #14074]
71261         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
71262         (SETUP_PIC_REG): Use it.
71263         (SETUP_PIC_REG_LEAF): Use it.
71265 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
71267         [BZ #13885]
71268         [BZ #13923]
71269         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71270         USE_AS_EXPM1L.
71271         (EXPL_FINITE): Likewise.
71272         (FLDLOG): Likewise.
71273         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71274         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71275         e_expl.S.
71276         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71277         USE_AS_EXPM1L.
71278         (EXPL_FINITE): Likewise.
71279         (FLDLOG): Likewise.
71280         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71281         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71282         e_expl.S.
71283         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
71284         test of -max_value argument for long double.
71285         * sysdeps/i386/fpu/libm-test-ulps: Update.
71286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71288 2012-05-06  David S. Miller  <davem@davemloft.net>
71290         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
71291         quad soft-float symbols whose references which are compiler
71292         generated.
71293         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71295 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
71297         [BZ #13884]
71298         [BZ #13914]
71299         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71300         USE_AS_EXP10L.
71301         (EXPL_FINITE): Likewise.
71302         (FLDLOG): Likewise.
71303         (c0): Likewise.
71304         (c1): Likewise.
71305         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
71306         Adjust comments for base varying.
71307         (__expl_finite): Change alias to EXPL_FINITE.
71308         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
71309         e_expl.S.
71310         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
71311         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
71312         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
71313         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
71314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71315         USE_AS_EXP10L.
71316         (EXPL_FINITE): Likewise.
71317         (FLDLOG): Likewise.
71318         (c0): Likewise.
71319         (c1): Likewise.
71320         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
71321         Adjust comments for base varying.
71322         (__expl_finite): Change alias to EXPL_FINITE.
71323         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
71324         tests for bugs.
71325         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71327         [BZ #14064]
71328         * math/libm-test.inc (check_float_internal): Correct ulp
71329         calculation for subnormal expected results.
71331 2012-05-06  Andreas Jaeger  <aj@suse.de>
71333         * Makeconfig (+math-flags): New, set to -frounding-math.
71334         (+cflags): Add +math-flags so that all of glibc gets compiled with
71335         it.
71337         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
71339 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
71341         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
71342         Disable one test.
71344         [BZ #13787]
71345         [BZ #13922]
71346         [BZ #14036]
71347         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
71348         (__ieee754_expl): Allow for and saturate large arguments.
71349         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
71350         (u_threshold): Likewise.
71351         (__exp): Call __ieee754_exp before checking for overflow and
71352         underflow.
71353         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
71354         (u_threshold): Likewise.
71355         (__expf): Call __ieee754_expf before checking for overflow and
71356         underflow.
71357         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
71358         (u_threshold): Likewise.
71359         (__expl): Call __ieee754_expl before checking for overflow and
71360         underflow.
71361         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
71362         (__ieee754_expl): Allow for and saturate large arguments.
71363         * math/libm-test.inc (exp_test): Add another test.  Do not allow
71364         missing overflow exception on overflow.
71365         (expm1_test): Do not allow missing overflow exception on overflow.
71367         * sysdeps/i386/fpu/e_expl.c: Move to ...
71368         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
71369         rather than using inline asm.
71370         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
71371         * sysdeps/x86_64/fpu/e_expl.S: Copy from
71372         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
71374         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
71375         (nice): Likewise.
71376         (poll): Likewise.
71377         (signal): Likewise.
71378         (time): Likewise.
71379         (times): Likewise.
71381 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
71383         * sysdeps/unix/syscalls.list (adjtime): Add entry from
71384         sysdeps/unix/common/syscalls.list.
71385         (fchmod): Likewise.
71386         (fchown): Likewise.
71387         (ftruncate): Likewise.
71388         (getrusage): Likewise.
71389         (gettimeofday): Likewise.
71390         (setpgid): Likewise.
71391         (setregid): Likewise.
71392         (setreuid): Likewise.
71393         (sigaction): Likewise.
71394         (truncate): Likewise.
71395         (vhangup): Likewise.
71396         * sysdeps/unix/common/syscalls.list: Remove file.
71397         * sysdeps/unix/bsd/Implies: Don't include unix/common.
71398         * sysdeps/unix/sysv/linux/Implies: Likewise.
71400 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
71402         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
71403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
71404         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
71405         Moved to ...
71406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
71407         Here.
71408         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
71409         to ...
71410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
71411         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
71412         to ...
71413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
71414         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
71415         to ...
71416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
71417         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
71418         to ...
71419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
71420         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
71421         to ...
71422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
71423         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
71424         to ...
71425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
71426         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
71427         to ...
71428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
71429         Here.
71430         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
71431         to ...
71432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
71433         Here.
71434         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
71435         to ...
71436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
71437         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
71438         Moved to ...
71439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
71440         Here.
71441         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
71442         to ...
71443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
71445 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
71447         * sysdeps/unix/common/bits/dirent.h: Remove file.
71448         * sysdeps/unix/common/bits/fcntl.h: Likewise.
71450         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
71451         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
71452         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
71453         * sysdeps/unix/bsd/isatty.c: Likewise.
71454         * sysdeps/unix/bsd/tcdrain.c: Likewise.
71455         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
71456         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
71458 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71460         [BZ #13563]
71461         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
71462         long double comparison inaccuracies.
71463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
71464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71466 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
71468         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
71469         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
71471 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
71473         [BZ #14049]
71474         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
71475         nonzero digits before rounding a hex value.
71476         * stdlib/tst-strtod.c (tests): Add another test.
71478 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71480         * sysdeps/s390/fpu/libm-test-ulps: Update.
71482 2012-05-03  Andreas Jaeger  <aj@suse.de>
71484         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
71485         does not get optimized out.
71486         (malloc_opt_barrier): New.
71488 2012-05-03  Andreas Jaeger  <aj@suse.de>
71489             Roland McGrath  <roland@hack.frob.com>
71491         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
71492         intermediate file deletion.
71493         (generated): Add .symlist files.
71495 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
71497         [BZ #13775]
71498         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
71499         Redirect under this condition.
71500         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
71501         [__USE_GNU] (__dprintf_chk): Not under this condition.
71502         [__USE_GNU] (__vdprintf_chk): Likewise.
71503         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
71504         under this condition.
71505         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
71506         [__USE_XOPEN2K8] (dprintf): Define under this condition.
71507         [__USE_XOPEN2K8] (vdprintf): Likewise.
71508         [__USE_GNU] (__dprintf_chk): Not under this condition.
71509         [__USE_GNU] (__vdprintf_chk): Likewise.
71510         [__USE_GNU] (dprintf): Likewise.
71511         [__USE_GNU] (vdprintf): Likewise.
71513 2012-05-03  Roland McGrath  <roland@hack.frob.com>
71515         * elf/Makefile (common-generated): Set this instead of generated for
71516         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
71517         $(all-built-dso)-derived lists.
71519 2012-05-03  Andreas Jaeger  <aj@suse.de>
71521         * sysdeps/i386/fpu/libm-test-ulps: Update.
71523         * FAQ: Removed.
71524         * FAQ.in: Likewise.
71525         * scripts/gen-FAQ.pl: Likewise.
71526         * manual/install.texi (Installation): Point to online location of
71527         FAQ.
71528         * Makefile (files-for-dist): Remove FAQ.
71529         (FAQ): Remove.
71531 2012-05-02  Allan McRae  <allan@archlinux.org>
71533         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
71534         (LDFLAGS-reldepmod5.so): Likewise.
71535         (LDFLAGS-reldep6mod1.so): Likewise.
71536         (LDFLAGS-reldep6mod4.so): Likewise.
71537         (LDFLAGS-reldep8mod3.so): Likewise.
71538         (LDFLAGS-unload4mod1.so): Likewise.
71539         (LDFLAGS-unload4mod2.so): Likewise.
71540         (LDFLAGS-tst-initorder): Likewise.
71541         (LDFLAGS-tst-initordera2.so): Likewise.
71542         (LDFLAGS-tst-initordera3.so): Likewise.
71543         (LDFLAGS-tst-initordera4.so): Likewise.
71544         (LDFLAGS-tst-initorderb2.so): Likewise.
71545         (LDFLAGS-noload): Likewise.
71546         (LDFLAGS-next): Likewise.
71547         (LDFLAGS-order2mod1.so): Likewise.
71548         (LDFLAGS-order2mod2.so): Likewise.
71549         (LDFLAGS-tst-initorder2): Likewise.
71550         (LDFLAGS-tst-initorder2a.so): Likewise.
71551         (LDFLAGS-tst-initorder2b.so): Likewise.
71552         (LDFLAGS-tst-initorder2c.so): Likewise.
71553         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
71555 2012-05-02  David S. Miller  <davem@davemloft.net>
71557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71559 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
71561         [BZ #14055]
71562         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
71564 2012-05-02  Andreas Jaeger  <aj@suse.de>
71566         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
71567         since we manipulate rounding mode.
71568         (CPPFLAGS-test-idouble.c): Likewise.
71569         (CPPFLAGS-test-ifloat.c): Likewise.
71570         (CFLAGS-test-ldouble.c): Likewise.
71571         (CFLAGS-test-double.c): Likewise.
71572         (CFLAGS-test-float.c): Likewise.
71573         (CFLAGS-test-misc.c): Likewise.
71574         (CFLAGS-test-test-fenv.c): Likewise.
71576 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71578         [BZ #2550]
71579         [BZ #2570]
71580         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
71581         comparisons to determine direction to adjust input.
71583 2012-05-01  Roland McGrath  <roland@hack.frob.com>
71585         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
71586         output to the target.
71588         * scripts/localplt.awk: New file.
71589         * elf/Makefile ($(objpfx)check-localplt): Target removed.
71590         (check-localplt-CFLAGS): Variable removed.
71591         ($(all-built-dso:=.jmprel)): New static pattern rule.
71592         (generated): Add those targets.
71593         (localplt-built-dso): New variable.
71594         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
71596         * elf/check-localplt.c: File removed.
71598         * scripts/check-execstack.awk: New file.
71599         * elf/Makefile ($(objpfx)check-execstack): Target removed.
71600         (check-execstack-CFLAGS): Variable removed.
71601         ($(objpfx)check-execstack.h): Target removed.
71602         ($(objpfx)execstack-default): New target.
71603         (generated): Add that instead of check-execstack.h.
71604         ($(all-built-dso:=.phdr)): New static pattern rule.
71605         (generated): Add those targets.
71606         * elf/check-execstack.c: File removed.
71608         * scripts/check-textrel.awk: New file.
71609         * elf/Makefile ($(objpfx)check-textrel): Target removed.
71610         (check-textrel-CFLAGS): Variable removed.
71611         (all-built-dso): Use := to define.o
71612         ($(all-built-dso:=.dyn)): New static pattern rule.
71613         (generated): Add those targets.
71614         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
71615         * config.make.in (READELF): New substituted variable.
71616         * elf/check-textrel.c: File removed.
71618 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71620         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71621         allow.
71622         * conform/data/ctype.h-data [C99-based standards] (isblank):
71623         Expect function.
71624         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
71625         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
71626         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71627         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
71628         Specify type.  Require positive value.
71629         (EILSEQ): Likewise.
71630         (ERANGE): Likewise.
71631         [ISO || POSIX] (EILSEQ): Do not expect.
71632         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
71633         Specify type.  Require positive value.
71634         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
71635         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
71636         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
71637         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
71638         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
71639         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
71640         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
71641         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
71642         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
71643         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
71644         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
71645         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
71646         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
71647         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
71648         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
71649         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
71650         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
71651         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
71652         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
71653         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
71654         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
71655         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
71656         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
71657         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
71658         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
71659         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
71660         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
71661         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
71662         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
71663         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
71664         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
71665         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
71666         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
71667         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
71668         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
71669         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
71670         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
71671         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
71672         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
71673         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
71674         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
71675         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
71676         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
71677         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
71678         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
71679         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
71680         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
71681         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
71682         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
71683         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
71684         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
71685         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
71686         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
71687         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
71688         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
71689         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
71690         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
71691         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
71692         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
71693         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
71694         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
71695         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
71696         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
71697         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
71698         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
71699         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
71700         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
71701         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
71702         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
71703         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
71704         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
71705         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
71706         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
71707         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
71708         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
71709         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
71710         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
71711         Require >= 2.
71712         (FLT_ROUNDS): Expect as macro, not constant.
71713         (FLT_MANT_DIG): Use macro-int-constant.
71714         (DBL_MANT_DIG): Likewise.
71715         (LDBL_MANT_DIG): Likewise.
71716         (FLT_DIG): Likewise.
71717         (DBL_DIG): Likewise.
71718         (LDBL_DIG): Likewise.
71719         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
71720         (DBL_MIN_EXP): Likewise.
71721         (LDBL_MIN_EXP): Likewise.
71722         (FLT_MAX_EXP): Use macro-int-constant.
71723         (DBL_MAX_EXP): Likewise.
71724         (LDBL_MAX_EXP): Likewise.
71725         (FLT_MAX_10_EXP): Likewise.
71726         (DBL_MAX_10_EXP): Likewise.
71727         (LDBL_MAX_10_EXP): Likewise.
71728         (FLT_MAX): Use macro-constant.
71729         (DBL_MAX): Likewise.
71730         (LDBL_MAX): Likewise.
71731         (FLT_EPSILON): Use macro-constant.  Give upper bound.
71732         (DBL_EPSILON): Likewise.
71733         (LDBL_EPSILON): Likewise.
71734         (FLT_MIN): Likewise.
71735         (DBL_MIN): Likewise.
71736         (LDBL_MIN): Likewise.
71737         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
71738         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
71739         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
71740         [ISO11] (FLT_HAS_SUBNORM): Likewise.
71741         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
71742         [ISO11] (DBL_DECIMAL_DIG): Likewise.
71743         [ISO11] (FLT_DECIMAL_DIG): Likewise.
71744         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
71745         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
71746         [ISO11] (FLT_TRUE_MIN): Likewise.
71747         [ISO11] (LDBL_TRUE_MIN): Likewise.
71748         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71749         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
71750         (SCHAR_MIN): Use macro-int-constant.  Specify type.
71751         (SCHAR_MAX): Likewise.
71752         (UCHAR_MAX): Likewise.
71753         (CHAR_MIN): Likewise.
71754         (CHAR_MAX): Likewise.
71755         (MB_LEN_MAX): Use macro-int-constant.
71756         (SHRT_MIN): Use macro-int-constant.  Specify type.
71757         (SHRT_MAX): Likewise.
71758         (USHRT_MAX): Likewise.
71759         (INT_MAX): Likewise.
71760         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
71761         bound negative.
71762         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71763         bound with "U".
71764         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71765         bound with "L".
71766         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
71767         bound negative.  Suffix upper bound with "L".
71768         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71769         bound with "UL".
71770         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
71771         Specify type.
71772         [C99-based standards] (LLONG_MAX): Likewise.
71773         [C99-based standards] (ULLONG_MAX): Likewise.
71774         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
71775         == 0.
71776         [ISO11] (max_align_t): Require type.
71777         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71779         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
71780         from $CFLAGS, without defining away __attribute__ calls.
71781         (checknamespace): Use $CFLAGS_namespace.
71783         * conform/conformtest.pl (@keywords): Only include C99 keywords
71784         for standards based on C99 or C11.
71786         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
71787         Disable tests.
71788         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
71789         UNIX98]: Likewise.
71791         * conform/conformtest.pl: Handle "macro-int-constant" and test for
71792         usability of symbols in #if.
71794         * conform/conformtest.pl: If macro or constant types start
71795         "promoted:", expect the symbol to be of the following type
71796         promoted by the integer promotions.
71798         * conform/conformtest.pl: Parse all "constant" and "macro" lines
71799         in one place.  Also handle "macro-constant".
71801         * conform/conformtest.pl: Only accept expected macro values with
71802         "==".  Parse all "macro" lines in one place.
71803         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
71805         * conform/conformtest.pl: Handle braced types on "constant" lines
71806         instead of handling "typed-constant".
71807         * conform/data/signal.h-data: Use "constant" instead of
71808         "typed-constant".
71810         * conform/conformtest.pl: Handle "optional-" at start of lines in
71811         one place rather than duplicating several cases.  Handle each
71812         format of "macro" line with initial "optional-".
71814         * conform/conformtest.pl: Only accept expected constant or
71815         optional-constant values with "==".  Parse all "constant" lines in
71816         one place.  Parse all "optional-constant" lines in one place.
71817         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
71818         * conform/data/fmtmsg.h-data: Likewise.
71819         * conform/data/netinet/in.h-data: Likewise.
71820         * conform/data/tar.h-data: Likewise.
71821         * conform/data/limits.h-data: Use "==" form on "constant" and
71822         "optional-constant" lines.
71824         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
71825         Use -std=c99 for XOPEN2K.
71826         (@knownproblems): Remove.
71827         (newtoken): Don't check %isknown.
71829         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
71830         Do not expect macro.
71831         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
71832         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
71833         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
71834         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
71835         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
71836         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
71837         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
71838         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
71839         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
71840         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
71841         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
71842         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
71843         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
71844         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
71845         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
71846         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
71847         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
71848         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
71849         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
71850         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
71851         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
71852         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
71853         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
71854         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
71855         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
71856         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
71857         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
71858         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
71859         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
71860         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
71861         [XPG3] (acosh): Likewise.
71862         [XPG3] (asinh): Likewise.
71863         [XPG3] (atanh): Likewise.
71864         [XPG3] (cbrt): Likewise.
71865         [XPG3] (expm1): Likewise.
71866         [XPG3] (ilogb): Likewise.
71867         [XPG3] (log1p): Likewise.
71868         [XPG3] (logb): Likewise.
71869         [XPG3] (nextafter): Likewise.
71870         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
71871         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
71872         [XPG3] (remainder): Likewise.
71873         [XPG3] (rint): Likewise.
71874         [XPG3 || XPG4 || UNIX98] (round): Likewise.
71875         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
71876         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
71877         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
71878         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
71879         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
71880         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
71881         [UNIX98 || XOPEN2K] (scalb): Expect.
71882         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
71883         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
71884         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
71885         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
71886         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
71887         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
71888         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
71889         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
71890         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
71891         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
71892         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
71893         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
71894         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
71895         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
71896         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
71897         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
71898         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
71899         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
71900         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
71901         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
71902         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
71903         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
71904         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
71905         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
71906         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
71907         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
71908         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
71909         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
71910         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
71911         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
71912         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
71913         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
71914         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
71915         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
71916         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
71917         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
71918         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
71919         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
71920         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
71921         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
71922         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
71923         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
71924         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
71925         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
71926         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
71927         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
71928         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
71929         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
71930         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
71931         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
71932         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
71933         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
71934         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
71935         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
71936         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
71937         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
71938         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
71939         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
71940         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
71941         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71942         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71943         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71944         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71945         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71946         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71947         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71948         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71949         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71950         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71951         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71952         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71953         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71954         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71955         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71956         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71957         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71958         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71959         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71960         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71961         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71962         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71963         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71964         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71965         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71966         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71967         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71968         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71969         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71970         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71971         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71972         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71973         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71974         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71975         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71976         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71977         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71978         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71979         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71980         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71981         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71982         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71983         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71984         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71985         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71986         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71987         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71988         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71989         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71990         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71991         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71992         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71993         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71994         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71995         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71996         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71997         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71998         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71999         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72000         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72001         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72002         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72003         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72004         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72005         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72006         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72007         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72008         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72009         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72010         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72011         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72012         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72013         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72014         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72015         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72016         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72017         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72018         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72020         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72021         _XOPEN_SOURCE_EXTENDED for XPG4.
72023         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72025         * Makeconfig (localtime): Remove variable.
72026         (inst_localtime-file): Likewise.
72028 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72031         Update.
72032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72033         Update.
72034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72035         Update.
72036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72037         Update.
72038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72039         Update.
72040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72041         Update.
72042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72043         Update.
72044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72045         Update.
72046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72047         Update.
72049 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72051         [BZ #2550]
72052         [BZ #2570]
72053         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72054         comparisons to determine direction to adjust input.
72055         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72056         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72057         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72058         Likewise.
72059         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72060         Likewise.
72061         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72062         Likewise.
72063         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72064         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72065         Likewise.
72066         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72067         Likewise.
72068         * math/libm-test.inc (nexttoward_test): Add more tests.
72070 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72072         [BZ #14040]
72073         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72074         in version GLIBC_2.1, not GLIBC_2.0.
72075         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72076         Likewise.
72078 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
72080         [BZ #13942]
72081         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72082         (1 - x) * (1 + x).
72083         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72084         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72085         * math/libm-test.inc (acos_test): Add more tests.
72086         (asin_test): Likewise.
72087         * sysdeps/i386/fpu/libm-test-ulps: Update.
72088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72090         [BZ #14034]
72091         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72092         of square root.
72093         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72094         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72095         * math/libm-test.inc (acos_test_tonearest): New function.
72096         (acos_test_towardzero): Likewise.
72097         (acos_test_downward): Likewise.
72098         (acos_test_upward): Likewise.
72099         (asin_test_tonearest): Likewise.
72100         (asin_test_towardzero): Likewise.
72101         (asin_test_downward): Likewise.
72102         (asin_test_upward): Likewise.
72103         (main): Call the new functions.
72104         * sysdeps/i386/fpu/libm-test-ulps: Update.
72105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72107         [BZ #13884]
72108         [BZ #13924]
72109         * math/e_exp10.c: Include <float.h>.
72110         (__ieee754_exp10): Handle underflow here rather than multiplying
72111         large negative argument by M_LN10.
72112         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72113         of __ieee754_expf.
72114         * math/e_exp10l.c: Include <float.h>.
72115         (__ieee754_exp10l): Handle underflow here rather than multiplying
72116         large negative argument by M_LN10l.
72117         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
72118         spurious overflow exception on underflow.
72120 2012-04-29  Marek Polacek  <polacek@redhat.com>
72122         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72123         (__fortify_function): New macro.
72124         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72125         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72126         __extern_always_inline.
72127         * libio/bits/stdio2.h: Likewise.
72128         * libio/bits/stdio.h: Likewise.
72129         * string/string.h: Likewise.
72130         * string/bits/string3.h: Likewise.
72131         * include/stdio.h: Likewise.
72132         * stdlib/bits/stdlib.h: Likewise.
72133         * stdlib/stdlib.h: Likewise.
72134         * rt/bits/mqueue2.h: Likewise.
72135         * rt/mqueue.h: Likewise.
72136         * posix/bits/unistd.h: Likewise.
72137         * posix/unistd.h: Likewise.
72138         * io/bits/poll2.h: Likewise.
72139         * io/bits/fcntl2.h: Likewise.
72140         * io/fcntl.h: Likewise.
72141         * io/sys/poll.h: Likewise.
72142         * misc/bits/syslog.h: Likewise.
72143         * misc/bits/syslog-ldbl.h: Likewise.
72144         * misc/sys/syslog.h: Likewise.
72145         * socket/bits/socket2.h: Likewise.
72146         * socket/sys/socket.h: Likewise.
72147         * debug/tst-chk1.c: Likewise.
72148         * wcsmbs/bits/wchar2.h: Likewise.
72149         * wcsmbs/bits/wchar-ldbl.h: Likewise.
72150         * wcsmbs/wchar.h: Likewise.
72152 2012-04-29  Andreas Jaeger  <aj@suse.de>
72154         * Makerules (tests): Remove enable-check-abi protection.
72155         (check-abi-warn): Remove.
72156         (check-abi-%): Remove check-abi-warn usage.
72158         * configure.in: Remove check-abi configure option.
72159         * configure: Regenerated.
72160         * config.make.in (enable-check-abi): Remove.
72162 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
72164         [BZ #14033]
72165         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72166         double functions to double *_finite functions.
72168         [BZ #13941]
72169         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72170         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72171         LDBL_MIN_EXP.
72172         * stdio-common/Makefile (tests): Add tst-sprintf3.
72173         * stdio-common/tst-sprintf3.c: New file.
72175         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72176         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72178 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72180         * conform/conformtest.pl: Remove duplicate typed-constant
72181         handling.
72183 2012-04-28  David S. Miller  <davem@davemloft.net>
72185         * Makerules (%.abilist): Add vpath on sysdep_dirs.
72186         (check-abi-%): Remove AWK script prerequisite and explicit
72187         abilist directory.
72188         (check-abi): Rewrite to just diff the symlist with the abilist.
72189         (config-tls, config-abi-config): Delete, no longer used.
72190         (update-abi-%): Remove AWK script and explicit abilist directory.
72191         (update-abi): Rewrite to simply compare and conditionally copy the
72192         symlist and the sysdep abilist file.  Remove update-abi-config
72193         checks.
72194         * abilist/ld.abilist: Remove.
72195         * abilist/libBrokenLocale.abilist: Remove.
72196         * abilist/libanl.abilist: Remove.
72197         * abilist/libcrypt.abilist: Remove.
72198         * abilist/libdl.abilist: Remove.
72199         * abilist/librt.abilist: Remove.
72200         * abilist/libthread_db.abilist: Remove.
72201         * abilist/libutil.abilist: Remove.
72202         * scripts/extract-abilist.awk: Remove.
72203         * scripts/merge-abilist.awk: Remove.
72204         * sysdeps/generic/libcidn.abilist: New file.
72205         * sysdeps/generic/libnss_compat.abilist: New file.
72206         * sysdeps/generic/libnss_db.abilist: New file.
72207         * sysdeps/generic/libnss_dns.abilist: New file.
72208         * sysdeps/generic/libnss_files.abilist: New file.
72209         * sysdeps/generic/libnss_hesiod.abilist: New file.
72210         * sysdeps/generic/libnss_nis.abilist: New file.
72211         * sysdeps/generic/libnss_nisplus.abilist: New file.
72212         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72213         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72214         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72215         file.
72216         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72217         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72218         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72219         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72220         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72221         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72222         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72223         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72224         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
72225         file.
72226         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
72227         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
72228         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
72229         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
72230         file.
72231         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
72232         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
72233         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72234         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
72235         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
72236         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
72237         file.
72238         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
72239         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
72240         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
72241         file.
72242         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
72243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
72244         New file.
72245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
72246         New file.
72247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
72248         New file.
72249         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
72250         New file.
72251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
72252         New file.
72253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
72254         New file.
72255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
72256         New file.
72257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
72258         New file.
72259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
72260         New file.
72261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
72262         New file.
72263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
72264         New file.
72265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
72266         New file.
72267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
72268         New file.
72269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
72270         file.
72271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
72272         New file.
72273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
72274         New file.
72275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
72276         file.
72277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
72278         New file.
72279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
72280         New file.
72281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
72282         file.
72283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
72284         New file.
72285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72286         New file.
72287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
72288         New file.
72289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
72290         New file.
72291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
72292         New file.
72293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
72294         New file.
72295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
72296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
72297         file.
72298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
72299         New file.
72300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
72301         file.
72302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
72303         file.
72304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
72305         file.
72306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
72307         file.
72308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
72309         file.
72310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72311         New file.
72312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
72313         file.
72314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
72315         file.
72316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
72317         New file.
72318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
72319         file.
72320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
72321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
72322         file.
72323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
72324         New file.
72325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
72326         file.
72327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
72328         file.
72329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
72330         file.
72331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
72332         file.
72333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
72334         file.
72335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72336         New file.
72337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
72338         file.
72339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
72340         file.
72341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
72342         New file.
72343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
72344         file.
72345         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72346         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
72347         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
72348         file.
72349         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
72350         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
72351         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
72352         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
72353         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
72354         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
72355         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
72356         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
72357         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
72358         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
72359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
72360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
72361         file.
72362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
72363         New file.
72364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
72365         file.
72366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
72367         file.
72368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
72369         file.
72370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
72371         file.
72372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
72373         file.
72374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
72375         New file.
72376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
72377         New file.
72378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
72379         file.
72380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
72381         New file.
72382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
72383         file.
72384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
72385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
72386         file.
72387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
72388         New file.
72389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
72390         file.
72391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
72392         file.
72393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
72394         file.
72395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
72396         file.
72397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
72398         file.
72399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
72400         New file.
72401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
72402         New file.
72403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
72404         file.
72405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
72406         New file.
72407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
72408         file.
72410 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72412         * conform/conformtest.pl: Fix typo in handling typed-constant from
72413         allow-header.
72415 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
72417         * README: Cut down references to pre-2.6 Linux kernels and
72418         Linuxthreads.  Update lists of configurations in libc and ports
72419         and sort alphabetically.  Say "or newer" with Linux kernel version
72420         requirements.
72422         * config.h.in [IS_IN_build]: Allow compiling without optimization.
72424 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72426         [BZ #887]
72427         * math/libm-test.inc (logb_test_downward): New test to expose
72428         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
72429         rounding mode.
72431 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
72433         [BZ #14027]
72434         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
72435         to be done.
72436         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
72437         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
72439 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
72441         * sysdeps/unix/i386/brk.S: Remove file.
72442         * sysdeps/unix/i386/dl-brk.S: Likewise.
72443         * sysdeps/unix/i386/pipe.S: Likewise.
72444         * sysdeps/unix/i386/sigreturn.S: Likewise.
72445         * sysdeps/unix/i386/syscall.S: Likewise.
72446         * sysdeps/unix/i386/vfork.S: Likewise.
72447         * sysdeps/unix/i386/wait.S: Likewise.
72449         * sysdeps/unix/common/tcsendbrk.c: Move to ...
72450         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
72452         * configure.in (arm*-none*): Do not allow without
72453         --enable-hacker-mode.
72454         (netbsd*): Remove case setting base_os.
72455         (386bsd*): Likewise.
72456         (freebsd*): Likewise.
72457         (bsdi*): Likewise.
72458         (osf*): Likewise.
72459         (sunos*): Likewise.
72460         (ultrix*): Likewise.
72461         (newsos*): Likewise.
72462         (dynix*): Likewise.
72463         (*bsd*): Likewise.
72464         (sysv*): Likewise.
72465         (isc*): Likewise.
72466         (esix*): Likewise.
72467         (sco*): Likewise.
72468         (minix*): Likewise.
72469         (irix4*): Likewise.
72470         (irix6*): Likewise.
72471         (solaris[2-9]*): Likewise.
72472         (none): Likewise.
72473         * configure: Regenerated.
72475 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72477         [BZ #11521]
72478         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
72479         overflow or cancellation in calculating denominator.
72480         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
72481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
72482         down expression to avoid unexpected rounding in newer GCCs.
72483         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
72485 2012-04-26  David S. Miller  <davem@davemloft.net>
72487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
72488         long-double compat symbols.
72489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
72493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
72495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
72496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
72497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
72498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
72499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
72500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
72501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72503 2012-04-25  David S. Miller  <davem@davemloft.net>
72505         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
72506         HWCAP_* values only after the memory barriers have been defined.
72507         (atomic_full_barrier): Define.
72508         (atomic_read_barrier): Define.
72509         (atomic_write_barrier): Define.
72511 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72513         * shlib-versions: Add libgcc_s version information.
72514         * sysdeps/generic/libgcc_s.h: Remove.
72515         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
72516         libgcc_s.h.
72517         * sysdeps/gnu/unwind-resume.c: Likewise.
72518         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
72520 2012-04-25  David S. Miller  <davem@davemloft.net>
72522         * sysdeps/unix/sparc/brk.S: Delete.
72523         * sysdeps/unix/sparc/dl-brk.S: Delete.
72524         * sysdeps/unix/sparc/pipe.S: Delete.
72525         * sysdeps/unix/sparc/sysdep.S: Delete.
72526         * sysdeps/unix/sparc/sysdep.h: Delete.
72527         * sysdeps/unix/sparc/vfork.S: Delete.
72528         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
72529         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
72530         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
72531         (ret_ERRVAL, r0, r1, MOVE): Define.
72532         (JUMPTARGET): Remove.
72533         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
72534         sysdeps/unix/sparc/sysdep.h
72535         (ENTRY, END): Remove.
72536         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72538 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
72540         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
72541         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
72542         -DIS_IN_build.
72544         * timezone/README: Update upstream location and email address for
72545         tzcode and tzdata.
72546         * timezone/zdump.c: Update from tzcode 2012b.
72547         * timezone/zic.c: Likewise.
72549         * configure.in (libc_cv_as_needed): Remove test.
72550         * configure: Regenerated.
72551         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
72552         conditional definition.
72553         [$(have-as-needed) != yes] (no-as-needed): Likewise.
72554         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
72555         * config.make.in (have-as-needed): Remove variable.
72557 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72558             Paul Pluzhnikov  <ppluzhnikov@google.com>
72560         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
72561         strings correctly.
72563 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
72565         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
72566         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
72567         * sysdeps/sh/strlen.S: Likewise.
72569 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72571         * sysdeps/unix/fork.S: Remove file.
72572         * sysdeps/unix/i386/fork.S: Likewise.
72573         * sysdeps/unix/sparc/fork.S: Likewise.
72575         * sysdeps/unix/system.c: Remove file.
72576         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
72578         * sysdeps/unix/getegid.S: Remove file.
72579         * sysdeps/unix/geteuid.S: Likewise.
72581 2012-04-24  Roland McGrath  <roland@hack.frob.com>
72583         * scripts/check-localplt.awk: New file.
72584         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
72585         of diff.
72586         * scripts/data/localplt-generic.data: Add a comment.
72588         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
72589         NODE when __dir_mkfile failed.
72590         * sysdeps/mach/hurd/symlinkat.c: Likewise.
72591         Reported by Ludovic Courtès <ludo@gnu.org>.
72593 2012-04-24  Andreas Jaeger  <aj@suse.de>
72595         * Makerules (common-clean): Also remove gen-as-const-headers
72596         files.
72598 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72600         * Makerules (native-compile): Do not change working directory for
72601         build.  Use $(OUTPUT_OPTION) in command.
72602         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
72604 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72606         [BZ #13886]
72607         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
72608         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
72609         * math/libm-test.inc (floor_test): Add more tests.
72610         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
72612 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72614         * sysdeps/unix/getdents.c: Remove file.
72615         * sysdeps/unix/sysv/getdents.c: Likewise.
72616         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
72618         * sysdeps/unix/syscalls.list (madvise): Add syscall from
72619         sysdeps/unix/mman/syscalls.list.
72620         (mmap): Likewise.
72621         (mprotect): Likewise.
72622         (msync): Likewise.
72623         (munmap): Likewise.
72624         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
72625         * sysdeps/unix/mman/syscalls.list: Remove.
72626         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
72628         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
72629         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
72630         * configure: Regenerated.
72631         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
72632         $(libgcc_s_suffix).
72633         * config.make.in (libgcc_s_suffix): Remove variable.
72635 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
72637         * sysdeps/unix/sysv/gethostname.c: Move to ...
72638         * sysdeps/posix/gethostname.c: ... here.
72640         * sysdeps/unix/execve.S: Remove file.
72642         * sysdeps/unix/_exit.S: Remove file.
72644 2012-04-23  Andreas Jaeger  <aj@suse.de>
72646         [BZ #13739]
72647         * manual/Makefile: Remove make dist support, there's no
72648         need for a stand-alone documentation tar ball.
72649         (TEXI2DVI): Define always, it's not in Makeconfig.
72650         (dist): Removed.
72651         (tar-it): Removed.
72652         (edition): Removed.
72653         (glibc-doc-$(edition).tar): Removed
72654         (%.Z): Removed.
72655         (%.gz): Removed.
72656         (%.uu): Removed.
72657         (ETAGS): Remove, it's in Makeconfig.
72658         (move-if-change): Remove, it's in Makeconfig.
72660 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
72662         [BZ #13970]
72663         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
72664         (strtod, strtof, strtold, strtol, strtoul, strtoq)
72665         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
72666         (strtod_l, strtof_l, strtold_l): Remove __wur.
72667         It is not necessarily an error to ignore strtol's return value.
72668         One can reliably look at the stored endptr to decide whether
72669         the number had valid syntax.
72671 2012-04-21  Andreas Jaeger  <aj@suse.de>
72673         [BZ #13739]
72674         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
72676 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
72678         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
72679         * sysdeps/unix/sysv/Versions: Remove file.
72681 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
72683         [BZ #13927]
72684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72686 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
72688         [BZ #7064]
72689         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
72690         version from __vm86.
72692 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
72694         * sysdeps/unix/common/lxstat.c: Remove file.
72695         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
72697         * sysdeps/unix/sysv/Makefile: Remove file.
72699         * sysdeps/unix/sysv/direct.h: Remove file.
72701         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
72702         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
72703         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
72704         * sysdeps/unix/sysv/bits/signum.h: Likewise.
72705         * sysdeps/unix/sysv/bits/stat.h: Likewise.
72706         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
72707         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
72709         * sysdeps/unix/sysv/setrlimit.c: Remove file.
72711         * sysdeps/unix/xmknod.c: Remove file.
72712         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
72714         * sysdeps/unix/sysv/settimeofday.c: Remove file.
72716         * sysdeps/unix/sysv/i386/time.S: Remove file.
72718         * sysdeps/unix/fxstat.c: Remove file.
72719         * sysdeps/unix/xstat.c: Likewise.
72720         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
72722         * sysdeps/unix/sysv/sigaction.c: Remove file.
72724         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
72725         (sysdep_headers): Remove variable.
72726         [termio.h not in sysdep_headers] (generated): Likewise.
72727         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
72728         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
72729         * sysdeps/unix/sysv/tcdrain.c: Likewise.
72730         * sysdeps/unix/sysv/tcflow.c: Likewise.
72731         * sysdeps/unix/sysv/tcflush.c: Likewise.
72732         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
72733         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
72734         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
72735         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
72736         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
72738         * sysdeps/unix/siglist.c: Remove file.
72740         * sysdeps/unix/getppid.S: Remove file.
72742         * sysdeps/unix/mkdir.c: Remove file.
72743         * sysdeps/unix/rmdir.c: Likewise.
72745 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
72747         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
72748         ERR_MAX value.
72749         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
72750         errlist-compat value.
72752 2012-04-18  David S. Miller  <davem@davemloft.net>
72754         * sysdeps/generic/memcopy.h (reg_char): Delete.
72755         * debug/strcat_chk.c: Use char, not reg_char.
72756         * debug/strcpy_chk.c: Likewise.
72757         * debug/strncat_chk.c: Likewise.
72758         * debug/strncpy_chk.c: Likewise.
72759         * string/memchr.c: Likewise.
72760         * string/memrchr.c: Likewise.
72761         * string/rawmemchr.c: Likewise.
72762         * string/strcat.c: Likewise.
72763         * string/strchr.c: Likewise.
72764         * string/strchrnul.c: Likewise.
72765         * string/strcmp.c: Likewise.
72766         * string/strcpy.c: Likewise.
72767         * string/strncat.c: Likewise.
72768         * string/strncmp.c: Likewise.
72769         * string/strncpy.c: Likewise.
72771 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72773         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
72774         __builtin_memcopy is called when src and dest ranges are known to not
72775         overlap.
72777 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72779         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
72780         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
72781         fwd_align_merge macro call.
72782         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
72783         bwd_align_merge macro call.
72784         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72786 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72788         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
72789         bwd_align_merge macros.
72790         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
72791         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
72792         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72794 2012-04-18  David S. Miller  <davem@davemloft.net>
72796         * sysdeps/sparc/sparc64/memcopy.h: Delete.
72798 2012-04-18  Andreas Jaeger  <aj@suse.de>
72800         [BZ# 6794]
72801         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
72802         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
72803         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72805         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
72806         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
72807         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72809         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
72810         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
72811         Adjust for changed ldbl-128 files.
72813         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
72814         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
72815         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72817 2012-04-17  David S. Miller  <davem@davemloft.net>
72819         * sysdeps/sparc/sparc32/memcopy.h: Delete.
72821 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
72823         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
72824         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
72825         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
72826         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
72827         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
72828         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
72830 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72832         [BZ #6794]
72833         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
72834         * math/libm-test.inc: Add ilogb errno and exception tests.
72835         * math/w_ilogb.c: New file: ilogb wrapper.
72836         * math/w_ilogbf.c: New file: ilogbf wrapper.
72837         * math/w_ilogbl.c: New file: ilogbl wrapper.
72838         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
72839         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
72840         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
72841         exception being thrown with 0.0 as argument.
72842         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
72843         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
72844         exception being thrown with 0.0 as argument.
72845         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
72846         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72847         exception being thrown with 0.0 as argument.
72848         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
72849         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72850         exception being thrown with 0.0 as argument.
72851         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
72852         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
72853         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
72854         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
72855         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
72856         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
72857         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
72858         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
72859         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
72861 2012-04-17  Petr Baudis  <pasky@ucw.cz>
72863         * include/sys/uio.h: Change __vector to __iovec to avoid clash
72864         with altivec.
72866 2012-04-16  Marek Polacek  <polacek@redhat.com>
72868         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
72870 2012-04-16  Marek Polacek  <polacek@redhat.com>
72872         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
72873         operands of fdivp instruction.
72875 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72877         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
72878         * elf/tst-auditmod3b.c: Likewise.
72879         * elf/tst-auditmod4b.c: Likewise.
72880         * elf/tst-auditmod5b.c: Likewise.
72881         * elf/tst-auditmod6b.c: Likewise.
72882         * elf/tst-auditmod6c.c: Likewise.
72883         * elf/tst-auditmod7b.c: Likewise.
72884         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
72885         * sysdeps/x86_64/preconfigure.in: Likewise.
72886         * sysdeps/x86_64/preconfigure: Regenerated.
72888 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72890         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
72891         __ILP32__.
72893 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
72895         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72896         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
72898 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
72900         [BZ #13973]
72901         * locale/iso-639.def: Fix gl language name. Spotted by
72902         Yaron Shahrabani.
72904 2012-04-12  Roland McGrath  <roland@hack.frob.com>
72906         [BZ #2074]
72907         * libio/libio.h (__io_write_fn): Update comment.
72909 2012-04-12  Petr Baudis  <pasky@ucw.cz>
72911         [BZ #2074]
72912         * stdio.texi (Hook Functions): The user provided writer function
72913         is not allowed to return -1.
72915 2012-04-11  David S. Miller  <davem@davemloft.net>
72917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72919 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
72921         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
72922         Add a leading slash to rtkaio.
72924 2012-04-11  Jim Meyering  <meyering@redhat.com>
72926         [BZ #11959]
72927         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
72928         It is not necessarily an error to ignore fwrite's return
72929         value.  One can reliably use ferror to test for errors after
72930         the fact.
72932 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72934         * bits/types.h (__snseconds_t): New type.
72935         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
72937         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
72938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72939         (__SNSECONDS_T_TYPE): Likewise.
72940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72941         (__SNSECONDS_T_TYPE): Likewise.
72942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72943         (__SNSECONDS_T_TYPE): Likewise.
72945 2012-04-10  Andreas Jaeger  <aj@suse.de>
72947         [BZ #2636]
72948         * manual/time.texi (Processor Time): Return type of times is
72949         elapsed real time since an arbitrary point in the past.
72950         (CPU Time): Move CLK_TCK from here...
72951         (Processor Time): ...to here.  Correct description.
72952         * manual/conf.texi (Constants for Sysconf): Correct description of
72953         _SC_CLK_TCK.
72955 2012-04-10  David S. Miller  <davem@davemloft.net>
72957         [BZ #13967]
72958         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72959         where the is a gap between DT_REL(A) and DT_JMPREL.
72961 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72963         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72964         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72965         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72967 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72969         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72970         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72971         (dl_main): Handle --inhibit-cache.
72972         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72973         _dl_inhibit_cache.
72974         * elf/dl-load.c (_dl_map_object): Use it.
72975         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72977 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72979         [BZ #13872]
72980         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72981         (__ieee754_powl): Saturate large exponents rather than testing for
72982         overflow of y*log2(x).
72983         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72984         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72985         exceptions.
72987         [BZ #11521]
72988         * math/s_ctan.c: Include <float.h>.
72989         (__ctan): Avoid internal overflow or cancellation in calculating
72990         denominator.
72991         * math/s_ctanf.c: Likewise.
72992         * math/s_ctanl.c: Likewise.
72993         * math/s_ctanh.c: Likewise.
72994         * math/s_ctanhf.c: Likewise.
72995         * math/s_ctanhl.c: Likewise.
72996         * math/libm-test.inc (ctan_test): Add more tests.
72997         (ctanh_test): Likewise.
72998         * sysdeps/i386/fpu/libm-test-ulps: Update.
72999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73001 2012-04-09  Andreas Jaeger  <aj@suse.de>
73003         [BZ #6894]
73004         * manual/filesys.texi (Directory Entries): Mention that d_namlen
73005         is an optional BSD extension.
73007         [BZ #10254]
73008         * manual/stdio.texi (Opening Streams): Document additional fopen
73009         parameters.
73011 2012-04-09  Roland McGrath  <roland@hack.frob.com>
73013         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73014         %eax without telling the compiler.
73016 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
73018         [BZ # 13963]
73019         * manual/install.texi: Use sourceware.org.
73021 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73023         [BZ #13873]
73024         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73025         (__ieee754_pow): Generate overflow and underflow using huge*huge
73026         and tiny*tiny rather than just returning constant infinity or zero
73027         for large exponents.
73028         * math/libm-test.inc (pow_test): Require overflow exceptions for
73029         applicable cases of large exponents.
73031         [BZ #706]
73032         * sysdeps/i386/fpu/e_pow.S (p10): New object.
73033         (__ieee754_pow): Use iterative multiplication algorithm only for
73034         integer exponents with absolute value below 1024.  Check for odd
73035         integer exponents when using algorithm for real exponents.
73036         * math/libm-test.inc (pow_test): Add more tests.
73037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73039 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
73041         [BZ #13705]
73042         * math/libm-test.inc (exp_test): Do not allow overflow exception
73043         on underflow test.
73045 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
73047         [BZ #13705]
73048         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73049         instead of __kernel_standard_f.
73051 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
73053         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73054         * sysdeps/x86_64/memset_chk.S: Likewise.
73056 2012-04-08  Andreas Jaeger  <aj@suse.de>
73058         [BZ #10153]
73059         * manual/startup.texi (Environment Access): Describe return value
73060         for putenv and setenv.
73062         [BZ #6895]
73063         * manual/filesys.texi (Directory Entries): Add description for
73064         DT_LNK.
73066         [BZ #6890]
73067         * manual/filesys.texi (Directory Entries): Clarify that it's file
73068         system not operating system in the description of DT_UNKNOWN.
73070         [BZ #6578]
73071         * manual/syslog.texi (closelog): Fix reference, it's openlog.
73073 2012-04-08  Stephen Compall  <s11@member.fsf.org>
73075         [BZ #6649]
73076         * manual/llio.texi (Opening and Closing Files): Add cross
73077         reference to explain mode argument.
73079 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
73081         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73082         * sysdeps/x86_64/memset_chk.S: Likewise.
73084 2012-04-07  David S. Miller  <davem@davemloft.net>
73086         * elf/elf.h (R_SPARC_WDISP10): Define.
73087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73088         R_SPARC_SIZE32.
73089         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73090         R_SPARC_SIZE64 and R_SPARC_H34.
73092 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
73094         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73095         conditions and remove no longer applicable assertion.
73097 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73099         * bits/byteswap.h: Include <features.h>.
73100         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73101         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73103 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73105         * bits/byteswap.h (__bswap_16): Removed.
73106         Include <bits/byteswap-16.h> to get __bswap_16.
73107         * sysdeps/i386/bits/byteswap.h: Likewise.
73108         * sysdeps/s390/bits/byteswap.h: Likewise.
73109         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73110         * bits/byteswap-16.h: New file.
73111         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73112         * sysdeps/s390/bits/byteswap-16.h: Likewise.
73113         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73114         * string/Makefile (headers): Add bits/byteswap-16.h.
73116 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73118         [BZ #13895]
73119         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73120         extra indirection.
73121         * nss/Makefile (tests-static, tests): Add tst-nss-static.
73122         * nss/tst-nss-static.c: New.
73124 2012-04-06  Robert Millan  <rmh@gnu.org>
73126         [BZ #6486]
73127         * manual/llio.texi (File Position Primitive): lseek
73128         refers to WHENCE when it really means OFFSET.
73130 2012-04-06  Andreas Jaeger  <aj@suse.de>
73132         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73133         strncmp declarations.
73135         * abilist/libc.abilist: Add __poll and __ppoll.
73137 2012-04-05  David S. Miller  <davem@davemloft.net>
73139         * scripts/check-local-headers.sh: Accept a host triplet in the
73140         path matched by the exclude regexp.
73142         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73143         definition.
73144         * sysdeps/powerpc/powerpc32/dl-machine.h
73145         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73146         * sysdeps/s390/s390-32/dl-machine.h
73147         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73148         * sysdeps/sparc/sparc32/dl-machine.h
73149         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73150         * sysdeps/sparc/sparc64/dl-machine.h
73151         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73153         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73154         lazy binding.
73155         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73156         undefined symbol errors.
73158         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73159         DT_NEEDED entries.
73161 2012-04-05  Michael Matz  <matz@suse.de>
73163         [BZ #13592]
73164         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73166 2012-04-05  Andreas Jaeger  <aj@suse.de>
73168         [BZ #13908]
73169         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73170         comment.
73172 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73174         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73175         which ROUND is no valid rounding mode.
73177 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73179         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73180         read again.
73181         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73183 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73185         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73186         an exception using FPU order intentionally.
73188 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73190         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73191         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73192         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73193         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73195 2012-04-05  Simon Josefsson  <simon@josefsson.org>
73197         [BZ #12340]
73198         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73199         EINVAL when BUFLEN is too smal.
73201 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
73203         [BZ #13553]
73204         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73205         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73207 2012-04-03  Andreas Jaeger  <aj@suse.de>
73209         [BZ #13938]
73210         * manual/setjmp.texi (System V contexts): Fix sentence.
73212         [BZ #13926]
73213         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73214         New macro for this case.
73215         [!__GNUC__] (__bswap_64): New inline function for this case.
73216         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73217         * bits/byteswap.h: Likewise.
73218         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73219         ull, guard with __GLIBC_HAVE_LONG_LONG.
73221         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73222         __GLIBC_HAVE_LONG_LONG.
73224         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
73225         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
73227 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73229         [BZ #13691]
73230         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
73231         inptr and inend, rather than using last_ch.
73233 2012-04-02  David S. Miller  <davem@davemloft.net>
73235         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
73236         * stdio-common/printf-parse.h (read_int): Change return type to
73237         'int', return -1 on INT_MAX overflow.
73238         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
73239         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
73240         overflows INT_MAX.  Check for overflow of in-format-string precision
73241         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
73242         SIZE_MAX not INT_MAX for integer overflow test.
73243         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73244         skip the construct in the format string but do not record anything.
73245         * stdio-common/bug22.c: Adjust to test both width/prevision
73246         INT_MAX overflow as well as total length INT_MAX overflow.  Check
73247         explicitly for proper errno values.
73249 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
73251         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
73252         CHAR_MAX.
73253         * string/test-strcmp.c [! WIDE]: Likewise.
73254         * time/tst-mktime2.c: Likewise for INT_MAX.
73255         * string/test-string.h: #include <sys/param.h> for MIN.
73257         * csu/init-first.c (__libc_init_first): Call __ctype_init.
73258         * sysdeps/i386/init-first.c (init): Likewise.
73259         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
73260         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
73261         * sysdeps/sh/init-first.c (init): Likewise.
73263 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
73265         * po/ru.po: Update from translation team.
73266         * po/vi.po: Likewise.
73268 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73270         * resolv/nss_dns/dns-host.c: Merge copyright years.
73272 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73274         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73275         Optimize memcpy with prefetch if
73276         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
73277         src, dst pointers have unequal 16 byte alignments.
73279 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73281         [BZ #13928]
73282         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
73283         from a CNAME entry and return the minimum ttl for the query.
73284         (gaih_getanswer_slice): Likewise.
73286 2012-03-30  Jeff Law  <law@redhat.com>
73288         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
73289         due to long keys.
73290         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
73291         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
73293         * resolv/nss_dns/dns-host.c: Update copyright year.
73295 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
73297         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
73298         requests to save a system call.  Fix check that all bytes are sent.
73300         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
73301         comments for sendmmsg.
73303 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73305         [BZ #13691]
73306         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
73307         with only 1 character between 0x0041 and 0x01b0.
73308         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
73309         * wcsmbs/tst-mbsnrtowcs.c: New file.
73311 2012-03-29  David S. Miller  <davem@davemloft.net>
73313         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
73314         small copies by hand.
73316 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73318         [BZ #13761]
73319         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
73320         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
73321         group memberships.
73323 2012-03-28  David S. Miller  <davem@davemloft.net>
73325         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
73326         that branches into memcpy.
73327         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
73328         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
73329         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73330         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
73331         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
73332         bits.
73333         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
73334         implementation too.
73335         * sysdeps/sparc/mempcpy.S: New file.
73337         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
73338         the IFUNC routine in the libc case.
73339         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73341         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
73342         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
73343         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
73344         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
73345         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
73346         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
73347         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
73348         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
73350         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
73351         loop to 256 bytes instead of 64 bytes and fix test signedness.
73353         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
73354         * sysdeps/sparc/sparc32/Makefile: rather than here...
73355         * sysdeps/sparc/sparc64/Makefile: and here.
73357 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
73359         * malloc/mallocbug.c: Avoid warnings about unused variables.
73361 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
73363         [BZ #13760]
73364         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
73365         in the right place. Discard and retry query if response is
73366         larger than input buffer size.
73368 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
73370         [BZ #369]
73371         [BZ #2678]
73372         [BZ #3866]
73373         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
73374         x for large integer exponent.
73375         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
73376         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
73377         sign of result as needed afterwards.
73378         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
73379         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
73380         result for underflowing pow the same as for overflow.
73381         (__kernel_standard_l): Handle powl overflow and underflow here
73382         rather than calling __kernel_standard.
73383         * math/libm-test.inc (pow_test): Add more tests.
73385         [BZ #3868]
73386         [BZ #13879]
73387         [BZ #13910]
73388         [BZ #13911]
73389         [BZ #13912]
73390         [BZ #13913]
73391         [BZ #13915]
73392         [BZ #13916]
73393         [BZ #13917]
73394         [BZ #13918]
73395         [BZ #13919]
73396         [BZ #13920]
73397         [BZ #13921]
73398         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
73399         * sysdeps/ieee754/k_standard.c: Include <float.h>.
73400         (__kernel_standard_l): New function.
73401         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
73402         __kernel_standard.
73403         * math/w_acosl.c (__acosl): Likewise.
73404         * math/w_asinl.c (__asinl): Likewise.
73405         * math/w_atan2l.c (__atan2l): Likewise.
73406         * math/w_atanhl.c (__atanhl): Likewise.
73407         * math/w_coshl.c (__coshl): Likewise.
73408         * math/w_exp10l.c (__exp10l): Likewise.
73409         * math/w_exp2l.c (__exp2l): Likewise.
73410         * math/w_fmodl.c (__fmodl): Likewise.
73411         * math/w_hypotl.c (__hypotl): Likewise.
73412         * math/w_j0l.c (__j0l, __y0l): Likewise.
73413         * math/w_j1l.c (__j1l, __y1l): Likewise.
73414         * math/w_jnl.c (__jnl, __ynl): Likewise.
73415         * math/w_lgammal.c (__lgammal): Likewise.
73416         * math/w_log10l.c (__log10l): Likewise.
73417         * math/w_log2l.c (__log2l): Likewise.
73418         * math/w_logl.c (__logl): Likewise.
73419         * math/w_powl.c (__powl): Likewise.
73420         * math/w_remainderl.c (__remainderl): Likewise.
73421         * math/w_scalbl.c (sysv_scalbl): Likewise.
73422         * math/w_sinhl.c (__sinhl): Likewise.
73423         * math/w_sqrtl.c (__sqrtl): Likewise.
73424         * math/w_tgammal.c (__tgammal): Likewise.
73425         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
73426         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
73427         * math/libm-test.inc (acos_test): Add more tests.
73428         (acosh_test): Likewise.
73429         (asin_test): Likewise.
73430         (atanh_test): Likewise.
73431         (exp_test): Likewise.
73432         (exp10_test): Likewise.
73433         (exp2_test): Likewise.
73434         (expm1_test): Likewise.
73435         (lgamma_test): Likewise.
73436         (log_test): Likewise.
73437         (log10_test): Likewise.
73438         (log1p_test): Likewise.
73439         (log2_test): Likewise.
73440         (pow_test): Do not allow some spurious overflow exceptions.
73441         (sqrt_test): Add more tests.
73442         (tgamma_test): Likewise.
73443         (y0_test): Likewise.
73444         (y1_test): Likewise.
73445         (yn_test): Likewise.
73447 2012-03-27  Anton Blanchard  <anton@samba.org>
73449         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
73450         MAP_HUGETLB.
73451         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73452         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73453         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73455 2012-03-27  David S. Miller  <davem@davemloft.net>
73457         * conform/Makefile: Run run-conformtest.sh using $(BASH).
73459         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
73460         have-as-vis3 check.
73462 2012-03-27  Andreas Jaeger  <aj@suse.de>
73464         * sysdeps/x86_64/elf/configure.in: Moved to ...
73465         * sysdeps/x86_64/configure.in: ... here.
73466         * sysdeps/x86_64/elf/start.S: Moved to ...
73467         * sysdeps/x86_64/start.S: ... here.
73468         * sysdeps/x86_64/elf/configure: Delete.
73470         * sysdeps/x86_64/configure.in: Merge contents from
73471         sysdeps/i386/configure.in (without i686 check).
73473         * sysdeps/i386/elf/Versions: Merge into ...
73474         * sysdeps/i386/Versions: ... this.
73475         * sysdeps/i386/elf/Versions: Delete file.
73476         * sysdeps/i386/elf/start.S: Moved to ...
73477         * sysdeps/i386/start.S: ...here.
73478         * sysdeps/i386/elf/configure.in: Merge into...
73479         * sysdeps/i386/configure.in: ...here.
73480         * sysdeps/i386/elf/configure.in: Delete file.
73481         * sysdeps/i386/elf/configure: Delete file.
73483         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
73484         * debug/backtracesyms.c: ... here.
73485         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
73486         * debug/backtracesymsfd.c: ... here.
73487         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
73488         * sysdeps/generic/ifunc-sel.h: ... here.
73490         * sysdeps/unix/i386/start.c: Delete file.
73491         * sysdeps/unix/sparc/start.c: Delete file.
73492         * sysdeps/unix/start.c: Delete file.
73494         * sysdeps/sh/elf/configure.in: Moved to ...
73495         * sysdeps/sh/configure.in: ... here.
73496         * sysdeps/sh/elf/start.S: Moved to ...
73497         * sysdeps/sh/start.S: ... here.
73498         * sysdeps/sh/elf/configure: Delete file.
73500         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
73501         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
73502         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
73503         * sysdeps/powerpc/powerpc64/entry.h: ... here.
73504         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
73505         * sysdeps/powerpc/powerpc64/start.S: here.
73506         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
73507         * sysdeps/powerpc/powerpc64/Makefile: ... this.
73508         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
73509         * sysdeps/powerpc/powerpc64/configure.in: ... this.
73510         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
73512         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
73513         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
73514         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
73515         * sysdeps/powerpc/powerpc32/start.S: ... here.
73516         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
73517         * sysdeps/powerpc/powerpc32/configure.in: ... this.
73518         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
73520         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
73521         * sysdeps/powerpc/ifunc-sel.h: ... here.
73522         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
73523         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
73525         * sysdeps/sparc/elf/configure.in: Moved to ...
73526         * sysdeps/sparc/configure.in: ... here.
73527         * sysdeps/sparc/elf/configure: Delete file.
73528         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
73529         * sysdeps/sparc/sparc32/start.S: ... here.
73530         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
73531         * sysdeps/sparc/sparc64/start.S: ... here.
73532         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
73533         * sysdeps/sparc/sparc32/Makefile: ... this.
73534         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
73535         * sysdeps/sparc/sparc64/Makefile: ... this.
73537         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
73538         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
73539         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
73540         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
73541         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
73542         * sysdeps/s390/s390-32/setjmp.S: ... here.
73543         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
73544         * sysdeps/s390/s390-32/configure.in: ... here.
73545         * sysdeps/s390/s390-32/elf/configure: Delete file.
73546         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
73547         * sysdeps/s390/s390-32/start.S: ... here.
73549         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
73550         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
73551         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
73552         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
73553         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
73554         * sysdeps/s390/s390-64/setjmp.S: ... here.
73555         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
73556         * sysdeps/s390/s390-64/configure.in: ... here
73557         * sysdeps/s390/s390-64/elf/configure: Delete file.
73558         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
73559         * sysdeps/s390/s390-64/start.S: ... here.
73560         * sysdeps/s390/s390-64/elf/configure: Delete.
73562         * configure.in: Remove support for elf directories in sysdeps.
73564         * configure: Regenerated.
73565         * sysdeps/i386/configure: Regenerated.
73566         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73567         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73568         * sysdeps/s390/s390-32/configure: Regenerated.
73569         * sysdeps/s390/s390-64/configure: Regenerated.
73570         * sysdeps/sh/configure: Regenerated.
73571         * sysdeps/sparc/configure: Regenerated.
73572         * sysdeps/x86_64/configure: Regenerated.
73574 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
73576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73578         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
73579         denormal result into account.
73581 2012-03-25  Roland McGrath  <roland@hack.frob.com>
73583         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
73584         Reported by Allan McRae <allan@archlinux.org>.
73586 2012-03-23  Jeff Law  <law@redhat.com>
73588         * nss/getnssent.c (__nss_getent): Fix typo.
73590 2012-03-23  David S. Miller  <davem@davemloft.net>
73592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73594 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
73596         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
73597         to pad to uint64_t for each field.
73598         (dl_tls_index): Replace unsigned long with uint64_t.
73600 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
73601         Paul Pluzhnikov  <ppluzhnikov@google.com>
73603         [BZ #6528]
73604         * grp/Makefile (otherlibs): Don't set it.
73605         * inet/Makefile (otherlibs): Likewise.
73606         * login/Makefile (otherlibs): Likewise.
73607         * nscd/Makefile (otherlibs): Likewise.
73608         * posix/Makefile (otherlibs): Likewise.
73609         * pwd/Makefile (otherlibs): Likewise.
73610         * rt/Makefile (otherlibs): Likewise.
73611         * sunrpc/Makefile (otherlibs): Likewise.
73612         * nss/Makefile (otherlibs): Likewise.
73613         Add libnss_files to routines and static-only-routines.
73614         ($(objpfx)getent): Remove rule.
73615         * resolv/Makefile: Add libnss_dns and libresolv to routines and
73616         static-only-routines.
73618 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
73620         [BZ #13892]
73621         * math/s_cexp.c: Include <float.h>.
73622         (__cexp): Handle exp result overflowing not necessarily
73623         overflowing both real and imaginary parts of result.
73624         * math/s_cexpf.c: Likewise.
73625         * math/s_cexpl.c: Likewise.
73626         * math/libm-test.inc (cexp_test): Add more tests.
73627         * sysdeps/i386/fpu/libm-test-ulps: Update.
73628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73630 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73632         * include/link.h (ELFW): New macro.
73633         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
73634         Replace ELF64_R_TYPE with ELFW(R_TYPE).
73636 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73638         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
73639         with uint64_t.
73641 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73643         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
73644         declaration.
73645         (struct La_x32_retval): Likewise.
73647 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73649         * sysdeps/x86_64/preconfigure.in: New file.
73650         * sysdeps/x86_64/preconfigure: New generated file.
73652 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
73654         [BZ #13824]
73655         * math/e_exp2l.c: Include <float.h>.
73656         (__ieee754_exp2l): Handle overflow and underflow cases
73657         separately.  Only pass fractional part of argument to
73658         __ieee754_expl.
73659         * math/libm-test.inc (exp2_test): Add more tests.
73661         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
73662         negating x to take absolute value.
73663         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
73664         Likewise.
73665         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
73666         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
73667         Likewise.
73668         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
73669         computing low part if x was negated.
73670         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
73672 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73674         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
73675         la_x32_gnu_pltexit.
73676         (pltexit): Cast int_retval to ptrdiff_t.
73677         * elf/tst-auditmod3b.c: Likewise.
73678         * elf/tst-auditmod4b.c: Likewise.
73679         * elf/tst-auditmod5b.c: Likewise.
73680         * elf/tst-auditmod6b.c: Likewise.
73681         * elf/tst-auditmod6c.c: Likewise.
73682         * elf/tst-auditmod7b.c: Likewise.
73684         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
73685         and x32_gnu_pltexit.
73687         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
73688         __ELF_NATIVE_CLASS.
73689         (La_x32_regs): New macro.
73690         (La_x32_retval): Likewise.
73691         (la_x32_gnu_pltenter): New function prototype.
73692         (la_x32_gnu_pltexit): Likewise.
73694 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
73696         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
73697         exponent.
73699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73701         * configure.in (libc_cv_cc_nofma): Check for option to disable
73702         generation of FMA instructions.
73703         * configure: Regenerate.
73704         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
73705         * sysdeps/ieee754/dbl-64/Makefile: New file.
73706         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
73707         Remove brandred-fma4.
73708         (CFLAGS-brandred-fma4.c): Remove.
73709         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
73710         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
73711         define.
73712         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
73713         define.
73715 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73717         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73718         LLONG_MAX != LONG_MAX.
73719         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73720         (_fitoa_word): Likewise.
73721         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
73722         LLONG_MAX != LONG_MAX.
73723         * stdio-common/_itowa.h: Include <_itoa.h>.
73724         (_itowa_word): Use _ITOA_WORD_TYPE on value.
73725         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
73726         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
73727         only if not defined.
73728         (_ITOA_WORD_TYPE): Likewise.
73729         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73730         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
73732 2012-03-21  David S. Miller  <davem@davemloft.net>
73734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73736 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73738         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
73739         of x86_64 when setting libc_cv_slibdir, libdir and
73740         libc_cv_localedir.
73741         * sysdeps/unix/sysv/linux/configure: Regenerated.
73743 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73745         * manual/lang.texi (Old Varargs): Remove section.
73746         (How Variadic): Update menu.
73747         (va_start): Do not mention varargs.h.
73749 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73750             Joseph Myers  <joseph@codesourcery.com>
73752         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
73753         link test.
73754         * configure: Regenerated.
73756 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73758         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
73759         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
73760         conformtest.pl
73762 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73764         * NOTES: Remove.
73765         * Makefile (files-for-dist): Remove NOTES.
73766         (NOTES): Remove rule.
73767         * README: Don't refer to NOTES.
73768         * manual/creature.texi: Don't include macros.texi.
73769         * manual/intro.texi (creature.texi): Remove comment referring to
73770         NOTES.
73772         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
73773         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
73774         * configure: Regenerated.
73775         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
73776         LIBC_TRY_CC_OPTION.
73777         (libc_cv_as_i686): Likewise.
73778         (libc_cv_cc_avx): Likewise.
73779         (libc_cv_cc_sse2avx): Likewise.
73780         (libc_cv_cc_fma4): Likewise.
73781         (libc_cv_cc_novzeroupper): Likewise.
73782         * sysdeps/i386/configure: Regenerated.
73784         [BZ #13883]
73785         * sysdeps/i386/fpu/s_cexp.S: Remove.
73786         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73787         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73788         * math/libm-test.inc (cexp_test): Add more tests.
73789         * sysdeps/i386/fpu/libm-test-ulps: Update.
73790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73792 2012-03-21  Allan McRae  <allan@archlinux.org>
73794         * timezone/Makefile: Do not install iso3166.tab and zone.tab
73796 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73798         [BZ #13871]
73799         * math/w_exp2.c: Do not include <float.h>.
73800         (o_threshold, u_threshold): Remove.
73801         (__exp2): Calculate result before checking finiteness and calling
73802         __kernel_standard.
73803         * math/w_exp2f.c: Likewise.
73804         * math/w_exp2l.c: Likewise.
73805         * math/libm-test.inc (exp2_test): Require overflow exception for
73806         1e6 input.
73808         [BZ #3866]
73809         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
73810         range of signed 64-bit integers before using fistpll.  Remove
73811         checks for whether integers fit in mantissa bits.
73812         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
73813         the range of signed 32-bit integers before using fistpl.  Remove
73814         checks for whether integers fit in mantissa bits.
73815         * sysdeps/i386/fpu/e_powl.S (p64): New object.
73816         (__ieee754_powl): Test for y outside the range of signed 64-bit
73817         integers before using fistpll.  Reduce 64-bit values to 63-bit
73818         ones as needed.
73819         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
73820         divide-by-zero is raised for zero to large negative powers.
73821         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
73822         (__ieee754_powl): Test for y outside the range of signed 64-bit
73823         integers before using fistpll.  Reduce 64-bit values to 63-bit
73824         ones as needed.
73825         * math/libm-test.inc (pow_test): Add more tests.
73827 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73829         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
73830         <stdio-common/_itoa.h>.
73831         * debug/segfault.c: Likewise.
73832         * elf/dl-cache.c: Likewise.
73833         * elf/dl-minimal.c: Likewise.
73834         * elf/dl-misc.c: Likewise.
73835         * elf/dl-sysdep.c: Likewise.
73836         * elf/dl-version.c: Likewise.
73837         * elf/rtld.c: Likewise.
73838         * hurd/hurdsock.c: Likewise.
73839         * hurd/lookup-retry.c: Likewise.
73840         * malloc/malloc.c: Likewise.
73841         * malloc/mtrace.c: Likewise.
73842         * nscd/nscd_getgr_r.c: Likewise.
73843         * nscd/nscd_getpw_r.c: Likewise.
73844         * nscd/nscd_getserv_r.c: Likewise.
73845         * posix/getopt_init.c: Likewise.
73846         * posix/wordexp.c: Likewise.
73847         * stdio-common/_itoa.c: Likewise.
73848         * stdio-common/printf_fphex.c: Likewise.
73849         * stdio-common/vfprintf.c: Likewise.
73850         * string/_strerror.c: Likewise.
73851         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
73852         * sysdeps/i386/i686/hp-timing.h: Likewise.
73853         * sysdeps/mach/_strerror.c: Likewise.
73854         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
73855         * sysdeps/mach/hurd/sethostid.c: Likewise.
73856         * sysdeps/mach/hurd/xmknodat.c: Likewise.
73857         * sysdeps/mach/xpg-strerror.c: Likewise.
73858         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
73859         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
73860         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
73861         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
73862         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
73863         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
73864         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
73865         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
73866         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
73867         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
73868         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
73869         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
73870         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
73871         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
73872         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
73873         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
73874         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
73875         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
73876         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
73877         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
73878         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
73880         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
73882         * stdio-common/_itoa.h: Moved to ...
73883         * sysdeps/generic/_itoa.h: Here.
73885         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
73887         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
73888         instead of "_itoa.h" and "_itowa.h".
73889         * stdio-common/vfprintf.: Likewise.
73891 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73893         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
73894         <bits/wordsize.h>.
73895         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
73896         (__signbit): Likewise.
73897         (llrintf): Likewise.
73898         (llrint): Likewise.
73900 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73902         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
73903         __WORDSIZE != 64.
73905 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
73907         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
73908         OVERFLOW_EXCEPTION_OK.
73909         * math/libm-test.inc ("Philosophy"): Update comment about
73910         exception testing.
73911         (OVERFLOW_EXCEPTION): Define.
73912         (OVERFLOW_EXCEPTION_OK): Likewise.
73913         (INVALID_EXCEPTION_OK): Renumber.
73914         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73915         (IGNORE_ZERO_INF_SIGN): Likewise.
73916         (test_exceptions): Handle FE_OVERFLOW.
73917         (exp10_test): Expect overflow exceptions.
73918         (exp2_test): Likewise.
73919         (expm1_test): Likewise.
73920         (nextafter_test): Likewise.
73921         (pow_test): Likewise.
73922         (scalbn_test): Likewise.
73923         (scalbln_test): Likewise.
73925 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73927         * sysdeps/x86_64/bits/atomic.h
73928         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
73929         64bit integer.
73930         (atomic_exchange_acq): Likewise.
73931         (__arch_exchange_and_add_body): Likewise.
73932         (__arch_add_body): Likewise.
73933         (atomic_add_negative): Likewise.
73934         (atomic_add_zero): Likewise.
73936 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73938         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
73939         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
73941 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73943         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73944         Check __x86_64__ instead of __WORDSIZE.
73946 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73948         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73950 2012-03-19  David S. Miller  <davem@davemloft.net>
73952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73954         * sysdeps/sparc/fpu/fenv_private.h: New file.
73955         * sysdeps/sparc/fpu/math_private.h: Use it.
73956         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73957         Remove.
73958         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73959         (libc_feholdexcept_setroundl): Remove.
73960         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73961         Remove.
73962         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73963         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73965 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73967         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73968         int64_t instead of long int.
73969         (INSERT_WORDS64): Likewise.
73971 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73973         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73974         _Unwind_GetCFA return to _Unwind_Ptr first.
73976 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73978         [BZ #13629]
73979         * math/s_clog.c: Include <float.h>.
73980         (__clog): Scale large or subnormal inputs.
73981         * math/s_clogf.c: Likewise.
73982         * math/s_clogl.c: Likewise.
73983         * math/s_clog10.c: Include <float.h>.
73984         (M_LOG10_2): Define.
73985         (__clog10): Scale large or subnormal inputs.
73986         * math/s_clog10f.c: Likewise.
73987         * math/s_clog10l.c: Likewise.
73988         * math/libm-test.inc (clog_test): Add more tests.
73989         (clog10_test): Likewise.
73990         * sysdeps/i386/fpu/libm-test-ulps: Update.
73991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73993         [BZ #11451]
73994         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73995         x and y.
73996         * math/libm-test.inc (atan2_test): Add another test.
73998         * Makerules (common-objdir-compile): Remove.
73999         * sysdeps/unix/Makefile (config-generated): Do not add
74000         $(unix-generated) to variable.
74001         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74002         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74003         Remove rule.
74004         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74005         Likewise.
74006         [generic bits/local_lim.h] (before-compile): Do not append to
74007         variable.
74008         [generic bits/local_lim.h] (common-generated): Likewise.
74009         [generic sys/param.h] (before-compile): Do not append to variable.
74010         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74011         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74012         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74013         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74014         include.
74015         [generic sys/param.h] (sys/param.h-includes): Remove variable.
74016         [generic sys/param.h] (sys/param.h-includes): Remove rule.
74017         [generic sys/param.h] ($(addprefix
74018         $(common-objpfx),$(sys/param.h-includes))): Likewise.
74019         [generic sys/param.h] (common-generated): Do not append to
74020         variable.
74021         [generic sys/param.h] (sysdep_headers): Likewise.
74022         [generic bits/errno.h] (before-compile): Do not append to
74023         variable.
74024         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74025         rule.
74026         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74027         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74028         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74029         [generic bits/errno.h] (common-generated): Do not append to
74030         variable.
74031         [generic bits/ioctls.h] (before-compile): Do not append to
74032         variable.
74033         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74034         rule.
74035         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74036         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74037         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74038         rule.
74039         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74040         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74041         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74042         [generic bits/ioctls.h] (common-generated): Do not append to
74043         variable.
74044         [generic sys/syscall.h] (syscall.h): Remove variable.
74045         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74046         rule.
74047         [generic sys/syscall.h] (before-compile): Do not append to
74048         variable.
74049         [generic sys/syscall.h] (common-generated): Likewise.
74050         * sysdeps/unix/errnos-tmpl.c: Remove file.
74051         * sysdeps/unix/errnos.awk: Likewise.
74052         * sysdeps/unix/ioctls-tmpl.c: Likewise.
74053         * sysdeps/unix/ioctls.awk: Likewise.
74054         * sysdeps/unix/mk-local_lim.c: Likewise.
74055         * sysdeps/unix/snarf-ioctls: Likewise.
74057 2012-03-19  Richard Henderson  <rth@twiddle.net>
74059         * sysdeps/i386/fpu/fenv_private.h: New file.
74060         * sysdeps/i386/fpu/math_private.h: Use it.
74061         (math_opt_barrier, math_force_eval): Remove.
74062         (libc_feholdexcept_setround_53bit): Remove.
74063         (libc_feupdateenv_53bit): Remove.
74064         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74065         (math_opt_barrier, math_force_eval): Remove.
74066         (libc_feholdexcept): Remove.
74067         (libc_feholdexcept_setround): Remove.
74068         (libc_fetestexcept, libc_fesetenv): Remove.
74069         (libc_feupdateenv_test): Remove.
74070         (libc_feupdateenv, libc_feholdsetround): Remove.
74071         (libc_feresetround): Remove.
74073         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74074         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74076         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74077         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74078         (libc_feupdateenv_testl): New.
74079         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74080         (libc_feupdateenv_testf): New.
74081         (libc_feupdateenv): Use libc_feupdateenv_test.
74082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74083         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74085         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74086         (libc_feholdsetroundf, libc_feholdsetroundl): New.
74087         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74088         (libc_feresetround_noex): New.
74089         (libc_feresetround_noexf): New.
74090         (libc_feresetround_noexl): New.
74091         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74092         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74093         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74094         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74095         SET_RESTORE_ROUND.
74096         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74097         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74098         (__cos): Likewise.
74099         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74100         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74101         SET_RESTORE_ROUND_NOEX.
74102         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74103         SET_RESTORE_ROUND_NOEXF.
74104         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74105         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74106         (libc_feholdsetroundf): New.
74107         (libc_feresetround, libc_feresetroundf): New.
74109         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74110         (libc_feholdexcept_setround_53bit): Convert from macro to function.
74111         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
74113         * sysdeps/generic/math_private.h: Include <fenv.h>.
74114         (default_libc_feholdexcept): New.
74115         (default_libc_feholdexcept_setround): New.
74116         (default_libc_fesetenv, default_libc_feupdateenv): New.
74117         (libc_feholdexcept): Only define if undefined.
74118         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74119         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74120         (libc_feholdexcept_setroundl): Likewise.
74121         (libc_feholdexcept_setround_53bit): Likewise.
74122         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74123         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74124         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74125         (libc_feupdateenv_53bit): Likewise.
74126         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74127         (libc_feholdexcept): Convert from macro to inline function.
74128         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74129         (libc_fesetenv, libc_feupdateenv): Likewise.
74131         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74132         not previously defined.
74133         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74134         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74135         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74136         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74137         * sysdeps/ieee754/flt-32/math_private.h: New file.
74138         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74139         math_private.h below SET_FLOAT_WORD.
74140         (__isnan, __isinf_ns, __finite): Remove.
74141         (__isnanf, __isinf_nsf, __finitef): Remove.
74143 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
74145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74147 2012-03-17  David S. Miller  <davem@davemloft.net>
74149         [BZ #6471]
74150         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74151         for 2.16.
74153 2012-03-16  David S. Miller  <davem@davemloft.net>
74155         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74156         warnings.
74158         [BZ #6471]
74159         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74160         properly.
74161         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74162         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74163         sysdep_routines when subdir is sysvipc.
74164         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74165         __getshmlba helper.
74167         * sysdeps/sparc/fpu/libm-test/ulps: Update.
74169 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74171         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74172         [__LP64__].
74174 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74176         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74177         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74178         (__lround): Renamed to ...
74179         (__llround): This.  Replace long int with long long int.
74180         Define lround functions as aliases of llround functions.
74181         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74183 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74185         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74186         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
74187         adresses to uintptr_t.  Replace "long int" and "unsigned long
74188         int" with "greg_t" on va_arg.
74190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74192         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74193         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74195         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74196         Move e_machine check before EI_CLASS check.  Handle x32
74197         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74198         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74199         SKIP_EM_IA_64 and include
74200         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74202         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74203         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74204         (add_system_dir): New macro.
74206         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74207         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74209 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74211         [BZ #2551]
74212         [BZ #2552]
74213         [BZ #2553]
74214         [BZ #2554]
74215         [BZ #2562]
74216         [BZ #2563]
74217         [BZ #2565]
74218         [BZ #2566]
74219         [BZ #2576]
74220         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74221         (y0): Likewise.
74222         * math/w_j0f.c (j0f): Likewise.
74223         (y0f): Likewise.
74224         * math/w_j0l.c (__j0l): Likewise.
74225         (__y0l): Likewise.
74226         * math/w_j1.c (j1): Likewise.
74227         (y1): Likewise.
74228         * math/w_j1f.c (j1f): Likewise.
74229         (y1f): Likewise.
74230         * math/w_j1l.c (__j1l): Likewise.
74231         (__y1l): Likewise.
74232         * math/w_jn.c (jn): Likewise.
74233         (yn): Likewise.
74234         * math/w_jnf.c (jnf): Likewise.
74235         (ynf): Likewise.
74236         * math/w_jnl.c (__jnl): Likewise.
74237         (__ynl): Likewise.
74238         * math/libm-test.inc (j0_test): Add more tests.
74239         (j1_test): Likewise.
74240         (jn_test): Likewise.  Add trailing semicolon to existing test.
74241         (y0_test): Likewise.
74242         (y1_test): Likewise.
74243         * sysdeps/i386/fpu/libm-test-ulps: Update.
74244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74246         [BZ #13851]
74247         [BZ #13854]
74248         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
74249         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
74250         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
74251         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
74252         (__tanl): Set errno for infinite argument.
74253         * sysdeps/i386/fpu/mptan.c: Remove.
74254         * sysdeps/i386/fpu/s_tan.S: Likewise.
74255         * sysdeps/i386/fpu/s_tanl.S: Likewise.
74256         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
74257         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
74258         * math/libm-test.inc (tan_test): Add more tests and enable more
74259         tests for double and long double.
74260         * sysdeps/i386/fpu/libm-test-ulps: Update.
74261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74263 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
74265         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
74266         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
74268 2012-03-16  Roland McGrath  <roland@hack.frob.com>
74270         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
74271         * configure.in: Use it for both main tree and add-ons.
74272         * configure: Regenerated.
74274 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74276         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
74278 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74280         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
74281         in comment.
74283         [BZ #13851]
74284         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
74285         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
74286         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
74287         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
74288         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
74289         infinite argument.
74290         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
74291         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
74292         != 0 for prec == 2.
74293         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
74294         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
74295         * sysdeps/i386/fpu/s_cosl.S: Likewise.
74296         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
74297         * sysdeps/i386/fpu/s_sinl.S: Likewise.
74298         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
74299         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
74300         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
74301         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
74302         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
74303         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
74304         * math/libm-test.inc (cos_test): Add more tests and enable more
74305         tests for long double.
74306         (sin_test): Likewise.
74307         (sincos_test): Likewise.
74308         * sysdeps/i386/fpu/libm-test-ulps: Update.
74309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74311 2012-03-16  David S. Miller  <davem@davemloft.net>
74313         * sysdeps/sparc/fpu/math_private.h: New file.
74315 2012-03-15  David S. Miller  <davem@davemloft.net>
74317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
74318         file.
74319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
74320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
74321         file.
74322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
74323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
74324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
74325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
74326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
74327         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
74328         sysdep routines.
74329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
74331         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
74332         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
74334         * sysdeps/sparc/sparc-ifunc.h: New file.
74335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
74336         sparc-ifunc.h
74337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
74338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
74339         Likewise.
74340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
74341         Likewise.
74342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
74343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
74344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
74346         Likewise.
74347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
74349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
74351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
74352         Likewise.
74353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
74354         Likewise.
74355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
74357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
74358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
74359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
74360         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
74361         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
74362         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
74363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
74364         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
74365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
74366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
74367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
74368         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
74369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
74370         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
74371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
74372         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
74373         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
74374         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
74375         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
74376         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
74377         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
74378         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
74380 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
74382         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
74383         scaling.
74384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74386 2012-03-15  Andreas Jaeger  <aj@suse.de>
74388         [BZ #13852]
74389         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
74390         ieee754/flt-32 implementation for sin, cos and sincos.
74391         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
74392         * sysdeps/i386/fpu/s_cosf.S: Likewise.
74393         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
74394         * sysdeps/i386/fpu/s_sinf.S: Likewise.
74395         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
74396         ieee754/flt-32 implementation for tan.
74398         * math/libm-test.inc (cos_test): Enable some large input tests for
74399         float as well
74400         (sin_test): Likewise.
74401         (sincos_test): Likewise.
74402         (tan_test): Add tests for large input.
74404         * sysdeps/i386/fpu/libm-test-ulps: Update.
74406 2012-03-15  Andreas Jaeger  <aj@suse.de>
74408         [BZ #13658]
74409         * math/libm-test.inc (cos_test): Add more test cases.
74410         (sin_test): Likewise.
74411         (sincos_test): Likewise.
74413 2012-03-15  Andreas Jaeger  <aj@suse.de>
74415         [BZ #13837]
74416         * math/libm-test.inc (cos_test): Add a test case for large input
74417         value.
74418         (sin_test): Likewise.
74419         (sincos_test): Likewise.
74421 2012-03-15  Andreas Jaeger  <aj@suse.de>
74422             Joseph Myers  <joseph@codesourcery.com>
74424         [BZ #13658]
74425         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
74426         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
74427         * sysdeps/i386/fpu/branred.c: Likewise.
74428         * sysdeps/i386/fpu/dosincos.c: Likewise.
74429         * sysdeps/i386/fpu/mpa.c: Likewise.
74430         * sysdeps/i386/fpu/s_cos.S: Likewise.
74431         * sysdeps/i386/fpu/s_sin.S: Likewise.
74432         * sysdeps/i386/fpu/s_sincos.S: Likewise.
74433         * sysdeps/i386/fpu/sincos32.c: Likewise.
74435         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
74436         Define.
74437         (libc_feupdateenv_53bit): Define.
74438         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
74439         Define.
74440         (libc_feupdateenv_53bit): Define.
74442         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
74443         53 bit (without extend i386 double precision).
74445         * math/libm-test.inc (sincos_test): Add tests for large input.
74446         (sin): Likewise.
74447         (cos): Likewise.
74449         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
74451 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
74453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74455 2012-03-15  David S. Miller  <davem@davemloft.net>
74457         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
74458         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
74459         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
74460         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
74461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
74462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
74463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
74464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
74465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
74466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
74467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
74468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
74469         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
74470         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
74471         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
74472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
74473         file.
74474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
74475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
74476         file.
74477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
74478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
74479         file.
74480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
74481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
74482         file.
74483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
74484         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
74485         fmin/fmax sysdep routines.
74486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
74488 2012-03-14  David S. Miller  <davem@davemloft.net>
74490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
74491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
74492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
74493         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
74494         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
74495         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
74496         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
74497         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
74498         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
74499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
74500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
74501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
74502         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
74503         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
74504         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
74505         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
74506         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
74507         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
74508         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
74509         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
74510         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
74511         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
74512         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
74513         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
74514         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
74515         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
74516         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
74517         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
74518         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
74519         routines.
74520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
74521         file.
74522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
74523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
74524         file.
74525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
74526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
74527         file.
74528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
74529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
74530         file.
74531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
74532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
74533         file.
74534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
74535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
74536         file.
74537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
74538         file.
74539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
74540         file.
74541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
74542         file.
74543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
74544         New file.
74545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
74546         file.
74547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
74548         file.
74549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
74550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
74551         file.
74552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
74553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
74554         file.
74555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
74556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
74557         file.
74558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
74559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
74560         VIS3 routines.
74562         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
74563         New file.
74565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74567         * sysdeps/sparc/configure.in: New file.
74568         * sysdeps/sparc/configure: Generate.
74569         * configure.in (libc_cv_sparc_as_vis3): Substitute.
74570         * configure: Regenerate.
74571         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
74572         * config.make.in (have-as-vis3): New.
74573         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
74574         available use -Av9d instead of -Av9a.
74575         * sysdeps/sparc/sparc64/Makefile: Likewise.
74576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
74577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
74578         New file.
74579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
74580         file.
74581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
74582         New file.
74583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
74584         file.
74585         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
74586         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
74587         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
74588         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
74589         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
74591         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
74592         fzeros/fnegs to load 0x80000000 into a float register instead of
74593         using the stack.
74594         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
74596 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
74598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74599         bits/syscall.h.
74600         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
74601         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
74602         ($(inst_includedir)/bits/syscall.h): Remove rule.
74603         ($(objpfx)bits/syscall.d): Include instead of
74604         $(objpfx)syscall-list.d.
74605         (generated): Change syscall-list.h and syscall-list.d to
74606         bits/syscall.h and bits/syscall.d.
74608 2012-03-14  Roland McGrath  <roland@hack.frob.com>
74610         [BZ #13846]
74611         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
74613 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
74615         [BZ #13841]
74616         * math/s_csqrt.c: Include <float.h>.
74617         (__csqrt): Scale large or subnormal inputs.
74618         * math/s_csqrtf.c: Likewise.
74619         * math/s_csqrtl.c: Likewise.
74620         * math/libm-test.inc (csqrt_test): Add more tests.
74621         * sysdeps/i386/fpu/libm-test-ulps: Update.
74622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74624         [BZ #13840]
74625         * math/libm-test.inc (hypot_test): Add more tests.
74627 2012-03-13  David S. Miller  <davem@davemloft.net>
74629         [BZ #13840]
74630         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
74631         double-precision for the calculation instead of scaling.
74633 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
74635         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
74636         manipulate bits before adding and subtracting TWO52[sx].
74637         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
74638         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
74639         Likewise.
74640         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
74642 2012-03-13  David S. Miller  <davem@davemloft.net>
74644         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
74645         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
74646         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
74647         rtld-global-offsets.h
74648         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74650         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
74651         large parameters.
74653         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
74655         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
74656         'err' in the ifdef scope in which it is actually used.
74658         * nss/nss_db/db-init.c: Include string.h
74660 2012-03-12  David S. Miller  <davem@davemloft.net>
74662         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74663         masking out of the most significant byte of random value used.
74664         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74665         Fix coding style in previous change.
74667         * sysdeps/unix/sysv/linux/kernel-features.h
74668         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
74669         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
74670         expression.
74671         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
74672         later.
74674 2012-03-11  David S. Miller  <davem@davemloft.net>
74676         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74677         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
74678         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
74679         for 'resultvar' otherwise things get truncated on 64-bit.
74681         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74682         Fix masking out of the most significant byte of random value used.
74684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74686 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
74688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74690 2012-03-09  David S. Miller  <davem@davemloft.net>
74692         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
74693         variables with appropriate CPP guards.
74694         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
74695         from the frame pointer, not the stack pointer.  Correct layout
74696         comments.  Fix test on resulting framesize and the management of
74697         the outregs buffer for pltexit.  Preserve floating point return
74698         values across _dl_call_pltexit call.
74699         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
74700         framesize and the management of the outregs buffer for pltexit.
74701         Preserve floating point return values across _dl_call_pltexit
74702         call.
74703         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
74704         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
74705         (la_sparc64_gnu_pltexit): New functions.
74706         (print_exit): Fix format string for return register value.
74708 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
74710         * sunrpc/Makefile (others): Add rpcgen.
74711         ($(objpfx)rpcgen): Remove special build rule and dependency on
74712         libc.
74713         * sunrpc/rpcgen.c: New file.
74715 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
74717         [BZ #13673]
74718         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
74719         * stdio-common/bug-vfprintf-nargs.c: Likewise.
74720         * sysdeps/i386/crti.S: Likewise.
74721         * sysdeps/i386/crtn.S: Likewise.
74722         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
74723         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
74724         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
74725         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
74726         * sysdeps/sh/crti.S: Likewise.
74727         * sysdeps/sh/crtn.S: Likewise.
74728         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74730         [BZ #13673]
74731         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
74732         with URL.
74733         * locale/programs/locfile-kw.gperf: Likewise.
74734         * locale/programs/charmap-kw.h: Regenerated.
74735         * locale/programs/locfile-kw.h: Likewise.
74737         [BZ #13673]
74738         * intl/plural.y: Replace FSF snail mail address with URL.
74739         * intl/plural.c: Regenerated.
74741 2012-03-09  Richard Henderson  <rth@twiddle.net>
74743         * include/math_private.h: Remove file.
74744         * math/math_private.h: Move file ...
74745         * sysdeps/generic/math_private.h: ... here.
74747         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
74748         * sysdeps/powerpc/fpu/math_private.h: Likewise.
74749         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74751         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
74752         and <math_private.h>.
74753         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74754         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74755         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74756         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74757         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74758         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
74759         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74761         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74762         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74763         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74764         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74765         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74766         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74767         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74768         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74769         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74770         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74771         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74772         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74773         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74774         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74775         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74776         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74777         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
74778         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74779         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74780         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74781         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74782         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74783         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74784         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74785         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
74786         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74787         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74788         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74789         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74790         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74791         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74792         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74793         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
74794         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74795         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74796         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
74797         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
74798         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74799         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
74800         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
74801         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74802         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74803         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
74804         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
74805         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
74806         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74807         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
74808         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74809         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74810         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
74811         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
74812         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
74813         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74814         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
74815         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74816         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74817         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
74818         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74819         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74820         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74821         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
74822         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
74823         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
74824         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74825         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
74826         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74827         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
74828         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
74829         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
74830         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74831         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
74832         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
74833         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
74834         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
74835         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
74836         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74837         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74838         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
74839         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
74840         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
74841         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74842         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74843         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74844         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74845         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74846         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74847         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74848         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74849         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74850         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74851         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74852         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74853         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74854         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74855         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74856         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74857         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74858         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74859         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74860         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74861         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74862         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74863         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74864         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74865         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74866         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74867         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
74868         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74869         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74870         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74871         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74872         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74873         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74874         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74875         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74876         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
74877         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74878         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74879         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74880         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
74881         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74882         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
74883         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
74884         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74885         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74886         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
74887         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
74888         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74889         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74890         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74891         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
74892         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74893         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74894         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74895         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74896         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
74897         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
74898         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74899         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74900         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74901         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
74902         * sysdeps/ieee754/k_standard.c: Likewise.
74903         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74904         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74905         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74906         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74907         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74908         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74909         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74910         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74911         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74912         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74913         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74914         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74915         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74916         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74917         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74918         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74919         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
74920         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74921         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74922         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
74923         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
74924         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
74925         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74926         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74927         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
74928         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
74929         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74930         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74931         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74932         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74933         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
74934         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74935         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74936         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74937         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
74938         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74939         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74940         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
74941         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74942         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74943         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74944         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74945         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74946         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74947         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74948         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74949         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74950         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74951         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74952         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74953         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74954         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74955         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74956         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74957         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74959         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74960         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74961         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74962         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74963         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74964         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74965         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74966         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74967         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74968         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74969         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74970         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74971         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74972         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74973         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74974         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74975         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74976         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74977         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74978         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74979         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74980         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74981         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74982         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74983         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74984         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74985         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74986         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74987         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74988         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74989         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74990         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74991         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74992         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74993         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74994         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74995         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74996         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74997         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74998         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74999         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75000         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75001         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75002         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75003         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75004         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75005         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75006         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75007         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75008         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75009         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75010         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75011         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75012         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75013         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75014         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75015         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75016         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75017         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75018         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75019         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75020         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75021         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75022         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75023         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75024         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75025         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75026         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75027         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75028         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75029         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75030         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75031         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75032         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75033         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75034         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75035         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75036         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75037         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75038         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75039         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75040         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75041         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75042         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75043         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75044         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75045         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75046         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75047         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75048         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75049         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75050         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75051         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75052         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75053         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75054         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75055         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75056         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75057         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75058         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75059         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75060         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75061         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75062         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75063         * sysdeps/ieee754/s_lib_version.c: Likewise.
75064         * sysdeps/ieee754/s_matherr.c: Likewise.
75065         * sysdeps/ieee754/s_signgam.c: Likewise.
75066         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75067         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75068         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75069         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75070         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75071         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75072         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75073         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75074         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75075         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75076         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75077         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75078         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75079         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75080         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75081         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75082         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75083         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75084         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75085         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75086         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75088 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75090         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75091         * sunrpc/rpc_main.c: Likewise.
75092         * sunrpc/rpc_svcout.c: Likewise.
75094 2012-03-09  David S. Miller  <davem@davemloft.net>
75096         * include/math_private.h: New file.
75098 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75100         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75101         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75102         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75103         from <bits/socket_type.h>.
75104         (enum __socket_type): Don't define here.
75105         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75107         bits/socket_type.h.
75109         [BZ #13566]
75110         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75111         checking __USE_GNU.
75113         * Makerules ($(inst_includedir)/%.h): New rule.
75114         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75115         (install-others): Remove variable setting.
75116         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75118 2012-03-08  Richard Henderson  <rth@twiddle.net>
75120         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75121         from macro to inline function; merge with the
75122         !__LIBC_INTERNAL_MATH_INLINES version.
75123         (__ieee754_sqrtf): Likewise.
75125         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75126         to inline function.
75127         (__rintf, __floor, __floorf): Likewise.
75129         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75130         macro to inline function.
75131         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75133         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75134         not <math/math_private.h>.
75136 2012-03-08  David S. Miller  <davem@davemloft.net>
75138         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75139         copyright year.
75140         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75142 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
75144         * resolv/gai_misc.c (handle_requests): Fix struct timespec
75145         normalization.
75146         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75147         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75149 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
75151         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
75152         be defined individually, they must be defined as a block.  Define
75153         S for printing a string instead of hidint the different by using a
75154         macro for adding the 'l'.
75155         * stdio-common/tst-fphex-wide.c: Adjust.
75157 2012-03-07  Marek Polacek  <polacek@redhat.com>
75159         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75161 2012-03-08  Marek Polacek  <polacek@redhat.com>
75163         [BZ #13806]
75164         * stdio-common/Makefile (tests): Add tst-fphex-wide.
75165         * stdio-common/tst-fphex.c: Define a few macros to make the
75166         test reusable.  Use them.
75167         * stdio-common/tst-fphex-wide.c: New file.
75169 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
75171         [BZ #6911]
75172         * manual/macros.texi (gnusystems): New macro.
75173         (nongnusystems): Likewise.
75174         (gnulinuxhurdsystems): Likewise.
75175         (gnuhurdsystems): Likewise..
75176         (gnulinuxsystems): Likewise.
75177         * manual/charset.texi: Use new macros or @theglibc{} to refer to
75178         variants of the GNU system, not "GNU system".
75179         * manual/conf.texi: Likewise.
75180         * manual/errno.texi: Likewise.  Update example of errno macro
75181         expansion.
75182         * manual/filesys.texi: Likewise.
75183         (getumask): Document as specific to GNU/Hurd.
75184         * manual/install.texi: Likewise.  Reword some references to
75185         GNU/Linux.
75186         * manual/intro.texi: Likewise.
75187         * manual/io.texi: Likewise.
75188         (File Name Portability): Detail which constraints are inapplicable
75189         to all GNU systems and which are only inapplicable to GNU/Hurd.
75190         * manual/job.texi: Likewise.
75191         * manual/llio.texi: Likewise.
75192         (O_NOCTTY): Document as present on GNU/Linux.
75193         * manual/maint.texi: Likewise.
75194         * manual/memory.texi: Likewise.
75195         * manual/pattern.texi: Likewise.
75196         * manual/pipe.texi: Likewise.
75197         * manual/process.texi: Likewise.
75198         * manual/resource.texi: Likewise.
75199         (RUSAGE_CHILDREN): Remove statement about specifying a particular
75200         child on GNU/Hurd.
75201         * manual/setjmp.texi: Likewise.
75202         * manual/signal.texi: Likewise.
75203         * manual/startup.texi: Likewise.
75204         * manual/stdio.texi: Likewise.
75205         * manual/terminal.texi: Likewise.
75206         (ONLCR): Document as POSIX.
75207         (OXTABS): Document availability on GNU/Linux as XTABS.
75208         (ONOEOT): Document availability separately from other bits.
75209         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75210         * manual/time.texi: Likewise.
75211         * manual/users.texi: Likewise.
75212         * INSTALL: Regenerated.
75213         * sysdeps/gnu/errlist.c: Regenerated.
75215         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75216         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75217         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
75218         puts.
75219         * configure: Regenerated.
75221 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
75223         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
75224         default includes instead of AC_HEADER_CHECK.
75225         * sysdeps/i386/configure: Regenerated.
75227         [BZ #10716]
75228         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
75229         * math/s_cacoshf.c (__cacoshf): Likewise.
75230         * math/s_cacoshl.c (__cacoshl): Likewise.
75231         * math/s_casinh.c (__casinh): Set signs of result from argument.
75232         * math/s_casinhf.c (__casinhf): Likewise.
75233         * math/s_casinhl.c (__casinhl): Likewise.
75234         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
75235         (casinh_test): Add more tests.
75236         * sysdeps/i386/fpu/libm-test-ulps: Update.
75237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75239 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
75241         * po/zh_TW.po: Update from translation team.
75243         * login/Makefile (distribute): Remove variable.
75244         * catgets/Makefile: Likewise.
75245         * mach/Makefile: Likewise.
75246         * malloc/Makefile: Likewise.
75247         * misc/Makefile: Likewise.
75248         * iconv/Makefile: Likewise.
75249         * nscd/Makefile: Likewise.
75250         * hurd/Makefile: Likewise.
75251         * manual/Makefile: Likewise.
75252         * locale/Makefile: Likewise.
75253         * intl/Makefile: Likewise.
75254         * conform/Makefile: Likewise.
75255         * nss/Makefile: Likewise.
75256         * time/Makefile: Likewise.
75257         * soft-fp/Makefile: Likewise.
75258         * dirent/Makefile: Likewise.
75259         * gmon/Makefile: Likewise.
75260         * po/Makefile: Likewise.
75261         * rt/Makefile: Likewise.
75262         * socket/Makefile: Likewise.
75263         * math/Makefile: Likewise.
75264         * signal/Makefile: Likewise.
75265         * debug/Makefile: Likewise.
75266         * elf/Makefile: Likewise.
75267         * timezone/Makefile: Likewise.
75268         * stdlib/Makefile: Likewise.
75269         * iconvdata/Makefile: Likewise.
75270         * sunrpc/Makefile: Likewise.
75271         * io/Makefile: Likewise.
75272         * argp/Makefile: Likewise.
75273         * inet/Makefile: Likewise.
75274         * hesiod/Makefile: Likewise.
75275         * grp/Makefile: Likewise.
75276         * csu/Makefile: Likewise.
75277         * wctype/Makefile: Likewise.
75278         * crypt/Makefile: Likewise.
75279         * libio/Makefile: Likewise.
75280         * string/Makefile: Likewise.
75281         * nis/Makefile: Likewise.
75282         * resolv/Makefile: Likewise.
75283         * stdio-common/Makefile: Likewise.
75284         * wcsmbs/Makefile: Likewise.
75285         * dlfcn/Makefile: Likewise.
75286         * posix/Makefile: Likewise.
75288         [BZ #6959]
75289         * timezone/Makefile: Don't install timezone files, just the programs
75290         and scripts.
75292 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
75294         * nss/databases.def: Add missing gshadow entry.
75296         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
75298 2012-03-06  Marek Polacek  <polacek@redhat.com>
75300         [BZ #13726]
75301         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
75302         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
75303         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
75304         * stdio-common/tst-long-dbl-fphex.c: New file.
75306 2012-03-06  David S. Miller  <davem@davemloft.net>
75308         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75309         (set_obp_int): New function.
75310         (get_obp_int): New function.
75311         (__get_clockfreq_via_dev_openprom): Likewise.
75312         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
75313         Avoid unused variable warnings on 'val' and use builtin_expect.
75314         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
75315         __builtin_expect.
75316         (INLINE_CLONE_SYSCALL): Likewise.
75318 2012-03-05  David S. Miller  <davem@davemloft.net>
75320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75322 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
75324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75326         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
75327         only for |x| >= 40.
75328         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75330 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
75332         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
75333         Replace gettimeofday with __vdso_gettimeofday.
75335         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75336         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
75337         __vdso_clock_gettime and __vdso_getcpu.
75339         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
75340         time with __vdso_time.
75342 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
75344         * manual/lang.texi (size_t): Note types to which size_t may be
75345         equivalent with the GNU C Library, but do not describe when
75346         differences between them are significant.
75348 2012-03-05  Andreas Jaeger  <aj@suse.de>
75350         * sysdeps/i386/fpu/libm-test-ulps: Update.
75352 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
75354         [BZ #3976]
75355         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
75356         (__ieee754_pow): Save and restore rounding mode and use
75357         round-to-nearest for main computations.
75358         * math/libm-test.inc (pow_test_tonearest): New function.
75359         (pow_test_towardzero): Likewise.
75360         (pow_test_downward): Likewise.
75361         (pow_test_upward): Likewise.
75362         (main): Call the new functions.
75363         * sysdeps/i386/fpu/libm-test-ulps: Update.
75364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75366         [BZ #3976]
75367         * math/libm-test.inc (cosh_test_tonearest): New function.
75368         (cosh_test_towardzero): Likewise.
75369         (cosh_test_downward): Likewise.
75370         (cosh_test_upward): Likewise.
75371         (sinh_test_tonearest): Likewise.
75372         (sinh_test_towardzero): Likewise.
75373         (sinh_test_downward): Likewise.
75374         (sinh_test_upward): Likewise.
75375         (main): Call the new functions.
75376         * sysdeps/i386/fpu/libm-test-ulps: Update.
75377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75379 2012-03-05  Tom de Vries  <tom@codesourcery.com>
75381         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
75382         default stack guard is set in last bytes.
75383         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
75385 2012-03-05  Kees Cook  <keescook@chromium.org>
75387         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
75389         [BZ #13656]
75390         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
75391         possibly allocate from heap instead of stack.
75392         * stdio-common/bug-vfprintf-nargs.c: New file.
75393         * stdio-common/Makefile (tests): Add nargs overflow test.
75395 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
75397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75399 2012-03-03  Marek Polacek  <polacek@redhat.com>
75401         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
75402         * math/math_private.h: Likewise.
75403         * stdlib/tst-strtod.c: Likewise.
75404         * sysdeps/i386/i486/bits/atomic.h: Likewise.
75405         * sysdeps/x86_64/bits/atomic.h: Likewise.
75407 2012-03-02  David S. Miller  <davem@davemloft.net>
75409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
75410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
75411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
75412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
75413         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
75414         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
75415         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
75416         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
75418 2012-03-02  Roland McGrath  <roland@hack.frob.com>
75420         [BZ #13792]
75421         * manual/examples/README: New file, says the example source files
75422         can be used under GPL>=2.
75423         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
75424         line containing just "*/".
75425         * manual/examples/add.c: Add copyright header (GPL>=2).
75426         * manual/examples/argp-ex1.c: Likewise.
75427         * manual/examples/argp-ex2.c: Likewise.
75428         * manual/examples/argp-ex3.c: Likewise.
75429         * manual/examples/argp-ex4.c: Likewise.
75430         * manual/examples/atexit.c: Likewise.
75431         * manual/examples/db.c: Likewise.
75432         * manual/examples/dir.c: Likewise.
75433         * manual/examples/dir2.c: Likewise.
75434         * manual/examples/execinfo.c: Likewise.
75435         * manual/examples/filecli.c: Likewise.
75436         * manual/examples/filesrv.c: Likewise.
75437         * manual/examples/fmtmsgexpl.c: Likewise.
75438         * manual/examples/genpass.c: Likewise.
75439         * manual/examples/inetcli.c: Likewise.
75440         * manual/examples/inetsrv.c: Likewise.
75441         * manual/examples/isockad.c: Likewise.
75442         * manual/examples/longopt.c: Likewise.
75443         * manual/examples/memopen.c: Likewise.
75444         * manual/examples/memstrm.c: Likewise.
75445         * manual/examples/mkfsock.c: Likewise.
75446         * manual/examples/mkisock.c: Likewise.
75447         * manual/examples/mygetpass.c: Likewise.
75448         * manual/examples/pipe.c: Likewise.
75449         * manual/examples/popen.c: Likewise.
75450         * manual/examples/rprintf.c: Likewise.
75451         * manual/examples/search.c: Likewise.
75452         * manual/examples/select.c: Likewise.
75453         * manual/examples/setjmp.c: Likewise.
75454         * manual/examples/sigh1.c: Likewise.
75455         * manual/examples/sigusr.c: Likewise.
75456         * manual/examples/stpcpy.c: Likewise.
75457         * manual/examples/strdupa.c: Likewise.
75458         * manual/examples/strftim.c: Likewise.
75459         * manual/examples/strncat.c: Likewise.
75460         * manual/examples/subopt.c: Likewise.
75461         * manual/examples/swapcontext.c: Likewise.
75462         * manual/examples/termios.c: Likewise.
75463         * manual/examples/testopt.c: Likewise.
75464         * manual/examples/testpass.c: Likewise.
75465         * manual/examples/timeval_subtract.c: Likewise.
75467         [BZ #13792]
75468         * manual/time.texi (Elapsed Time): Move timeval_subtract example
75469         function to ...
75470         * manual/timeval_subtract.c.texi: ... here, new file.
75472 2012-03-02  David S. Miller  <davem@davemloft.net>
75474         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
75476 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
75478         [BZ #3976]
75479         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
75480         (__sin): Save and restore rounding mode and use round-to-nearest
75481         for all computations.
75482         (__cos): Save and restore rounding mode and use round-to-nearest
75483         for all computations.
75484         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
75485         <fenv.h>.
75486         (tan): Save and restore rounding mode and use round-to-nearest for
75487         all computations.
75488         * math/libm-test.inc (cos_test_tonearest): New function.
75489         (cos_test_towardzero): Likewise.
75490         (cos_test_downward): Likewise.
75491         (cos_test_upward): Likewise.
75492         (sin_test_tonearest): Likewise.
75493         (sin_test_towardzero): Likewise.
75494         (sin_test_downward): Likewise.
75495         (sin_test_upward): Likewise.
75496         (tan_test_tonearest): Likewise.
75497         (tan_test_towardzero): Likewise.
75498         (tan_test_downward): Likewise.
75499         (tan_test_upward): Likewise.
75500         (main): Call the new functions.
75501         * sysdeps/i386/fpu/libm-test-ulps: Update.
75502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75504         [BZ #10135]
75505         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
75506         small n, then large n, before computing and testing k+n.
75507         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
75508         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
75509         Likewise.
75510         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
75511         Likewise.
75512         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
75513         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
75514         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
75515         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
75516         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
75517         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
75518         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
75519         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
75520         * math/libm-test.inc (scalbn_test): Add more tests.
75521         (scalbln_test): Likewise.
75523         * manual/filesys.texi (mode_t): Describe constraints on size and
75524         signedness, not exact equivalence to a particular type.
75525         (ino_t): Likewise.
75526         (ino64_t): Likewise.
75527         (dev_t): Likewise.
75528         (nlink_t): Likewise.
75529         (blkcnt_t): Likewise.
75530         (blkcnt64_t): Likewise.
75531         * manual/llio.texi (off_t): Likewise.
75533         [BZ #3976]
75534         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
75535         (__ieee754_exp): Save and restore rounding mode and use
75536         round-to-nearest for all computations.
75537         * math/libm-test.inc (exp_test_tonearest): New function.
75538         (exp_test_towardzero): Likewise.
75539         (exp_test_downward): Likewise.
75540         (exp_test_upward): Likewise.
75541         (main): Call the new functions.
75542         * sysdeps/i386/fpu/libm-test-ulps: Update.
75543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75545 2012-03-01  Chris Demetriou  <cgd@google.com>
75547         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
75548         have predictable order.
75550 2012-03-01  David S. Miller  <davem@davemloft.net>
75552         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
75554         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
75555         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
75556         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
75557         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
75559         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
75560         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
75561         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
75562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
75563         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
75564         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
75565         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
75566         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
75567         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
75569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75571         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
75572         * sysdeps/sparc/fpu/libm-test-ulps: to here.
75573         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
75575         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
75576         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75577         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75578         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
75579         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
75580         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
75581         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
75582         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75583         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75584         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
75585         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
75586         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75587         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75588         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75589         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75591         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
75592         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
75593         * sysdeps/sparc/elf/configure: Regenerated.
75595 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
75597         * configure.in (AS, LD): Require binutils 2.20 or later.
75598         * configure: Regenerated.
75599         * manual/install.texi (Tools for Compilation): Give binutils 2.20
75600         as required minimum version.
75601         * INSTALL: Regenerated.
75603         [BZ #2541]
75604         [BZ #4108]
75605         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
75606         before squaring exponent.
75607         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
75608         bottom long double and 27 bits of top long double before squaring
75609         exponent.
75610         * math/libm-test.inc (erfc_test): Add more tests.
75611         * sysdeps/i386/fpu/libm-test-ulps: Update.
75612         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75615 2012-03-01  Kai Tietz  <ktietz@redhat.com>
75617         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
75618         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
75619         containing bit-fields.
75620         * soft-fp/extended.h (_FP_UNION_E): Likewise.
75621         * soft-fp/single.h (_FP_UNION_S): Likewise.
75622         * soft-fp/double.h (_FP_UNION_D): Likewise.
75624 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
75626         [BZ #13786]
75627         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
75628         not include ../strcmp.S.
75629         [USE_AS_STRNCASECMP_L]: Likewise.
75630         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
75631         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
75632         * sysdeps/i386/i686/multiarch/strncase_l-c.c
75633         (__strncasecmp_l_ia32): Define as alias to
75634         __strncasecmp_l_nonascii.
75636         [BZ #5794]
75637         * math/libm-test.inc (expm1_test): Add test for bug 5794.
75638         * sysdeps/i386/fpu/libm-test-ulps: Update.
75639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75641         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
75642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75644 2012-02-29  Jeff Law  <law@redhat.com>
75646         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
75647         out of bounds read.
75649 2012-02-29  Marek Polacek  <polacek@redhat.com>
75651         [BZ #13706]
75652         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
75653         * elf/Makefile: Add rules to run tst-unused-dep.out.
75655 2012-02-28  David S. Miller  <davem@davemloft.net>
75657         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
75658         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
75659         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
75660         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
75661         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
75662         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
75664 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
75666         * math/libm-test.inc (llround_test): Move one test from
75667         lround_test.  Use TEST_f_L in moved test.
75668         (lround_test): Move misplaced test to llround_test.  Add testcase
75669         from bug 2561.
75671 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
75673         * sysdeps/x86_64/fpu/e_expf.S: New file.
75674         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
75676 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
75678         [BZ #13637]
75679         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
75680         of remain_len that may cause incomplete multi-byte character and
75681         false match.
75682         * posix/bug-regex33.c: New file.
75683         * posix/Makefile (tests): Add bug-regex33.
75685 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
75687         * manual/macros.texi: New file.
75688         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
75689         * manual/libc.texinfo: Include macros.texi.
75690         * manual/creatute.texi: Likewise.
75691         * manual/install.texi: Likewise.
75692         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
75693         @glibcadj{} in references to the GNU C Library.
75694         * manual/charset.texi: Likewise.
75695         * manual/conf.texi: Likewise.
75696         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
75697         when not using those macros.
75698         * manual/creature.texi: Likewise.
75699         * manual/crypt.texi: Likewise.
75700         * manual/errno.texi: Likewise.
75701         * manual/filesys.texi: Likewise.
75702         * manual/header.texi: Likewise.
75703         * manual/install.texi: Likewise.
75704         * manual/intro.texi: Likewise.
75705         * manual/io.texi: Likewise.
75706         * manual/job.texi: Likewise.
75707         * manual/lang.texi: Likewise.
75708         * manual/libc.texiinfo: Likewise.
75709         * manual/llio.texi: Likewise.
75710         * manual/locale.texi: Likewise.
75711         * manual/maint.texi: Likewise.
75712         * manual/math.texi: Likewise.
75713         * manual/memory.texi: Likewise.
75714         * manual/message.texi: Likewise.
75715         * manual/nss.texi: Likewise.
75716         * manual/pattern.texi: Likewise.
75717         * manual/process.texi: Likewise.
75718         * manual/resource.texi: Likewise.
75719         * manual/search.texi: Likewise.
75720         * manual/setjmp.texi: Likewise.
75721         * manual/signal.texi: Likewise.
75722         * manual/socket.texi: Likewise.
75723         * manual/startup.texi: Likewise.
75724         * manual/stdio.texi: Likewise.
75725         * manual/string.texi: Likewise.
75726         * manual/sysinfo.texi: Likewise.
75727         * manual/syslog.texi: Likewise.
75728         * manual/terminal.texi: Likewise.
75729         * manual/time.texi: Likewise.
75730         * manual/users.texi: Likewise.
75731         * INSTALL: Regenerated.
75732         * NOTES: Regenerated.
75733         * sysdeps/gnu/errlist.c: Regenerated.
75735 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
75737         * include/dirent.h: Include <dirstream.h> before
75738         <dirent/dirent.h>.
75740 2012-02-28  David S. Miller  <davem@davemloft.net>
75742         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
75743         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
75744         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
75745         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
75747 2012-02-27  David S. Miller  <davem@davemloft.net>
75749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
75750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
75751         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
75752         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
75754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
75755         frame pointer instead of stack pointer relative arg slot.
75756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75757         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75758         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75760 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
75762         [BZ #3992]
75763         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
75765 2012-02-27  David S. Miller  <davem@davemloft.net>
75767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
75768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
75771         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75772         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75773         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
75774         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
75776 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
75778         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
75779         later.  Allow versions 5-9.
75780         * configure: Regenerated.
75781         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
75782         required minimum version and 4.6 as recommended version.  Do not
75783         mention bugs in GCC 2.7 and 2.8.
75784         * INSTALL: Regenerated.
75786 2012-02-27  David S. Miller  <davem@davemloft.net>
75788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
75789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
75790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
75791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
75792         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
75793         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
75794         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
75795         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
75797         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
75798         manipulate bits before adding and subtracting TWO112[sx].
75799         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
75801 2012-02-27  Roland McGrath  <roland@hack.frob.com>
75803         [BZ #13775]
75804         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
75805         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
75806         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
75807         being in POSIX, because they are in 1003.1-2008.
75809         * rt/tst-aio.c: Include <fcntl.h>.
75810         * rt/tst-aio7.c: Likewise.
75811         * rt/tst-aio64.c: Likewise.
75813         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
75815 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
75817         * manual/install.texi (--with-headers): Describe headers as
75818         interface headers, not private headers.
75819         (Specific advice for GNU/Linux systems): Describe use of headers
75820         from "make headers_install", not private headers from older
75821         kernels.
75822         * INSTALL: Regenerated.
75823         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
75824         Change to 2.6.19.
75825         * sysdeps/unix/sysv/linux/configure: Regenerated.
75827         * manual/llio.texi (fclean): Remove documentation.
75829         * manual/Makefile (libc-texi-generated): New variable.  Include
75830         version.texi.
75831         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
75832         $(libc-texi-generated), not duplicated list of files.
75833         (version.texi, stamp-version): New rules.
75834         (realclean): Remove $(libc-texi-generated), not individual files
75835         from that list.  Do not remove dir-add.texinfo.
75836         * manual/libc.texinfo: Comment out uses of edition numbers and
75837         references to printed manual.  Remove last-updated dates.
75838         (EDITION): Comment out.
75839         (ISBN): Likewise.
75840         (VERSION, UPDATED): Remove.
75841         (version.texi): Include.
75843 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
75845         * sysdeps/posix/spawni.c: Include <signal.h>.
75846         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
75847         * sysdeps/pthread/aio_fsync.c: Likewise.
75849 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
75851         * conform/Makefile (tests): Run only when not cross-compiling and
75852         when fast-check is not defined.
75854         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
75855         * conform/data/limits.h-data: Fixes for POSIX2008.
75856         * conform/run-conformtest.sh: Run all tests.
75857         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
75858         headers.
75859         * include/bits/dlfcn.h: Likewise.
75860         * include/langinfo.h: Likewise.
75861         * include/monetary.h: Likewise.
75862         * include/sys/poll.h: Likewise.
75864         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
75865         for __USE_GNU.
75866         * posix/spawn.h: Define __need_sigset_t.
75867         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
75868         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
75869         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
75870         to get sigevent_t only.
75871         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
75872         only for __USE_GNU.
75873         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75874         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75875         process_vm_writev only for __USE_GNU.
75876         * termios/termios.h: Declare tcgetsid also for POSIX2008.
75878         * conform/Makefile: For now ignore errors from run-conformtest.
75879         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
75880         POSIX to avoid namespace pollution.  Don't prepend headers.
75881         * conform/data/aio.h-data: Fixes for POSIX testing.
75882         * conform/data/fcntl.h-data: Likewise.
75883         * conform/data/glob.h-data: Likewise.
75884         * conform/data/grp.h-data: Likewise.
75885         * conform/data/pthread.h-data: Likewise.
75886         * conform/data/pwd.h-data: Likewise.
75887         * conform/data/signal.h-data: Likewise.
75888         * conform/data/spawn.h-data: Likewise.
75889         * conform/data/stdio.h-data: Likewise.
75890         * conform/data/stdlib.h-data: Likewise.
75891         * conform/data/stropts.h-data: Likewise.
75892         * conform/data/sys/mman.h-data: Likewise.
75893         * conform/data/sys/stat.h-data: Likewise.
75894         * conform/data/sys/types.h-data: Likewise.
75895         * conform/data/sys/wait.h-data: Likewise.
75896         * conform/data/time.h-data: Likewise.
75897         * conform/data/unistd.h-data: Likewise.
75898         * conform/data/utime.h-data: Likewise.
75900         * io/sys/stat.h: fchmod was always in POSIX.
75901         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
75902         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
75903         * rt/aio.h: Define __need_timespec before including <time.h>.
75904         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
75905         struct.  Add forward declaration of pthread_attr_t and use it in
75906         sigevent.
75907         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75909         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
75910         always remove CLK_TCK definition.
75912 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
75914         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
75916 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
75918         * conform/run-conformtest.sh: New file.
75919         * conform/Makefile: Run run-conformtest for tests.
75920         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
75921         support.
75923         * conform/data/uchar.h-data: New file.
75924         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
75925         * conform/data/arpa/inet.h-data: Likewise.
75926         * conform/data/assert.h-data: Likewise.
75927         * conform/data/complex.h-data: Likewise.
75928         * conform/data/cpio.h-data: Likewise.
75929         * conform/data/ctype.h-data: Likewise.
75930         * conform/data/dirent.h-data: Likewise.
75931         * conform/data/dlfcn.h-data: Likewise.
75932         * conform/data/errno.h-data: Likewise.
75933         * conform/data/fcntl.h-data: Likewise.
75934         * conform/data/float.h-data: Likewise.
75935         * conform/data/fmtmsg.h-data: Likewise.
75936         * conform/data/fnmatch.h-data: Likewise.
75937         * conform/data/ftw.h-data: Likewise.
75938         * conform/data/glob.h-data: Likewise.
75939         * conform/data/grp.h-data: Likewise.
75940         * conform/data/iconv.h-data: Likewise.
75941         * conform/data/inttypes.h-data: Likewise.
75942         * conform/data/langinfo.h-data: Likewise.
75943         * conform/data/libgen.h-data: Likewise.
75944         * conform/data/limits.h-data: Likewise.
75945         * conform/data/locale.h-data: Likewise.
75946         * conform/data/math.h-data: Likewise.
75947         * conform/data/monetary.h-data: Likewise.
75948         * conform/data/mqueue.h-data: Likewise.
75949         * conform/data/ndbm.h-data: Likewise.
75950         * conform/data/net/if.h-data: Likewise.
75951         * conform/data/netdb.h-data: Likewise.
75952         * conform/data/netinet/in.h-data: Likewise.
75953         * conform/data/nl_types.h-data: Likewise.
75954         * conform/data/poll.h-data: Likewise.
75955         * conform/data/pthread.h-data: Likewise.
75956         * conform/data/pwd.h-data: Likewise.
75957         * conform/data/regex.h-data: Likewise.
75958         * conform/data/sched.h-data: Likewise.
75959         * conform/data/search.h-data: Likewise.
75960         * conform/data/semaphore.h-data: Likewise.
75961         * conform/data/setjmp.h-data: Likewise.
75962         * conform/data/signal.h-data: Likewise.
75963         * conform/data/spawn.h-data: Likewise.
75964         * conform/data/stdarg.h-data: Likewise.
75965         * conform/data/stdio.h-data: Likewise.
75966         * conform/data/stdlib.h-data: Likewise.
75967         * conform/data/string.h-data: Likewise.
75968         * conform/data/strings.h-data: Likewise.
75969         * conform/data/stropts.h-data: Likewise.
75970         * conform/data/sys/ipc.h-data: Likewise.
75971         * conform/data/sys/mman.h-data: Likewise.
75972         * conform/data/sys/msg.h-data: Likewise.
75973         * conform/data/sys/resource.h-data: Likewise.
75974         * conform/data/sys/select.h-data: Likewise.
75975         * conform/data/sys/sem.h-data: Likewise.
75976         * conform/data/sys/shm.h-data: Likewise.
75977         * conform/data/sys/socket.h-data: Likewise.
75978         * conform/data/sys/stat.h-data: Likewise.
75979         * conform/data/sys/statvfs.h-data: Likewise.
75980         * conform/data/sys/time.h-data: Likewise.
75981         * conform/data/sys/timeb.h-data: Likewise.
75982         * conform/data/sys/times.h-data: Likewise.
75983         * conform/data/sys/types.h-data: Likewise.
75984         * conform/data/sys/uio.h-data: Likewise.
75985         * conform/data/sys/un.h-data: Likewise.
75986         * conform/data/sys/utsname.h-data: Likewise.
75987         * conform/data/sys/wait.h-data: Likewise.
75988         * conform/data/syslog.h-data: Likewise.
75989         * conform/data/tar.h-data: Likewise.
75990         * conform/data/termios.h-data: Likewise.
75991         * conform/data/utime.h-data: Likewise.
75992         * conform/data/utmpx.h-data: Likewise.
75993         * conform/data/varargs.h-data: Likewise.
75994         * conform/data/wchar.h-data: Likewise.
75995         * conform/data/wctype.h-data: Likewise.
75996         * conform/data/wordexp.h-data: Likewise.
75998         * include/stropts.h: New file.
75999         * include/uchar.h: New file.
76000         * include/aio.h: Changes to allow conformtest.pl to use the headers.
76001         * include/assert.h: Likewise.
76002         * include/ctype.h: Likewise.
76003         * include/dirent.h: Likewise.
76004         * include/dlfcn.h: Likewise.
76005         * include/fcntl.h: Likewise.
76006         * include/fnmatch.h: Likewise.
76007         * include/glob.h: Likewise.
76008         * include/grp.h: Likewise.
76009         * include/libio.h: Likewise.
76010         * include/locale.h: Likewise.
76011         * include/math.h: Likewise.
76012         * include/net/if.h: Likewise.
76013         * include/netdb.h: Likewise.
76014         * include/netinet/in.h: Likewise.
76015         * include/pthread.h: Likewise.
76016         * include/pwd.h: Likewise.
76017         * include/regex.h: Likewise.
76018         * include/sched.h: Likewise.
76019         * include/search.h: Likewise.
76020         * include/setjmp.h: Likewise.
76021         * include/signal.h: Likewise.
76022         * include/stdio.h: Likewise.
76023         * include/stdlib.h: Likewise.
76024         * include/string.h: Likewise.
76025         * include/sys/cdefs.h: Likewise.
76026         * include/sys/mman.h: Likewise.
76027         * include/sys/msg.h: Likewise.
76028         * include/sys/resource.h: Likewise.
76029         * include/sys/select.h: Likewise.
76030         * include/sys/socket.h: Likewise.
76031         * include/sys/stat.h: Likewise.
76032         * include/sys/statvfs.h: Likewise.
76033         * include/sys/time.h: Likewise.
76034         * include/sys/times.h: Likewise.
76035         * include/sys/uio.h: Likewise.
76036         * include/sys/utsname.h: Likewise.
76037         * include/sys/wait.h: Likewise.
76038         * include/termios.h: Likewise.
76039         * include/time.h: Likewise.
76040         * include/ulimit.h: Likewise.
76041         * include/unistd.h: Likewise.
76042         * include/utime.h: Likewise.
76043         * include/wchar.h: Likewise.
76044         * include/wctype.h: Likewise.
76045         * include/wordexp.h: Likewise.
76047         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76049         * time/time.h: TIME_UTC must be a macro.
76050         Make timespec_get available for ISO C11 only as well.
76052 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
76054         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76055         Reported by Peng Haitao <penght@cn.fujitsu.com>.
76057 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76059         * configure.in: Use -o not -a in test for unsupported multi-arch.
76061 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76063         * manual/texinfo.tex: Update to version 2012-01-19.16.
76065 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76067         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76069 2012-02-24  Roland McGrath  <roland@hack.frob.com>
76071         [BZ #13738]
76072         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76073         * manual/fdl-1.3.texi: New file.
76074         * manual/fdl-1.1.texi: File removed.
76076         [BZ #13738]
76077         * manual/libc.texinfo (FDL_VERSION): New @set.
76078         Use it for mention of FDL in cover text.
76079         (Documentation License): Use it in @include file name.
76081 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76082             Roland McGrath  <roland@hack.frob.com>
76084         [BZ #5461]
76085         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76086         (not LONG_LONG_MAX and LONG_LONG_MIN.
76087         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76088         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
76089         name.
76090         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76092 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76094         [BZ #2547]
76095         [BZ #11365]
76096         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76097         manipulate bits before adding and subtracting TWO23[sx].
76098         * math/libm-test.inc (nearbyint_test): Add more tests.
76100 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76102         [BZ #2548]
76103         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76104         bits before adding and subtracting TWO23[sx].
76105         * math/libm-test.inc (rint_test): Add more tests.
76106         (rint_test_tonearest): Likewise.
76107         (rint_test_towardzero): Likewise.
76108         (rint_test_downward): Likewise.
76109         (rint_test_upward: Likewise.
76111 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76113         [BZ #10110]
76114         * include/stdc-predef.h: New file.  Extracted from features.h.
76115         * include/features.h: Include stdc-predef.h.
76116         * Makefile (headers): Add stdc-predef.h.
76117         * CONFORMANCE (Compiler limitations): Update.
76119 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76121         * manual/libc.texinfo (VERSION, UPDATED): Revert.
76123 2012-02-21  David S. Miller  <davem@davemloft.net>
76125         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76126         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76128 2012-02-20  David S. Miller  <davem@davemloft.net>
76130         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76131         using a normal save/restore sequence, rather than allocating a
76132         dummy stack frame just to store a frame pointer and restore.
76133         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76135 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76137         * manual/install.texi: Fix stray word in line-wrapped comment.
76139 2012-02-20  David S. Miller  <davem@davemloft.net>
76141         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76142         both binutils and gcc support GOTDATA.
76144         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76145         "rd %pc" in the PIC register setup sequences.
76147         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76148         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76149         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76150         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76151         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76152         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76153         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76154         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76156         (SYSCALL_ERROR_HANDLER): Likewise.
76157         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76158         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76160         (SYSCALL_ERROR_HANDLER): Likewise.
76162         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76163         (HAVE_GCC_GOTDATA): New.
76164         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76165         relocation support in both binutils and gcc.
76166         * sysdeps/sparc/elf/configure: Regenerate.
76168         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76169         * sysdeps/sparc/sparc32/elf/configure: Delete.
76170         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76171         * sysdeps/sparc/sparc64/elf/configure: Delete.
76172         * sysdeps/sparc/elf/configure.in: New file.
76173         * sysdeps/sparc/elf/configure: Generate.
76175         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76176         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76177         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76178         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76179         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76181 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76183         * manual/install.texi: Do not mention specific glibc version
76184         numbers.
76185         * manual/libc.texinfo (VERSION, UPDATED): Update.
76186         (@copying): Use @copyright{} and range of years.
76188 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76190         [BZ #13695]
76191         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76192         [crti.S not in sysdirs] (generated): Do not append.
76193         [crti.S not in sysdirs] (omit-deps): Likewise.
76194         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76195         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76196         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76197         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76198         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76199         Likewise.
76200         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76201         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76202         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76203         * csu/defs.awk: Remove file.
76204         * sysdeps/generic/initfini.c: Likewise.
76205         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76206         variable.
76207         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76208         Likewise.
76210 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76212         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76213         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76214         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76215         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76216         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76217         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76218         <bits/epoll.h>.
76219         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76220         (__EPOLL_PACKED): Define to empty if not defined by
76221         <bits/epoll.h>.
76222         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76224         bits/epoll.h.
76226 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76228         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
76229         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
76230         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
76231         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
76232         <bits/timerfd.h>.
76233         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
76234         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76235         bits/timerfd.h.
76237 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76239         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
76240         in C locale.
76241         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76242         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
76243         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
76244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76246 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
76248         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76249         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76251 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
76253         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
76254         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
76255         defined.
76256         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
76257         Likewise.
76258         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
76259         entry for 2.16.
76261 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
76263         * math/w_acos.c: Use non-signaling floating-point comparisons.
76264         * math/w_acosf.c: Likewise.
76265         * math/w_acosh.c: Likewise.
76266         * math/w_acoshf.c: Likewise.
76267         * math/w_acoshl.c: Likewise.
76268         * math/w_acosl.c: Likewise.
76269         * math/w_asin.c: Likewise.
76270         * math/w_asinf.c: Likewise.
76271         * math/w_asinl.c: Likewise.
76272         * math/w_atanh.c: Likewise.
76273         * math/w_atanhf.c: Likewise.
76274         * math/w_atanhl.c: Likewise.
76275         * math/w_exp2.c: Likewise.
76276         * math/w_exp2f.c: Likewise.
76277         * math/w_exp2l.c: Likewise.
76278         * math/w_j0.c: Likewise.
76279         * math/w_j0f.c: Likewise.
76280         * math/w_j0l.c: Likewise.
76281         * math/w_j1.c: Likewise.
76282         * math/w_j1f.c: Likewise.
76283         * math/w_j1l.c: Likewise.
76284         * math/w_jn.c: Likewise.
76285         * math/w_jnf.c: Likewise.
76286         * math/w_log.c: Likewise.
76287         * math/w_log10.c: Likewise.
76288         * math/w_log10f.c: Likewise.
76289         * math/w_log10l.c: Likewise.
76290         * math/w_log2.c: Likewise.
76291         * math/w_log2f.c: Likewise.
76292         * math/w_log2l.c: Likewise.
76293         * math/w_logf.c: Likewise.
76294         * math/w_logl.c: Likewise.
76295         * math/w_sqrt.c: Likewise.
76296         * math/w_sqrtf.c: Likewise.
76297         * math/w_sqrtl.c: Likewise.
76298         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76299         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
76300         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76301         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76302         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76304 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76306         [BZ #9739]
76307         * manual/string.texi (strnlen): Use correct parameter name in
76308         equivalent expression.
76310 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76312         [BZ #11174]
76313         * manual/users.texi (seteuid): Consistently use neweuid for
76314         argument name.
76316 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76318         [BZ #13704]
76319         * manual/nss.texi (Services in the NSS configuration): Correct
76320         list of services in example configuration file.
76322 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
76324         [BZ #11322]
76325         * manual/arith.texi: Remove statements about negative zero
76326         behaving identically to zero.
76328 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
76330         [BZ #5993]
76331         * manual/install.texi: Do not document upgrading from libc5.
76333 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
76335         [BZ #4596]
76336         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
76338 2012-02-18  David S. Miller  <davem@davemloft.net>
76340         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
76341         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
76342         %o7 across the call.
76343         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
76344         instead.
76345         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
76346         SETUP_PIC_REG_LEAF.
76347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76348         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
76349         * sysdeps/sparc/crtn.S: Likewise.
76351 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
76353         * aout/Makefile: Remove.
76355 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
76357         [BZ #13058]
76358         * manual/examples/argp-ex1.c (main): Format definition in GNU
76359         style.
76360         * manual/examples/argp-ex2.c (main): Likewise.
76361         * manual/examples/argp-ex3.c (main): Likewise.
76362         * manual/examples/argp-ex4.c (main): Likewise.
76363         * manual/examples/longopt.c (main): Use new-style prototype
76364         definition.
76365         * manual/examples/strncat.c (main): Specify return type and use
76366         (void) for arguments.
76367         * manual/examples/subopt.c (main): Use char **argv argument.
76369 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76371         [BZ #5077]
76372         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
76373         rounding modes.
76375 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
76377         [BZ #6907]
76378         * manual/string.texi (strchr): Change when strchrnul is
76379         recommended.
76381 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
76383         [BZ #174]
76384         * manual/locale.texi (setlocale): Document LOCPATH.
76386 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76388         [BZ #10210]
76389         * manual/process.texi (execle): Move @dots{} before last argument.
76391 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
76393         [BZ #12047]
76394         * manual/charset.texi (Generic Charset Conversion): Fix typo
76395         (LC_TYPE -> LC_CTYPE).
76397 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
76399         [BZ #5805]
76400         * manual/arith.texi (scalbn): Use @var{} on parameter names.
76401         (scalbnf): Likewise.
76402         (scalbnl): Likewise.
76403         (scalbln): Likewise.
76404         (scalblnf): Likewise.
76405         (scalblnl): Likewise.
76406         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
76407         (vwarnx): Likewise.
76408         (verr): Likewise.
76409         (verrx): Likewise.
76410         * manual/filesys.texi (telldir): Use braces around return type.
76411         * manual/llio.texi (mmap): Add space after comma.
76412         (mmap64): Likewise.
76413         * manual/math.texi (jn): Use @var{} on parameter names.
76414         (jnf): Likewise.
76415         (jnl): Likewise.
76416         (yn): Likewise.
76417         (ynf): Likewise.
76418         (ynl): Likewise.
76419         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
76420         line.
76421         * manual/resource.texi (ulimit): Use @dots{} instead of literal
76422         "...".
76423         (sched_get_priority_min): Remove semicolon on @deftypefun line.
76424         (sched_get_priority_max): Likewise.
76425         * manual/signal.texi (sigvec): Add space after comma.
76426         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
76427         names.
76428         (if_indextoname): Likewise.
76429         (if_freenameindex): Likewise.
76430         (sendto): Use ',' instead of '.' in prototype.
76431         * manual/startup.texi (syscall): Use @dots{} instead of literal
76432         "...".
76433         * manual/stdio.texi (__fpending): Separate initial words of
76434         paragraph from @deftypefun line.
76435         * manual/syslog.texi (syslog): Use @dots{} instead of literal
76436         "...".
76437         (vsyslog): Use @var{} on parameter names.
76438         * manual/terminal.texi (stty): Use @var{} on parameter names.
76439         * manual/users.texi (getutmp): Use @var{} on parameter names.
76440         (getutmpx): Likewise.
76442 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76444         [BZ #6884]
76445         * manual/stdio.texi (fopen): Fix typos in description of
76446         ",ccs=STRING".
76448 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
76450         [BZ #4026]
76451         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
76452         get clock_id definition.
76454 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
76456         [BZ #4822]
76457         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
76458         (madvise): Cast every argument to void on its own.
76460 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76462         [BZ #9902]
76463         * manual/startup.texi (Exit Status): Fix typo.
76465 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76467         [BZ #10140]
76468         * manual/examples/argp-ex1.c: Include <stdlib.h>.
76469         * manual/examples/argp-ex2.c: Likewise.
76470         * manual/examples/argp-ex3.c: Likewise.
76472 2012-02-16  Richard Henderson  <rth@redhat.com>
76474         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
76475         * sysdeps/s390/s390-32/initfini.c: Remove.
76476         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
76477         * sysdeps/s390/s390-64/initfini.c: Remove.
76479 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76481         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
76482         compiler output for sysdeps/generic/initfini.c.
76483         * sysdeps/sh/elf/initfini.c: Remove file.
76485 2012-02-16  David S. Miller  <davem@davemloft.net>
76487         [BZ #11494]
76488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
76490         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
76491         * sysdeps/sparc/crti.S: New file.
76492         * sysdeps/sparc/crtn.S: New file.
76493         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
76494         * sysdeps/sparc/sparc64/Makefile: Likewise.
76496 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
76498         [BZ #3335]
76499         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
76501 2012-02-15  Roland McGrath  <roland@hack.frob.com>
76503         [BZ #4822]
76504         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
76506         * mach/devstream.c (cookie_io_functions_t): Macro removed.
76507         (write, read, close): Likewise.
76508         Patch by Aurelien Jarno <aurelien@aurel32.net>.
76510 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
76512         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
76513         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
76514         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
76515         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
76516         <bits/signalfd.h>.
76517         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
76518         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76519         bits/signalfd.h.
76521 2012-02-14  Marek Polacek  <polacek@redhat.com>
76523         * sysdeps/x86_64/crti.S: New file.
76524         * sysdeps/x86_64/crtn.S: New file.
76525         * sysdeps/x86_64/elf/initfini.c: Remove file.
76527 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
76529         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
76530         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
76531         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
76532         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
76533         <bits/inotify.h>.
76534         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
76535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76536         bits/inotify.h.
76538 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
76540         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
76541         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
76542         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
76543         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
76544         <bits/eventfd.h>.
76545         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
76546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76547         bits/eventfd.h.
76549 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
76551         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
76552         __feraiseexcept instead of feraiseexcept.
76554         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
76555         nanosleep invocations.
76556         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
76557         strings, and add error checking for a nanosleep invocations.
76559 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
76561         Replace FSF snail mail address with URLs, as per GNU coding standards.
76562         Most of the snail mail addresses were wrong anyway, and omitting
76563         them makes the source code easier to maintain.  Almost all of the
76564         changes are to license notices and to locale LC_IDENTIFICATION
76565         addresses, except for this one:
76566         * manual/libc.texinfo: In "Published by", give the FSF's URL,
76567         not its snail mail address.
76569 2012-02-09  Richard Henderson  <rth@twiddle.net>
76571         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
76572         of kernel-features.h.
76574         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
76576 2012-02-08  Marek Polacek  <polacek@redhat.com>
76578         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
76579         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
76580         * sysdeps/gnu/_G_config.h: Likewise.
76581         * sysdeps/generic/_G_config.h: Likewise.
76583 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
76585         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
76586         tests.
76587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76589         * sysdeps/powerpc/powerpc32/crti.S: New file.
76590         * sysdeps/powerpc/powerpc32/crtn.S: New file.
76591         * sysdeps/powerpc/powerpc64/crti.S: New file.
76592         * sysdeps/powerpc/powerpc64/crtn.S: New file.
76594         * Makeconfig (have-initfini): Don't set.
76595         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
76596         * configure.in (nopic_initfini): Don't substitute.
76597         * config.h.in (HAVE_INITFINI): Don't #undef.
76598         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
76599         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
76601 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
76603         Support crti.S and crtn.S provided directly by architectures.
76604         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
76605         [crti.S in sysdirs] (omit-deps): Likewise.
76606         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
76607         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
76608         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
76609         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
76610         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
76611         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
76612         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
76613         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
76614         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
76615         compiler output for sysdeps/generic/initfini.c.
76616         * sysdeps/i386/elf/Makefile: Remove file.
76617         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
76619 2012-02-07  Marek Polacek  <polacek@redhat.com>
76621         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
76622         * sysdeps/gnu/_G_config.h: Likewise.
76623         * sysdeps/mach/hurd/_G_config.h: Likewise.
76625 2012-02-07  Marek Polacek  <polacek@redhat.com>
76627         * math/Makefile (tests): Add tst-CMPLX2.
76628         * math/tst-CMPLX2.c: New file.
76630 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
76632         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76634         * math/libm-test.inc (jn_test): Add missing L suffix.
76636 2012-02-06  Marek Polacek  <polacek@redhat.com>
76638         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
76639         * sysdeps/i386/fpu/e_powf.S: Likewise.
76640         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76641         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76642         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76643         * sysdeps/i386/fpu/e_pow.S: Likewise.
76644         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76645         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76646         * sysdeps/i386/fpu/s_expm1.S: Likewise.
76647         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76648         * sysdeps/i386/fpu/e_log2.S: Likewise.
76649         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76650         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76651         * sysdeps/i386/fpu/e_powl.S: Likewise.
76652         * sysdeps/i386/fpu/s_log1p.S: Likewise.
76653         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76654         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76655         * sysdeps/i386/fpu/e_logl.S: Likewise.
76656         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76657         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
76658         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76659         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76660         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76661         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76662         * sysdeps/i386/fpu/e_log.S: Likewise.
76663         * sysdeps/i386/fpu/s_cexp.S: Likewise.
76664         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76665         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
76666         * sysdeps/i386/fpu/e_logf.S: Likewise.
76667         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76668         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76669         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
76670         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76671         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76672         * sysdeps/i386/fpu/e_log10.S: Likewise.
76673         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76674         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76675         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76676         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76677         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76678         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76679         * sysdeps/i386/asm-syntax.h: Likewise.
76680         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76681         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76682         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76683         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
76684         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
76685         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76686         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76687         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76688         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76689         * sysdeps/powerpc/sysdep.h: Likewise.
76690         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
76691         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76693 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
76695         [BZ #411]
76696         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
76698 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
76700         * sysdeps/i386/sysdep.h: Include <features.h>.
76701         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
76702         version.
76704 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
76706         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
76707         Define.
76708         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
76709         LOAD_PIC_REG_STR.
76711 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76713         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
76714         (SETUP_PIC_REG): Use GET_PC_THUNK.
76715         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
76716         macro.
76718 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76720         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
76721         for non-PIC compilation.
76722         (SETUP_PIC_REG): Add .p2align directive.
76723         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
76724         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
76725         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76726         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76727         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
76728         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76729         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
76730         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76731         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76732         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76733         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76734         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76735         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76736         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76737         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76738         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
76739         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
76740         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76741         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76742         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76743         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76744         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
76745         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76746         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76747         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
76748         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
76749         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76750         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
76751         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76752         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76753         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76754         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76755         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76756         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76757         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76758         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76759         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76760         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76761         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76762         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76763         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76765 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76767         * math/tst-CMPLX.c: Include <stdio.h>.
76769 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
76771         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
76772         float.
76773         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76774         * sysdeps/sparc/bits/mathdef.h: Likewise.
76776 2012-01-31  Marek Polacek  <polacek@redhat.com>
76778         * libio/libio.h: Don't define _PARAMS.
76779         * locale/programs/config.h: Don't define PARAMS.
76780         * stdlib/strtol_l.c: Likewise.
76781         (__strtol_l): Remove PARAMS from the prototype.
76783 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
76785         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
76786         names.  Just use the correct names.  Remove unnecessary wrapper
76787         functions.
76788         * malloc/arena.c: Likewise.
76789         * malloc/hooks.c: Likewise.
76791         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
76792         ARENA_TEST says not to.  Simplify test for creation of a new arena.
76793         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
76795 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
76797         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
76798         into tail calls.
76799         (update_get_addr): New function.
76800         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
76801         GET_ADDR_MODULE parameter.
76803 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
76805         * crypt/cert.c: Remove __STDC__ conditionals.
76806         * crypt/crypt-entry.c: Likewise.
76807         * crypt/crypt_util.c: Likewise.
76808         * libio/filedoalloc.c: Likewise.
76809         * libio/fileops.c: Likewise.
76810         * libio/genops.c: Likewise.
76811         * libio/iofclose.c: Likewise.
76812         * libio/iofdopen.c: Likewise.
76813         * libio/iofopen.c: Likewise.
76814         * libio/iofopen64.c: Likewise.
76815         * libio/iogetdelim.c: Likewise.
76816         * libio/iopopen.c: Likewise.
76817         * libio/obprintf.c: Likewise.
76818         * libio/oldfileops.c: Likewise.
76819         * libio/oldiofclose.c: Likewise.
76820         * libio/oldiofdopen.c: Likewise.
76821         * libio/oldiofopen.c: Likewise.
76822         * libio/oldiopopen.c: Likewise.
76823         * libio/wfiledoalloc.c: Likewise.
76824         * libio/wgenops.c: Likewise.
76825         * locale/programs/xmalloc.c: Likewise.
76826         * misc/syslog.c: Likewise.
76827         * stdio-common/xbug.c: Likewise.
76828         * string/memchr.c: Likewise.
76829         * string/memcmp.c: Likewise.
76830         * string/memrchr.c: Likewise.
76831         * string/rawmemchr.c: Likewise.
76832         * sysdeps/posix/getcwd.c: Likewise.
76833         * time/strftime_l.c: Likewise.
76835 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
76837         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
76838         * config.make.in (config-cflags-sse2avx): Define.
76839         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
76840         Fix typo.
76842 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
76844         * scripts/config.guess: Update from upstream config git repository.
76845         * scripts/config.sub: Likewise.
76847 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
76849         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
76850         (EM_NUM): Update.
76851         (R_TILEPRO_*, R_TILEGX_*): New macros.
76853         * scripts/firstversions.awk: Fix bug in version range handling.
76855         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
76857         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
76859         * include/sys/epoll.h: New file.
76860         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
76861         libc_hidden_def.
76863 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
76865         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
76866         Avoid unnecessary __WORDSIZE == 64 test.
76867         (fmaxf): Use VEX format if possible.
76868         (fmax): Likewise.
76869         (fminf): Likewise.
76870         (fmin): Likewise.
76872         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
76873         * math/math_private.h: Remove libc_fegetround* and
76874         libc_fesetround*.
76875         * sysdeps/i386/configure.in: Check for -msse2avx.
76876         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
76877         also if SSE2AVX is defined.
76878         Remove libc_fegetround* and libc_fesetround*.
76879         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
76880         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
76881         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
76882         of HAS_YMM_USABLE.
76883         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76884         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76885         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76886         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76887         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76889         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
76891 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76893         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
76894         size is not set.
76895         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76897 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
76899         [BZ #13618]
76900         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
76901         relocation.
76902         * Makeconfig (libm): Define.
76903         * elf/Makefile: Add rules to build and run tst-relsort1.
76904         * elf/tst-relsort1.c: New file.
76905         * elf/tst-relsort1mod1.c: New file.
76906         * elf/tst-relsort1mod2.c: New file.
76908 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
76910         * math/s_ldexp.c: Remove __STDC__ conditionals.
76911         * math/s_ldexpf.c: Likewise.
76912         * math/s_ldexpl.c: Likewise.
76913         * math/s_nextafter.c: Likewise.
76914         * math/s_nexttowardf.c: Likewise.
76915         * math/s_significand.c: Likewise.
76916         * math/s_significandf.c: Likewise.
76917         * math/s_significandl.c: Likewise.
76918         * math/w_jnl.c: Likewise.
76919         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76920         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76921         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76922         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76923         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76924         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76925         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
76926         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76927         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76928         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76929         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76930         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76931         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76932         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76933         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76934         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76935         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76936         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76937         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76938         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76939         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76940         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76941         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76942         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76943         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76944         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76945         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76946         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76947         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76948         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76949         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76950         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76951         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76952         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76953         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76954         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76955         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76956         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76957         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76958         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76959         * sysdeps/ieee754/k_standard.c: Likewise.
76960         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76961         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76962         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76963         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76964         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76965         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76966         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76967         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76968         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76969         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76970         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76971         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76972         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76973         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76974         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76975         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76976         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76977         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76978         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76979         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76980         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76981         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76982         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76983         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76984         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76985         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76986         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76987         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76989         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76990         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76991         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76992         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76993         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76994         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76995         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76996         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76997         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76998         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76999         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77000         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77001         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77002         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77003         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77004         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77005         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77006         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77007         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77008         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77009         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77010         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77011         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77012         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77013         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77014         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77015         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77016         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77017         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77018         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77019         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77020         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77021         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77022         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77023         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77024         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77025         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77026         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77027         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77028         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77029         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77030         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77031         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77032         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77033         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77034         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77035         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77036         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77037         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77038         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77039         * sysdeps/ieee754/s_matherr.c: Likewise.
77040         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77041         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77042         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77043         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77045 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77047         * crypt/md5.h: Remove __STDC__ conditionals.
77048         * libio/libioP.h: Likewise.
77049         * locale/programs/config.h: Likewise.
77050         * sysdeps/generic/sysdep.h: Likewise.
77051         * sysdeps/i386/asm-syntax.h: Likewise.
77052         * sysdeps/s390/asm-syntax.h: Likewise.
77053         * sysdeps/unix/sysdep.h: Likewise.
77054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77057 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77059         * libio/libio.h: Remove __STDC__ conditionals.
77060         * malloc/obstack.h: Likewise.
77061         * math/complex.h: Likewise.
77062         * math/math.h: Likewise.
77063         * sysdeps/generic/_G_config.h: Likewise.
77064         * sysdeps/gnu/_G_config.h: Likewise.
77065         * sysdeps/mach/hurd/_G_config.h: Likewise.
77066         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77067         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77068         * sysdeps/sparc/bits/mathdef.h: Likewise.
77070 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
77072         [BZ #13583]
77073         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77074         Clean up HAS_* macros.
77075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77076         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77077         possible.
77078         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77079         HAS_AVX.
77080         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77081         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77082         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77083         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77084         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77086 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
77088         * elf/tst-unique3.cc (gets): Remove declaration.
77089         * elf/tst-unique3lib.cc (gets): Likewise.
77090         * elf/tst-unique3lib2.cc (gets): Likewise.
77091         * elf/tst-unique4.cc (gets): Likewise.
77093 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
77095         * include/stdio.h: Add C++ protection.  Add gets declarations and
77096         definitions.
77097         * debug/tst-chk1.c: Don't declare gets here.
77098         * stdio-common/tst-gets.c: Likewise.
77100 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77102         * posix/glob: Remove directory.
77104 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77106         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77108 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
77110         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77111         of the non-standard EPFNOSUPPORT.
77113 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77115         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77116         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77117         ANYWHERE set to 1 only on KERN_NO_SPACE error.
77119 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
77121         * wcsmbs/uchar.h: Test __STDC_VERSION__.
77123 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
77125         * nscd/aicache.c (addhstaiX): Do not cache negative results of
77126         transient errors.
77127         * nscd/grpcache.c (cache_addgr): Likewise.
77128         * nscd/hstcache.c (cache_addhst): Likewise.
77129         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77130         * nscd/pwdcache.c (cache_addpw): Likewise.
77131         * nscd/servicescache.c (cache_addserv): Likewise.
77133 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
77135         * malloc/malloc.c: Various cleanups.
77136         * malloc/hooks.c: Likewise.
77138         * stdlib/Makefile (tests): Add bug-fmtmsg1.
77139         * stdlib/bug-fmtmsg1.c: New file.
77141         * stdlib/fmtmsg.c (init): Add missing unlock.
77142         Patch by Peng Haitao <penght@cn.fujitsu.com>.
77144 2012-01-12  Marek Polacek  <polacek@redhat.com>
77146         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77147         and _GNU_SOURCE.
77149 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77151         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77152         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77153         macro to ensure uniqueness of label name.
77154         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77155         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77157 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
77159         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77161         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77162         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77163         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77164         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77166 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
77168         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77170         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77171         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77172         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77174         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77176         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77177         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77178         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77179         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77181         * math/bits/math-finite.h: Add ldexp support.
77183 2012-01-10  Marek Polacek  <polacek@redhat.com>
77185         * locale/programs/localedef.h (show_archive_content): Add noreturn
77186         attribute.
77188 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
77190         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77192 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77194         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77196         * io/Makefile (headers): Add bits/poll2.h.
77198 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
77200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77201         typo #include statement.
77203 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77205         * include/sys/cdefs.h: Define __attribute_alloc_size.
77206         * catgets/gencat.c: Add alloc_size attribute and apply consistently
77207         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77208         * elf/pldd.c: Likewise.
77209         * iconv/iconv_charmap.c: Likewise.
77210         * iconv/iconvconfig.c: Likewise.
77211         * iconv/strtab.c: Likewise.
77212         * locale/programs/locale.c: Likewise.
77213         * locale/programs/localedef.h: Likewise.
77214         * locale/programs/simple-hash.c: Likewise.
77215         * nscd/nscd.h: Likewise.
77216         * nss/makedb.c: Likewise.
77217         * sysdeps/generic/ldconfig.h: Likewise.
77218         * locale/programs/localedef.c: Remove xmalloc prototype.
77219         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77221 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77223         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
77224         appropriate.
77226 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77228         * math/Makefile (tests): Add tst-CMPLX.
77229         * math/tst-CMPLX.c: New file.
77231         * math/complex.h (CMPLXL): Fix typo.
77233         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
77234         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
77235         GLIBC_2.16.
77236         * debug/tst-chk1.c: Add poll and ppoll tests.
77237         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
77238         * include/sys/poll.h: Add hidden proto for ppoll.
77239         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
77240         * sysdeps/mach/hurd/ppoll.c: Likewise.
77241         * io/ppoll.c: Likewise.
77242         * debug/poll_chk.c: New file.
77243         * debug/ppoll_chk.c: New file.
77244         * include/bits/poll2.h: New file.
77245         * io/bits/poll2.h: New file.
77247         [BZ #1350]
77248         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
77250         * configure.in: static is always set to yes.  Remove.
77251         * config.make.in: Don't set build-static.
77252         * Makeconfig: Remove use of build-static.
77253         * dlfcn/Makefile: Likewise.
77254         * elf/Makefile: Likewise.
77255         * math/Makefile: Likewise.
77256         * misc/Makefile: Likewise.
77257         * nptl/Makefile: Likewise.
77258         * sysdeps/mach/hurd/Makefile: Likewise.
77260         * configure.in: PWD_P is not used anymore.
77261         * config.make.in: Remove PWD_P entry.
77263         * configure.in: Remove last remnants of RANLIB.
77264         No need to check for signed size_t anymore.
77265         Don't set libc_commonpagesize and libc_relro_required here for Alpha
77266         and IA-64.
77267         Remove __builtin_expect test because we require at least gcc 3.4.
77268         * aclocal.m4: Likewise.
77270         * wcsmbs/mbrtoc16.c: Implement using towc function.
77271         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
77272         * wcsmbs/wcsmbsload.c: Likewise.
77273         * iconv/gconv_simple.c: Likewise.
77274         * iconv/gconv_int.h: Likewise.
77275         * iconv/gconv_builtin.h: Likewise.
77276         * iconv/iconv_prog.c: Remove CHAR16 handling.
77278         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
77280         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
77282         * configure.in: Remove --with-elf and --enable-bounded options.
77283         Dont set base_machine for ia64.  More non-ELF conditions removed.
77284         Remove testing and setting of leading underscore information.
77285         * config.make.in (build-bounded): Set to no.
77286         * config.h.in: Remove NO_UNDERSCORES entry.
77287         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
77288         them.
77289         * csu/start.c: Remove !NO_UNDERSCORE code.
77290         * locale/localeinfo.h: Likewise.
77291         * sysdeps/generic/machine-gmon.h: Likewise.
77292         * sysdeps/generic/sysdep.h: Likewise.
77293         * sysdeps/i386/sysdep.h: Likewise.
77294         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77295         * sysdeps/mach/sysdep.h: Likewise.
77296         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77297         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77298         * sysdeps/sh/sysdep.h: Likewise.
77299         * sysdeps/sparc/sparc32/alloca.S: Likewise.
77300         * sysdeps/unix/i386/sysdep.S: Likewise.
77301         * sysdeps/unix/sparc/start.c: Likewise.
77302         * sysdeps/unix/sparc/sysdep.S: Likewise.
77303         * sysdeps/unix/sparc/sysdep.h: Likewise.
77304         * sysdeps/unix/start.c: Likewise.
77305         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77306         * sysdeps/x86_64/sysdep.h: Likewise.
77308 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
77310         [BZ #13553]
77311         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
77312         for non-gcc.
77313         * argp/argp-fmtstream.h: Use const instead __const.
77314         * argp/argp.h: Likewise.
77315         * assert/assert.h: Likewise.
77316         * bits/fenv.h: Likewise.
77317         * bits/sched.h: Likewise.
77318         * bits/sigset.h: Likewise.
77319         * bits/sigthread.h: Likewise.
77320         * catgets/nl_types.h: Likewise.
77321         * conform/data/pthread.h-data: Likewise.
77322         * crypt/crypt-private.h: Likewise.
77323         * crypt/crypt.h: Likewise.
77324         * crypt/crypt_util.c: Likewise.
77325         * ctype/ctype.h: Likewise.
77326         * debug/execinfo.h: Likewise.
77327         * debug/mbsnrtowcs_chk.c: Likewise.
77328         * debug/mbsrtowcs_chk.c: Likewise.
77329         * debug/wcsnrtombs_chk.c: Likewise.
77330         * debug/wcsrtombs_chk.c: Likewise.
77331         * debug/wcstombs_chk.c: Likewise.
77332         * dirent/dirent.h: Likewise.
77333         * dlfcn/dlfcn.h: Likewise.
77334         * elf/neededtest4.c: Likewise.
77335         * grp/grp.h: Likewise.
77336         * gshadow/gshadow.h: Likewise.
77337         * iconv/gconv.h: Likewise.
77338         * iconv/gconv_int.h: Likewise.
77339         * iconv/gconv_simple.c: Likewise.
77340         * iconv/iconv.h: Likewise.
77341         * iconv/loop.c: Likewise.
77342         * iconv/skeleton.c: Likewise.
77343         * include/aio.h: Likewise.
77344         * include/aliases.h: Likewise.
77345         * include/argz.h: Likewise.
77346         * include/arpa/inet.h: Likewise.
77347         * include/assert.h: Likewise.
77348         * include/dirent.h: Likewise.
77349         * include/dlfcn.h: Likewise.
77350         * include/execinfo.h: Likewise.
77351         * include/fcntl.h: Likewise.
77352         * include/fenv.h: Likewise.
77353         * include/glob.h: Likewise.
77354         * include/grp.h: Likewise.
77355         * include/libintl.h: Likewise.
77356         * include/mntent.h: Likewise.
77357         * include/netdb.h: Likewise.
77358         * include/pwd.h: Likewise.
77359         * include/rpc/netdb.h: Likewise.
77360         * include/sched.h: Likewise.
77361         * include/search.h: Likewise.
77362         * include/shadow.h: Likewise.
77363         * include/signal.h: Likewise.
77364         * include/stdio.h: Likewise.
77365         * include/stdlib.h: Likewise.
77366         * include/string.h: Likewise.
77367         * include/sys/socket.h: Likewise.
77368         * include/sys/stat.h: Likewise.
77369         * include/sys/statfs.h: Likewise.
77370         * include/sys/statvfs.h: Likewise.
77371         * include/sys/syslog.h: Likewise.
77372         * include/sys/time.h: Likewise.
77373         * include/sys/uio.h: Likewise.
77374         * include/time.h: Likewise.
77375         * include/unistd.h: Likewise.
77376         * include/utmp.h: Likewise.
77377         * include/wchar.h: Likewise.
77378         * include/wctype.h: Likewise.
77379         * inet/aliases.h: Likewise.
77380         * inet/arpa/inet.h: Likewise.
77381         * inet/netinet/ether.h: Likewise.
77382         * inet/netinet/in.h: Likewise.
77383         * intl/libintl.h: Likewise.
77384         * io/bits/fcntl2.h: Likewise.
77385         * io/fcntl.h: Likewise.
77386         * io/ftw.h: Likewise.
77387         * io/sys/poll.h: Likewise.
77388         * io/sys/stat.h: Likewise.
77389         * io/sys/statfs.h: Likewise.
77390         * io/sys/statvfs.h: Likewise.
77391         * io/utime.h: Likewise.
77392         * libio/bits/stdio.h: Likewise.
77393         * libio/bits/stdio2.h: Likewise.
77394         * libio/libio.h: Likewise.
77395         * libio/libioP.h: Likewise.
77396         * libio/stdio.h: Likewise.
77397         * locale/lc-ctype.c: Likewise.
77398         * locale/locale.h: Likewise.
77399         * login/utmp.h: Likewise.
77400         * malloc/arena.c: Likewise.
77401         * malloc/malloc.c: Likewise.
77402         * malloc/malloc.h: Likewise.
77403         * malloc/mcheck.c: Likewise.
77404         * malloc/mtrace.c: Likewise.
77405         * math/bits/mathcalls.h: Likewise.
77406         * math/fenv.h: Likewise.
77407         * math/math_private.h: Likewise.
77408         * misc/bits/error.h: Likewise.
77409         * misc/bits/syslog.h: Likewise.
77410         * misc/err.h: Likewise.
77411         * misc/error.h: Likewise.
77412         * misc/fstab.h: Likewise.
77413         * misc/mntent.h: Likewise.
77414         * misc/regexp.h: Likewise.
77415         * misc/search.h: Likewise.
77416         * misc/sgtty.h: Likewise.
77417         * misc/sys/mman.h: Likewise.
77418         * misc/sys/syslog.h: Likewise.
77419         * misc/sys/uio.h: Likewise.
77420         * misc/sys/xattr.h: Likewise.
77421         * misc/ttyent.h: Likewise.
77422         * nis/rpcsvc/ypclnt.h: Likewise.
77423         * nss/nss.h: Likewise.
77424         * posix/bits/unistd.h: Likewise.
77425         * posix/fnmatch.h: Likewise.
77426         * posix/glob.h: Likewise.
77427         * posix/sched.h: Likewise.
77428         * posix/spawn.h: Likewise.
77429         * posix/sys/wait.h: Likewise.
77430         * posix/unistd.h: Likewise.
77431         * posix/wordexp.h: Likewise.
77432         * pwd/pwd.h: Likewise.
77433         * resolv/netdb.h: Likewise.
77434         * resource/sys/resource.h: Likewise.
77435         * rt/aio.h: Likewise.
77436         * rt/bits/mqueue2.h: Likewise.
77437         * rt/mqueue.h: Likewise.
77438         * shadow/shadow.h: Likewise.
77439         * signal/signal.h: Likewise.
77440         * socket/send.c: Likewise.
77441         * socket/sendto.c: Likewise.
77442         * socket/sys/socket.h: Likewise.
77443         * stdio-common/printf.h: Likewise.
77444         * stdlib/bits/stdlib.h: Likewise.
77445         * stdlib/fmtmsg.h: Likewise.
77446         * stdlib/monetary.h: Likewise.
77447         * stdlib/stdlib.h: Likewise.
77448         * stdlib/ucontext.h: Likewise.
77449         * streams/stropts.h: Likewise.
77450         * string/argz.h: Likewise.
77451         * string/bits/string2.h: Likewise.
77452         * string/string.h: Likewise.
77453         * string/strings.h: Likewise.
77454         * sunrpc/rpc/auth.h: Likewise.
77455         * sunrpc/rpc/auth_des.h: Likewise.
77456         * sunrpc/rpc/clnt.h: Likewise.
77457         * sunrpc/rpc/netdb.h: Likewise.
77458         * sunrpc/rpc/pmap_clnt.h: Likewise.
77459         * sunrpc/rpc/xdr.h: Likewise.
77460         * sysdeps/generic/inttypes.h: Likewise.
77461         * sysdeps/generic/net/if.h: Likewise.
77462         * sysdeps/generic/sys/swap.h: Likewise.
77463         * sysdeps/gnu/net/if.h: Likewise.
77464         * sysdeps/gnu/utmpx.h: Likewise.
77465         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
77466         * sysdeps/i386/i486/bits/string.h: Likewise.
77467         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
77468         * sysdeps/s390/bits/string.h: Likewise.
77469         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
77470         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
77471         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
77472         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
77473         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
77474         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
77475         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
77476         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
77477         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
77478         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
77479         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
77480         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
77481         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
77482         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
77483         * sysdeps/unix/sysv/linux/readv.c: Likewise.
77484         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
77485         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
77486         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77487         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
77488         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
77489         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77490         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
77491         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
77492         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
77493         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
77494         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
77495         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
77496         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77497         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
77498         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
77499         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
77500         * sysvipc/sys/ipc.h: Likewise.
77501         * sysvipc/sys/msg.h: Likewise.
77502         * sysvipc/sys/sem.h: Likewise.
77503         * sysvipc/sys/shm.h: Likewise.
77504         * termios/termios.h: Likewise.
77505         * time/sys/time.h: Likewise.
77506         * time/time.h: Likewise.
77507         * wcsmbs/bits/wchar2.h: Likewise.
77508         * wcsmbs/uchar.h: Likewise.
77509         * wcsmbs/wchar.h: Likewise.
77510         * wctype/wctype.h: Likewise.
77512         [BZ #13551]
77513         * Makeconfig: Remove all but ELF support including AIX support.
77514         * Makerules: Likewise.
77515         * config.h.in: Likewise.
77516         * config.make.in: Likewise.
77517         * configure: Likewise.
77518         * configure.in: Likewise.
77519         * csu/Makefile: Likewise.
77520         * csu/version.c: Likewise.
77521         * debug/Makefile: Likewise.
77522         * dlfcn/Makefile: Likewise.
77523         * elf/Makefile: Likewise.
77524         * extra-lib.mk: Likewise.
77525         * iconv/Makefile: Likewise.
77526         * include/libc-symbols.h: Likewise.
77527         * include/shlib-compat.h: Likewise.
77528         * resolv/Makefile: Likewise.
77529         * resolv/res_libc.c: Likewise.
77530         * rt/Makefile: Likewise.
77531         * sysdeps/i386/asm-syntax.h: Likewise.
77532         * sysdeps/i386/sysdep.h: Likewise.
77533         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77534         * sysdeps/mach/sysdep.h: Likewise.
77535         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
77536         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
77537         * sysdeps/s390/asm-syntax.h: Likewise.
77538         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77539         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77540         * sysdeps/sh/sysdep.h: Likewise.
77541         * sysdeps/unix/sparc/sysdep.h: Likewise.
77542         * sysdeps/wordsize-32/divdi3.c: Likewise.
77543         * sysdeps/x86_64/sysdep.h: Likewise.
77545         * argp/Versions: Remove _argp_unlock_xxx.
77547         [BZ #13559]
77548         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
77549         * abilist/libBrokenLocale.abilist: Likewise.
77550         * abilist/libanl.abilist: Likewise.
77551         * abilist/libc.abilist: Likewise.
77552         * abilist/libcrypt.abilist: Likewise.
77553         * abilist/libdl.abilist: Likewise.
77554         * abilist/libm.abilist: Likewise.
77555         * abilist/libnsl.abilist: Likewise.
77556         * abilist/libpthread.abilist: Likewise.
77557         * abilist/libresolv.abilist: Likewise.
77558         * abilist/librt.abilist: Likewise.
77559         * abilist/libthread_db.abilist: Likewise.
77560         * abilist/libutil.abilist: Likewise.
77561         * abilist/libnss_db.abilist: New file.
77563         * scripts/abilist.awk: Add support for indirect functions.
77565         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
77567         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
77569         * shlib-versions: Remove entries for ports architectures.
77571         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
77572         files in ports.
77573         * elf/stackguard-macros.h: Remove support for IA-64.
77574         * elf/tst-auditmod1.c: Likewise.
77575         * sysdeps/generic/ldsodefs.h: Likewise.
77577         * sysdeps/unix/sysv/linux/configure.in: Ports should define
77578         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
77579         configure files.
77581         [BZ #13552]
77582         * configure.in: Remove --enable-omitfp support.
77583         * FAQ.in: Adjust.
77584         * config.make.in: Likewise.
77585         * Makeconfig: Likewise.
77586         * manual/install.texi: Likewise.
77588         In case anyone cares, the IA-64 architecture could move to ports.
77589         * sysdeps/ia64/*: Removed.
77590         * sysdeps/unix/sysv/linux/ia64/*: Removed.
77591         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
77593         [BZ #13555]
77594         * configure.in: Remove entries for unsupported architectures.
77596         [BZ #13533]
77597         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
77598         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
77599         routines.
77600         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
77601         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
77602         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
77603         fall back to using wcrtomb.
77604         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
77605         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
77606         renaming.
77607         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
77608         * wcsmbs/tst-c16c32-1.c: New file.
77610         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
77611         local variable.
77613         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
77615         * elf/tst-unique3.cc: Add explicit declaration of gets.
77616         * elf/tst-unique3lib.cc: Likewise.
77617         * elf/tst-unique3lib2.cc: Likewise.
77618         * elf/tst-unique4.cc: Likewise.
77620         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
77622 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
77624         [BZ #13566]
77625         * assert/assert.h (static_assert): Don't define for C++.
77626         * libio/stdio.h (gets): Do declare for C++ <= C++11.
77627         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
77629 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
77631         * iconv/loop.c (single loop): Fix assertion in storing of
77632         remaining bytes.
77634         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
77636 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
77638         * posix/getconf.c: Update copyright year.
77639         * nss/getent.c: Likewise.
77640         * nss/makedb.c: Likewise.
77641         * iconv/iconvconfig.c: Likewise.
77642         * iconv/iconv_prog.c: Likewise.
77643         * elf/ldconfig.c: Likewise.
77644         * elf/pldd.c: Likewise.
77645         * elf/sotruss.ksh: Likewise.
77646         * catgets/gencat.c: Likewise.
77647         * csu/version.c: Likewise.
77648         * elf/ldd.bash.in: Likewise.
77649         * elf/sprof.c (print_version): Likewise.
77650         * locale/programs/locale.c: Likewise.
77651         * locale/programs/localedef.c: Likewise.
77652         * login/programs/pt_chown.c: Likewise.
77653         * nscd/nscd.c (print_version): Likewise.
77654         * debug/xtrace.sh: Likewise.
77655         * malloc/memusage.sh: Likewise.
77656         * malloc/mtrace.pl: Likewise.
77657         * debug/catchsegv.sh: Likewise.
77659 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
77661         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
77662         pure attribute.
77664 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
77666         [BZ #13533]
77667         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
77668         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
77669         transformations.
77670         * iconv/gconv_int.h: Likewise.
77671         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
77672         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
77673         from libc for GLIBC_2.16.
77674         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
77675         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
77676         * wcsmbs/uchar.h: Really define mbstate_t.
77677         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
77678         * wcsmbs/c16rtomb.c: New file.
77679         * wcsmbs/mbrtoc16.c: New file.
77680         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
77681         for C/POSIX locale.
77682         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
77683         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
77685         * wcsmbs/wchar.h: Add missing __restrict.
77687 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
77689         [BZ #13532]
77690         * time/Makefile (routines): Add timespec_get.
77691         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
77692         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
77693         timespec for ISO C11.
77694         * time/timespec_get.c: New file.
77695         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
77696         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
77698         [BZ #13531]
77699         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
77700         * stdlib/stdlib.h: Declare aligned_alloc.
77701         * Versions.def: Add GLIBC_2.16 for libc.
77702         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
77704         [BZ 13527]
77705         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
77706         ISO C11.
77708         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
77709         code.
77711         [BZ #13528]
77712         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
77714         [BZ #13529]
77715         * assert/assert.h (static_assert): Define.
77717         * version.h: Update for 2.16 development version.
77719         [BZ #13526]
77720         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
77721         _ISOC11_SOURCE.
77723         * version.h (RELEASE): Bump for 2.15 release.
77724         * include/features.h (__GLIBC_MINOR__): Bump to 15.
77726         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
77727         Patch by Marek Polacek <mpolacek@redhat.com>.
77729         * bits/byteswap.h: Protect long long constants with __extension__.
77730         * sysdeps/i386/bits/byteswap.h: Likewise.
77731         * sysdeps/ia64/bits/byteswap.h: Likewise.
77732         * sysdeps/s390/bits/byteswap.h: Likewise.
77733         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77735 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77737         [BZ #13540]
77738         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
77739         destination buffer.
77740         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
77742 2011-12-23  Marek Polacek  <polacek@redhat.com>
77744         * elf/dl-addr.c (determine_info): Add inline keyword.
77745         * elf/tst-auditmod4b.c (check_avx): Likewise.
77746         * elf/tst-auditmod6b.c (check_avx): Likewise.
77747         * elf/tst-auditmod6c.c (check_avx): Likewise.
77748         * elf/tst-auditmod7b.c (check_avx): Likewise.
77750 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
77752         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
77753         !__SSE_MATH__.
77755 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77757         [BZ #13540]
77758         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
77759         processing for last bytes.
77761 2011-08-06  Bruno Haible  <bruno@clisp.org>
77763         [BZ #13061]
77764         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
77765         U+0385, not to U+1FEE.
77767         [BZ #13062]
77768         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
77769         entry for U+00A5 U+0301.
77771 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
77773         [BZ #13166]
77774         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
77775         buffer for the output is too small.
77777         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
77778         optimization.
77780         [BZ #13185]
77781         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
77782         SSE flags if possible.
77784 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77786         [BZ #13540]
77787         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
77788         processing for last bytes.
77790 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
77792         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
77793         (syscall-list-default-options, syscall-list-default-condition)
77794         (syscall-list-includes): Define.
77795         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
77796         list of ABIs and options and #if conditions for each ABI.  Do not
77797         handle common syscalls between ABIs specially.
77798         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
77799         Remove.
77800         (syscall-list-variants, syscall-list-32bit-options)
77801         (syscall-list-32bit-condition, syscall-list-64bit-options)
77802         (syscall-list-64bit-condition): Define.
77803         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
77804         (syscall-list-variants, syscall-list-32bit-options)
77805         (syscall-list-32bit-condition, syscall-list-64bit-options)
77806         (syscall-list-64bit-condition): Define.
77807         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
77808         Remove.
77809         (syscall-list-variants, syscall-list-32bit-options)
77810         (syscall-list-32bit-condition, syscall-list-64bit-options)
77811         (syscall-list-64bit-condition): Define.
77812         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
77813         Remove.
77814         (syscall-list-variants, syscall-list-32bit-options)
77815         (syscall-list-32bit-condition, syscall-list-64bit-options)
77816         (syscall-list-64bit-condition): Define.
77818 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
77820         * locale/iso-639.def: Add brx entry.
77822         [BZ #13328]
77823         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
77824         Proposed by Mariusz_Cukr <marcukr@op.pl>.
77826         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
77827         __feraiseexcept_renamed.
77829 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
77831         [BZ #13538]
77832         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
77833         EPOLLET with unsigned values.
77834         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77835         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77837         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
77838         to large cancellation.
77839         * math/s_cacoshf.c: Likewise.
77840         * math/s_cacoshl.c: Likewise.
77842 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
77844         [BZ #13305]
77845         [BZ #12786]
77846         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
77847         * math/s_cacoshf.c: Likewise.
77848         * math/s_cacoshl.c: Likewise.
77850 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
77852         [BZ #13439]
77853         * iconv/gconv.h: Define __GCONV_SWAP.
77854         * iconvdata/unicode.c: The swap bit must be stored in __flags.
77855         * iconvdata/utf-16.c: Likewise.
77856         * iconvdata/utf-32.c: Likewise.
77858 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
77860         [BZ #13524]
77861         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
77862         numerator after shifting it by one limb.
77864 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
77866         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
77867         under [__USE_EXTERN_INLINES].
77869 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77871         [BZ #13446]
77872         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
77874 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77876         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
77877         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
77878         optimized code.
77879         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
77880         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
77881         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
77882         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
77883         for strncasecmp/strncasecmp_l compilation.
77884         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
77885         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
77887 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
77889         [BZ #13484]
77890         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
77891         of __asm__.
77893 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77895         [BZ #13506]
77896         * time/tzfile.c (__tzfile_read): Check values from file header.
77898 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77900         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
77901         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
77902         * powerpc/powerpc32/dl-start.S: Likewise.
77903         * powerpc/powerpc32/elf/start.S: Likewise.
77904         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
77905         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
77906         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
77907         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
77908         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
77909         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
77910         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
77911         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
77912         * powerpc/powerpc32/fpu/s_round.S: Likewise.
77913         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
77914         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
77915         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
77916         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
77917         * powerpc/powerpc32/memset.S: Likewise.
77918         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
77919         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
77920         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
77921         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
77922         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
77923         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
77924         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
77925         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
77926         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
77927         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
77928         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
77929         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77930         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77932 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77934         * math/libm-test.inc: Added more nearbyint tests.
77935         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
77936         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
77937         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
77938         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
77940 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
77942         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77943         FD_CLOEXEC.
77945 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77947         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77948         Add wcscpy-ssse3 wcscpy-c.
77949         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77950         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77951         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77952         * sysdeps/x86_64/wcschr.S: New file.
77953         * sysdeps/x86_64/wcsrchr.S: New file.
77954         * string/test-strcmp.c: Remove checking of wcscmp function for
77955         wrong alignments.
77956         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77957         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77958         wcsrchr-sse2 wcsrchr-c.
77959         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77960         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77961         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77962         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77963         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77964         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77965         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77966         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77967         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77968         * wcsmbc/wcschr.c (WCSCHR): New macro.
77970 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77972         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77973         * wcsmbs/test-wcsrchr.c: New file.
77974         * string/test-strrchr.c: Add wcsrchr support.
77975         (WIDE): New macro.
77976         * wcsmbs/test-wcscpy.c: New file.
77977         * string/test-strcpy.c: Add wcscpy support.
77978         (WIDE): New macro.
77980 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77982         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77983         the inner loop.
77985 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77987         [BZ #13472]
77988         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77990 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77992         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77993         Minor optimizations.
77995         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77996         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77997         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77999 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
78001         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78002         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78003         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78004         for gcc to avoid warnings.
78005         * inet/Makefile (tests): Add tst-checks.
78006         * inet/tst-checks.c: New file.
78008         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78009         warning.
78011         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78012         __wmemcmp_sse2.
78014         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78015         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78017         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78019 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
78021         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78022         problem.
78024         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78026 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
78028         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78029         conditional on GCC version.
78030         (__arch_compare_and_exchange_val_8_acq)
78031         (__arch_compare_and_exchange_val_16_acq)
78032         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78033         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78034         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78036 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
78038         * sysdeps/sh/backtrace.c: New file.
78040 2011-12-02  Andreas Schwab  <schwab@redhat.com>
78042         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
78043         parenthesis.
78045 2011-12-01  Andreas Schwab  <schwab@redhat.com>
78047         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78048         falling back to utime.
78050 2011-11-30  Andreas Schwab  <schwab@redhat.com>
78052         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78053         expectations for float.
78055 2011-11-29  Andreas Schwab  <schwab@redhat.com>
78057         * locale/weight.h (findidx): Add parameter len.
78058         * locale/weightwc.h (findidx): Likewise.
78059         * posix/fnmatch_loop.c (FCT): Adjust caller.
78060         * posix/regcomp.c (build_equiv_class): Likewise.
78061         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78062         * posix/regexec.c (check_node_accept_bytes): Likewise.
78063         * string/strcoll_l.c (STRCOLL): Likewise.
78064         * string/strxfrm_l.c (STRXFRM): Likewise.
78066 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
78068         * Makefile.in: Remove CVSOPT handling.
78069         * configure.in: Remove use of AC_REVISION.
78070         * iconvdata/Makefile (distribute): No need to filter out CVS.
78071         * scripts/list-sources.sh: Remove CVS, subversion and monotone
78072         handling.
78074 2011-11-16  Andreas Schwab  <schwab@redhat.com>
78076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78077         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78078         [USE_AS_STRNCASECMP_L]: Likewise.
78079         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78080         NO_TLS_DIRECT_SEG_REFS.
78081         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78082         Fix argument offsets for non-PIC.
78083         [USE_AS_STRNCASECMP_L]: Likewise.
78084         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78085         NO_TLS_DIRECT_SEG_REFS.
78087 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78089         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78090         O_CLOEXEC.
78091         * locale/loadlocale.c (_nl_load_locale): Likewise.
78093 2011-11-15  Andreas Schwab  <schwab@redhat.com>
78095         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78096         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78097         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78098         (SYSCALL_GETTIME): Set errno on error.
78100         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78101         count references to noai6ai_cached.
78103 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78105         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78107         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78108         FD_CLOEXEC for /proc/self/maps.
78110         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78111         FD_CLOEXEC for /proc/meminfo.
78113         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78114         gai.conf.
78116         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
78117         FD_CLOEXEC for given file.
78119         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78121         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78122         FD_CLOEXEC for /etc/hosts.
78123         (_gethtent): Likewise.
78125         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78127         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78128         cancellation and set FD_CLOEXEC for /etc/netgroup.
78130         * nss/nss_files/files-key.c (search): Don't allow cancellation when
78131         reading /etc/publickey.
78133         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78134         allow cancellation when reading /etc/group.
78136         * nss/nss_files/files-alias.c (internal_setent): Don't allow
78137         cancellation.
78138         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
78140         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78141         when using data file.
78143         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78145         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78146         (write_nis_obj): Use "c" and "e" in fopen.
78148         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78150         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78152         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78154         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78156         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78157         locale.alias.
78159         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78161         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78163         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78165         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78166         file parsing and set FD_CLOEXEC.
78168 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78170         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78172 2011-11-14  Andreas Schwab  <schwab@redhat.com>
78174         * malloc/arena.c (arena_get2): Don't call reused_arena when
78175         _int_new_arena failed.
78177 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78179         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78180         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78181         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78182         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78183         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78184         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78185         to compile strcasecmp and strncasecmp.
78186         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78187         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78189         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78191 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
78193         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78194         locale-defines.sym to gen-as-const-headers.
78195         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78196         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78198         to compile strcasecmp and strncasecmp.
78199         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78200         strcasecmp_l and strncasecmp_l.
78201         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78202         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78203         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78204         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78205         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78206         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78207         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78208         * sysdeps/i386/i686/multiarch/strncase.S: New file.
78209         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78210         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78211         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78213 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
78215         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78216         result of SYSDEP_GETTIME_CPU to retval.
78217         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78218         parameter list to macro.  Remove trailing semicolon.  Adjust users.
78220         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78221         variable.
78223         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
78224         mantissa words.
78225         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
78227         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
78228         from unused variable.
78230         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
78231         DWARF definitions.
78232         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
78233         for assembling.
78235         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
78236         over namespaces.
78238         * sunrpc/rpc_prot.c (rejected): Fix case value.
78240         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
78241         unsigned long long int to avoid warnings in shift.
78243         * posix/regex_internal.c (re_string_reconstruct): Actually use result
78244         of use of trans.
78245         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
78246         variable tmp.
78248         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
78249         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
78250         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
78252         * nis/nis_table.c (nis_list): Use variable of correct type for
78253         result of __follow_path call.
78255 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78257         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
78258         of math functions ceil, trunc, floor, round, and sqrt, when
78259         avaliable on the platform.
78260         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
78261         name clash.
78262         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78263         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78264         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78266 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
78268         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
78269         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
78271 2011-11-11  Roland McGrath  <roland@hack.frob.com>
78273         * include/unistd.h: Fix __readlink return type.
78274         Reported by Chris Metcalf <cmetcalf@tilera.com>.
78276 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
78278         * stdlib/ucontext.h: Undo last change for makecontext.
78280 2011-11-11  Andreas Schwab  <schwab@redhat.com>
78282         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
78284         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
78285         * setjmp/setjmp.h: Mark functions as non-leaf.
78286         * setjmp/bits/setjmp2.h: Likewise.
78287         * stdlib/ucontext.h: Likewise.
78289 2011-11-10  Andreas Schwab  <schwab@redhat.com>
78291         * malloc/arena.c (_int_new_arena): Don't increment narenas.
78292         (reused_arena): Don't check arena limit.
78293         (arena_get2): Atomically check arena limit.
78295 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
78297         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
78298         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
78300         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
78301         instructions.
78303 2011-11-07  Andreas Schwab  <schwab@redhat.com>
78305         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
78306         handler when locking.
78308         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78309         Fix size of allocated buffer.
78311 2011-11-04  Andreas Schwab  <schwab@redhat.com>
78313         [BZ #10103]
78314         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
78315         declarations for long double functions.
78316         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
78318         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
78320 2011-11-03  Andreas Schwab  <schwab@redhat.com>
78322         * nscd/nscd.c (main): Don't start AVC thread until credentials are
78323         installed.
78325         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
78326         is disabled.
78328 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78330         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
78332 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
78334         * include/alloca.h (stackinfo_alloca_round): Define.
78335         (extend_alloca): Use it.
78336         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
78337         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
78338         here.
78340         * scripts/check-local-headers.sh: Ignore libaudit.h.
78342         * nscd/Makefile (extra-objs): Make recursively expanded.
78344 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
78346         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
78347         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
78349         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
78350         * posix/tst-rfc3484-2.c: Likewise.
78351         * posix/tst-rfc3484-3.c: Likewise.
78353         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
78354         process_vm_writev.
78355         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
78356         process_vm_writev.
78357         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
78358         process_vm_writev from libc using GLIBC_2.15 version.
78360         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
78362 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
78364         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
78365         stack usage.
78367 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
78369         [BZ #13367]
78370         * nss/getent.c (initgroups_keys): Show error message in case no group
78371         names are given.
78373         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
78374         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
78375         __bump_nl_timestamp.
78376         * nscd/connections (nscd_init): When host database is served open
78377         netlink socket and request notification about configuration changes.
78378         (main_loop_poll): Track netlink file descriptor and bump timestamp
78379         in case data becomes available.
78380         (main_loop_epoll): Likewise.
78381         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
78382         (database_pers_head): Add extra_data fileds.
78383         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
78384         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
78385         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
78386         Adjust caller.
78387         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
78388         in6ai data, call __free_in6ai.
78389         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
78390         Add -DHAVE_NETLINK.
78391         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
78392         interface information.  Reuse previous data if netlink timestamp
78393         is not changed.
78394         (__bump_nl_timestamp): New function.
78395         (__free_in6ai): New function.
78397 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
78399         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
78400         close_not_cancel_no_status here.
78401         (__check_pf): Reorganize code a bit to not call close twice if OOM.
78403 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
78405         [BZ #13276]
78406         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
78407         return value.
78409         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
78410         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
78411         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
78413 2011-07-03  Andreas Jaeger  <aj@suse.de>
78415         [BZ #10709]
78416         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
78417         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
78418         * math/libm-test.inc (sin_test): Add test case.
78420 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
78422         [BZ #13337]
78423         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
78424         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
78426         * elf/chroot_canon.c (chroot_canon): Cleanups.
78428         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
78430         [BZ #13335]
78431         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
78432         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
78434         * string/test-strchr.c: Make usable for strchrnul testing.
78435         * string/test-strchrnul.c: New file.
78436         * string/Makefile (strop-tests): Add strchrnul.
78438         * po/it.po: Update from translation team.
78439         * po/es.po: Likewise.
78441 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
78443         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
78444         the three constants needed as parameters.  Drop the others.
78445         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
78446         __m128i_strloadu_tolower.
78447         Create and initialize variable zero and use it in all the places
78448         where _mm_setzero_si128 was used.
78450         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
78451         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
78452         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
78453         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
78454         anymore.
78455         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
78456         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
78457         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
78458         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
78459         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
78460         __mpranred, __mptan.
78461         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
78462         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
78463         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
78464         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
78465         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
78466         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
78467         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
78468         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
78469         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
78471 2011-10-28  Andreas Schwab  <schwab@redhat.com>
78473         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
78474         redefine if SHARED.
78475         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
78477         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
78478         wide char related routines to wcsmbs subdir.
78480 2011-10-27  Andreas Schwab  <schwab@redhat.com>
78482         [BZ #13344]
78483         * misc/sys/cdefs.h (__THROWNL): Define.
78484         * posix/unistd.h: Use __THREADNL instead of __THREAD
78485         for memory synchronization functions.
78487 2011-10-26  Roland McGrath  <roland@hack.frob.com>
78489         [BZ #13349]
78490         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
78491         doesn't exist.
78492         * manual/stdio.texi (Obstack Streams): Node removed.
78494 2011-10-26  Andreas Schwab  <schwab@redhat.com>
78496         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
78497         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78498         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78500         * math/math_private.h (math_force_eval): Allow non-addressable
78501         arguments.
78502         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
78504 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78506         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
78507         file is not needed.
78509         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
78510         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
78511         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78512         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78513         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78514         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78515         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78516         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
78517         Add AVX variants.
78518         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
78519         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
78520         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
78521         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
78522         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
78523         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
78524         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
78525         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
78526         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
78527         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
78528         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
78529         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
78530         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
78531         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
78532         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
78533         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
78534         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
78535         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
78536         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
78538         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
78539         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
78541         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
78542         place.  Use VEX encoding when compiling for AVX.
78544 2011-10-25  Andreas Schwab  <schwab@redhat.com>
78546         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
78547         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
78549         * string/test-strchr.c (do_test): Don't generate NUL bytes.
78551 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78553         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
78554         useless if() expression.
78555         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78556         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78557         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78558         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78559         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78560         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78561         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78562         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78563         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78564         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78565         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78566         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78567         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78568         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78569         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78570         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78571         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78572         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78573         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78575         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
78577 2011-10-25  Andreas Schwab  <schwab@redhat.com>
78579         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
78580         condition.
78581         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78583 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78585         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
78586         .text section.  Avoid duplicate constants.
78587         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78588         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78589         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78590         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78591         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78592         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78593         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78594         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78595         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
78596         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
78597         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
78598         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
78599         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
78600         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
78601         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
78602         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
78603         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
78604         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
78605         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78607         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78608         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78609         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78610         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
78611         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
78612         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
78613         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
78614         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
78615         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
78616         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
78617         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
78618         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
78619         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
78620         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
78621         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
78622         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
78623         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
78624         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
78625         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
78626         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
78627         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
78628         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
78629         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
78630         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
78631         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
78633 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
78635         * sysdeps/x86_64/dla.h: Move to ...
78636         * sysdeps/x86_64/fpu/dla.h: ...here.
78637         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
78638         situations.  Use __builtin_fma only for gcc 4.6 and up.
78640         * config.make.in: Add have-mfma4 entry.
78641         * configure.in: Substitute libc_cv_cc_fma4.
78642         * math/Makefile (dbl-only-routines): Add sincostab.
78643         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
78644         Use __sincostab not sincos.
78645         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
78646         name is a macro.
78647         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78648         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78649         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
78651         using __copysign.
78652         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
78653         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
78654         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
78655         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
78656         and __inv.
78657         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
78658         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
78659         __copysign.
78660         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
78661         define aliases when function name is a macro.
78662         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
78663         sysdeps/ieee754/dbl-64/sincos.tbl.
78664         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
78665         fma4-enabled routines.
78666         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
78667         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
78668         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
78669         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
78670         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
78671         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
78672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
78673         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
78674         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
78675         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
78676         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
78677         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
78678         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
78679         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
78680         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
78681         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
78682         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
78683         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
78684         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
78685         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
78686         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
78687         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
78688         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
78689         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
78690         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
78691         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
78692         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
78693         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
78694         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
78695         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
78697         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
78698         rename.
78699         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78700         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78701         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78702         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78703         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78704         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78705         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78706         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78708 2011-10-24  Andreas Schwab  <schwab@redhat.com>
78710         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
78712 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78714         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
78716         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
78717         prediction.
78718         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
78720         * string/strnlen.c: Don't define STRNLEN, reverse logic.
78721         Remove unused variable magic_bits.
78722         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
78724         * string/strnlen.c: Define and use STRNLEN macro.
78725         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
78726         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
78727         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
78728         * wcsmbs/wcslen.c: Define and use WCSLEN.
78729         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
78730         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
78731         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
78732         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
78733         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
78734         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
78735         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78737 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78740         strnlen-sse2-no-bsf.
78741         Rename strlen-no-bsf to strlen-sse2-no-bsf.
78742         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
78743         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
78744         Add strnlen support.
78745         (USE_AS_STRNLEN): New macro.
78746         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
78747         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
78748         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
78749         * sysdeps/x86_64/wcslen.S: New file.
78751 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
78753         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78754         XMM-moves are used for copying on small sizes.
78756 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78758         * wcsmbs/Makefile (strop-tests): Add wcschr.
78759         * wcsmbs/test-wcschr.c: New file.
78760         * string/test-strchr.c: Update.
78761         Add wcschr support.
78762         (WIDE): New macro.
78764 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78766         * wcsmbs/Makefile (strop-tests): Add wcslen.
78767         * wcsmbs/test-wcslen.c: New file.
78768         * string/test-strlen.c: Update.
78769         Add wcslen support.
78770         (WIDE): New macro.
78772 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78774         * po/it.po: Update from translation team.
78776 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78778         * sysdeps/x86_64/wcscmp.S: Update.
78779         Fix wrong comparison semantics.
78780         wcscmp shall use signed comparison not unsigned.
78781         Don't use substraction to avoid overflow bug.
78782         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
78783         * wcsmbc/wcscmp.c: Likewise.
78784         * string/test-strcmp.c: Likewise.
78785         Add new tests to check cases with negative values.
78787 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78789         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
78790         * sysdeps/x86_64/dla.h: ...here.  New file.
78791         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
78792         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78793         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78794         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78795         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78796         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78797         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78798         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78799         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78801 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
78803         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
78804         __ynl_finite aliases.
78806 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
78808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78810         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
78811         define DLA_FMA.
78812         [DLA_FMA] (EMULV): Use DLA_FMA.
78813         [DLA_FMA] (MUL12): Use EMULV.
78814         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
78815         that are not needed.
78816         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78818         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78819         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78820         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78821         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78822         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78824 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
78826         * math/s_nan.c: Undef __nan.
78827         * math/s_nanf.c: Undef __nanf.
78828         * math/s_nanl.c: Undef __nanl.
78829         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
78830         "math_private.h".
78832 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
78834         * math/s_catan.c: Add branch predictions.
78835         * math/s_catanf.c: Likewise.
78836         * math/s_catanh.c: Likewise.
78837         * math/s_catanhf.c: Likewise.
78838         * math/s_catanhl.c: Likewise.
78839         * math/s_catanl.c: Likewise.
78840         * math/s_cexp.c: Likewise.
78841         * math/s_cexpf.c: Likewise.
78842         * math/s_cexpl.c: Likewise.
78843         * math/s_clog.c: Likewise.
78844         * math/s_clog10.c: Likewise.
78845         * math/s_clog10f.c: Likewise.
78846         * math/s_clog10l.c: Likewise.
78847         * math/s_clogf.c: Likewise.
78848         * math/s_clogl.c: Likewise.
78849         * math/s_csqrt.c: Likewise.
78850         * math/s_csqrtf.c: Likewise.
78851         * math/s_csqrtl.c: Likewise.
78852         * math/s_ctanf.c: Likewise.
78853         * math/s_ctanh.c: Likewise.
78854         * math/s_ctanhf.c: Likewise.
78855         * math/s_ctanhl.c: Likewise.
78856         * math/s_ctanl.c: Likewise.
78858         * math/math_private.h: Define __nan, __nanf, __nanl.
78859         * math/s_cacosh.c: Include <math_private.h>.
78860         * math/s_cacoshl.c: Likewise.
78861         * math/s_casinh.c: Likewise.
78862         * math/s_casinhf.c: Likewise.
78863         * math/s_casinhl.c: Likewise.
78864         * math/s_ccos.c: Rely entire on ccosh.
78865         * math/s_ccosf.c: Rely entire on ccoshf.
78866         * math/s_ccosl.c: Rely entirely on ccoshl.
78867         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
78868         Remove tests for FE_INVALID.
78869         * math/s_ccoshf.c: Likewise.
78870         * math/s_ccoshl.c: Likewise.
78871         * math/s_csin.c: Likewise.
78872         * math/s_csinf.c: Likewise.
78873         * math/s_csinh.c Likewise.
78874         * math/s_csinhf.c: Likewise.
78875         * math/s_csinhl.c: Likewise.
78876         * math/s_csinl.c: Likewise.
78877         * math/s_ctan.c: Likewise.
78878         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
78879         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
78880         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
78882 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
78884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
78885         compilation problems.
78887         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
78888         __builtin_expect.
78890 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
78892         * sysdeps/i386/configure.in: Test for -mfma4 option.
78893         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
78894         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
78895         COMMON_CPUID_INDEX_80000001.
78896         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
78897         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
78898         use it if FMA3 is not supported.
78899         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
78901         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
78902         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78904 2011-10-20  Andreas Schwab  <schwab@redhat.com>
78906         [BZ #12892]
78907         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
78908         it would create a cycle with a link time dependency.
78910 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
78912         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
78913         instruction.
78914         * string/Makefile (strop-tests): Add rawmemchr.
78915         * string/test-rawmemchr.c: New file.
78917         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
78918         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
78919         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
78920         when compiling str{,n}casecmp and when AVX is available.  Hook up
78921         new optimized code in initializers.
78923 2011-10-19  Andreas Schwab  <schwab@redhat.com>
78925         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
78926         __feraiseexcept instead of feraiseexcept.
78928 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
78930         * math/math_private.h: Define defaults for libc_fetestexcept and
78931         libc_feupdateenv.
78932         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
78933         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
78934         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78935         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78936         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78937         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78938         libc_fetestexcept and libc_feupdateenv.
78940         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
78941         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78942         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78943         * sysdeps/x86_64/fpu/math_private.h: Define special version of
78944         libc_feholdexcept_setround.
78946         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78947         Add s_nearbyint-c and s_nearbyintf-c.
78948         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78949         nearbyintf inlines.
78950         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78951         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78952         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78953         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78955         * math/math_private.h: Define defaults for libc_fegetround,
78956         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78957         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78958         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78959         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78960         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78961         standard functions.
78962         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78963         Remove comments and hacks for old compiler versions.
78964         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78965         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78966         libc_feholdexceptl.
78968 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78970         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78971         (__feraiseexcept_renamed): Add __NTH.
78972         (feraiseexcept): Add __NTH.  Rename local variables to fix
78973         namespace violations.
78975 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78977         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78979         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78981         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78982         recently added interfaces.
78983         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78985         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78986         about macro parameter expansion.
78988         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78989         __NO_MATH_INLINES is defined.  Cleanups.
78991         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78992         and __floorf is target has SSE4.1.
78993         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78994         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78995         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78996         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78998         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78999         name.
79000         (floorf): Likewise.
79002         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79004 2011-10-17  Andreas Schwab  <schwab@redhat.com>
79006         * misc/sys/cdefs.h: Fix last change.
79008         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79009         database lookup.
79011 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
79013         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79015         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79016         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79017         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79018         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79019         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79020         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79021         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79022         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79023         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79024         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79025         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79026         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79027         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79028         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79029         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79030         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79031         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79032         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79033         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79034         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79035         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79036         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79038         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79039         ceil, ceilf, floor, floorf.
79041         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79042         Perform IRELATIVE relocations last.
79044         * elf/do-rel.h: Add another parameter nrelative, replacing the
79045         local variable with the same name.  Change name of the function
79046         to end in Rel or Rela (uppercase).
79047         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79048         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
79049         elf_dynamic_do_##reloc function.
79051 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79053         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79054         is sufficient, at least on modern CPUs.
79056         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79058         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79059         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79061         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79062         __expl_finite.
79063         * math/bits/math-finite.h: Add entries for exp.
79064         * math/e_expl.c: Add __*_finite alias.
79065         * sysdeps/i386/fpu/e_exp.S: Likewise.
79066         * sysdeps/i386/fpu/e_expf.S: Likewise.
79067         * sysdeps/i386/fpu/e_expl.c: Likewise.
79068         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79069         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79070         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79072         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79073         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79074         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79076         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79077         is sufficient, at least on modern CPUs.
79079         * ctype/ctype-info.c (__ctype_init): Define.
79080         * include/ctype.h (__ctype_init): Declare.
79081         (__ctype_b_loc): The variable is always initialized.
79082         (__ctype_toupper_loc): Likewise.
79083         (__ctype_tolower_loc): Likewise.
79084         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79085         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79087 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
79089         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79091         * configure.in: Also look in $cxxmachine/include for C++ system
79092         headers.
79094 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79096         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79097         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79098         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79099         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
79100         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79101         (USE_AS_WMEMCMP): New macro.
79102         Fixing indents.
79103         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79104         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79105         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79106         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79108         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79109         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79110         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79111         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79112         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79113         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79114         (USE_AS_WMEMCMP): New macro.
79115         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79116         * sysdeps/string/test-memcmp.c: Update.
79117         Fix simple_wmemcmp.
79118         Add new tests.
79119         * wcsmbs/wmemcmp.c: Update.
79120         (WMEMCMP): New macro.
79121         Fix overflow bug.
79123 2011-10-12  Andreas Jaeger  <aj@suse.de>
79125         [BZ #13268]
79126         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79128 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79130         * libio/iofwide.c (do_length): Avoid warning.
79132         * ctype/ctype.h (__isctype_f): Add missing __THROW.
79134 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
79136         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79138         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79139         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79140         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79141         * sysdeps/i386/i686/fpu/e_log.S: New file.
79142         * sysdeps/i386/i686/fpu/e_logf.S: New file.
79143         * sysdeps/i386/i686/fpu/e_logl.S: New file.
79145         * ctype/ctype.h: Add support for inlined isXXX functions when
79146         compiling C++ code.
79148 2011-10-14  Andreas Schwab  <schwab@redhat.com>
79150         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79152         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79154 2011-10-13  Roland McGrath  <roland@hack.frob.com>
79156         [BZ #13291]
79157         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79159 2011-10-13  Andreas Schwab  <schwab@redhat.com>
79161         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79162         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79163         feraiseexcept.
79165         * sysdeps/x86_64/memrchr.S: Check for zero size.
79167         * string/stratcliff.c: Add memrchr tests.
79169 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79172         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79173         rawmemchr-sse2 rawmemchr-sse2-bsf.
79174         * sysdeps/i386/i686/multiarch/memchr.S: New file.
79175         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79176         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79177         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79178         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79179         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79180         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79181         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79182         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79183         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79184         * string/memrchr.c (MEMRCHR): New macro.
79186 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
79188         Add integration with gcc's -ffinite-math-only and optimize wrapper
79189         functions in libm.
79190         * Versions.def: Define GLIBC_2.15 version for libm.
79191         * math/Makefile (headers): Add bits/math-finite.h.
79192         * math/bits/math-finite.h: New file.
79193         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79194         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79195         * math/e_acoshl.c: Add __*_finite alias.
79196         * math/e_acosl.c: Likewise.
79197         * math/e_asinl.c: Likewise.
79198         * math/e_atan2l.c: Likewise.
79199         * math/e_atanhl.c: Likewise.
79200         * math/e_coshl.c: Likewise.
79201         * math/e_exp10.c: Likewise.
79202         * math/e_exp10f.c: Likewise.
79203         * math/e_exp10l.c: Likewise.
79204         * math/e_exp2l.c: Likewise.
79205         * math/e_fmodl.c: Likewise.
79206         * math/e_gammal_r.c: Likewise.
79207         * math/e_hypotl.c: Likewise.
79208         * math/e_j0l.c: Likewise.
79209         * math/e_j1l.c: Likewise.
79210         * math/e_jnl.c: Likewise.
79211         * math/e_lgammal_r.c: Likewise.
79212         * math/e_log10l.c: Likewise.
79213         * math/e_log2l.c: Likewise.
79214         * math/e_logl.c: Likewise.
79215         * math/e_powl.c: Likewise.
79216         * math/e_sinhl.c: Likewise.
79217         * math/e_sqrtl.c: Likewise.
79218         * math/e_scalb.c: Completely rewritten and optimized.
79219         * math/e_scalbf.c: Likewise.
79220         * math/e_scalbl.c: Likewise.
79221         * math/w_acos.c: Likewise.
79222         * math/w_acosf.c: Likewise.
79223         * math/w_acosl.c: Likewise.
79224         * math/w_acosh.c: Likewise.
79225         * math/w_acoshf.c: Likewise.
79226         * math/w_acoshl.c: Likewise.
79227         * math/w_asin.c: Likewise.
79228         * math/w_asinf.c: Likewise.
79229         * math/w_asinl.c: Likewise.
79230         * math/w_atan2.c: Likewise.
79231         * math/w_atan2f.c: Likewise.
79232         * math/w_atan2l.c: Likewise.
79233         * math/w_atanh.c: Likewise.
79234         * math/w_atanhf.c: Likewise.
79235         * math/w_atanhl.c: Likewise.
79236         * math/w_exp10.c: Likewise.
79237         * math/w_exp10f.c: Likewise.
79238         * math/w_exp10l.c: Likewise.
79239         * math/w_fmod.c: Likewise.
79240         * math/w_fmodf.c: Likewise.
79241         * math/w_fmodl.c: Likewise.
79242         * math/w_j0.c: Likewise.
79243         * math/w_j0f.c: Likewise.
79244         * math/w_j0l.c: Likewise.
79245         * math/w_j1.c: Likewise.
79246         * math/w_j1f.c: Likewise.
79247         * math/w_j1l.c: Likewise.
79248         * math/w_jn.c: Likewise.
79249         * math/w_jnf.c: Likewise.
79250         * math/w_log.c: Likewise.
79251         * math/w_logf.c: Likewise.
79252         * math/w_logl.c: Likewise.
79253         * math/w_log10.c: Likewise.
79254         * math/w_log10f.c: Likewise.
79255         * math/w_log10l.c: Likewise.
79256         * math/w_log2.c: Likewise.
79257         * math/w_log2f.c: Likewise.
79258         * math/w_log2l.c: Likewise.
79259         * math/w_pow.c: Likewise.
79260         * math/w_powf.c: Likewise.
79261         * math/w_powl.c: Likewise.
79262         * math/w_remainder.c: Likewise.
79263         * math/w_remainderf.c: Likewise.
79264         * math/w_remainderl.c: Likewise.
79265         * math/w_scalb.c: Likewise.
79266         * math/w_scalbf.c: Likewise.
79267         * math/w_scalbl.c: Likewise.
79268         * math/w_sqrt.c: Likewise.
79269         * math/w_sqrtf.c: Likewise.
79270         * math/w_sqrtl.c: Likewise.
79271         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
79272         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
79273         used.
79274         * math/math_private.h: Declare __kernel_standard_f.
79275         * math/w_cosh.c: Remove cruft and optimize a bit.
79276         * math/w_coshf.c: Likewise.
79277         * math/w_coshl.c: Likewise.
79278         * math/w_exp2.c: Likewise.
79279         * math/w_exp2f.c: Likewise.
79280         * math/w_exp2l.c: Likewise.
79281         * math/w_hypot.c: Likewise.
79282         * math/w_hypotf.c: Likewise.
79283         * math/w_hypotl.c: Likewise.
79284         * math/w_lgamma.c: Likewise.
79285         * math/w_lgamma_r.c: Likewise.
79286         * math/w_lgammaf.c: Likewise.
79287         * math/w_lgammaf_r.c: Likewise.
79288         * math/w_lgammal.c: Likewise.
79289         * math/w_lgammal_r.c: Likewise.
79290         * math/w_sinh.c: Likewise.
79291         * math/w_sinhf.c: Likewise.
79292         * math/w_sinhl.c: Likewise.
79293         * math/w_tgamma.c: Likewise.
79294         * math/w_tgammaf.c: Likewise.
79295         * math/w_tgammal.c: Likewise.
79296         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79297         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79298         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
79299         Minor optimizations.  Pretty printing.  Remove cruft.
79300         * sysdeps/i386/fpu/e_acosf.S: Likewise.
79301         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79302         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79303         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79304         * sysdeps/i386/fpu/e_acosl.c: Likewise.
79305         * sysdeps/i386/fpu/e_asin.S: Likewise.
79306         * sysdeps/i386/fpu/e_asinf.S: Likewise.
79307         * sysdeps/i386/fpu/e_atan2.S: Likewise.
79308         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
79309         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
79310         * sysdeps/i386/fpu/e_atanh.S: Likewise.
79311         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79312         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79313         * sysdeps/i386/fpu/e_exp10.S: Likewise.
79314         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
79315         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
79316         * sysdeps/i386/fpu/e_exp2.S: Likewise.
79317         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
79318         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
79319         * sysdeps/i386/fpu/e_fmod.S: Likewise.
79320         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
79321         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
79322         * sysdeps/i386/fpu/e_hypot.S: Likewise.
79323         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
79324         * sysdeps/i386/fpu/e_log.S: Likewise.
79325         * sysdeps/i386/fpu/e_log10.S: Likewise.
79326         * sysdeps/i386/fpu/e_log10f.S: Likewise.
79327         * sysdeps/i386/fpu/e_log10l.S: Likewise.
79328         * sysdeps/i386/fpu/e_log2.S: Likewise.
79329         * sysdeps/i386/fpu/e_log2f.S: Likewise.
79330         * sysdeps/i386/fpu/e_log2l.S: Likewise.
79331         * sysdeps/i386/fpu/e_logf.S: Likewise.
79332         * sysdeps/i386/fpu/e_logl.S: Likewise.
79333         * sysdeps/i386/fpu/e_pow.S: Likewise.
79334         * sysdeps/i386/fpu/e_powf.S: Likewise.
79335         * sysdeps/i386/fpu/e_powl.S: Likewise.
79336         * sysdeps/i386/fpu/e_remainder.S: Likewise.
79337         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
79338         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
79339         * sysdeps/i386/fpu/e_scalb.S: Likewise.
79340         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79341         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79342         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
79343         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
79344         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
79345         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79346         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79348         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79349         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79350         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79351         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
79352         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79353         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79354         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79355         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79356         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79358         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79359         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79360         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79361         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79362         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79363         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79364         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79365         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79366         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79367         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79368         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79369         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79370         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79371         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79372         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79373         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
79374         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79375         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79376         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79377         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79378         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79379         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79380         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79381         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79382         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79383         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79384         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79385         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79386         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79387         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79388         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79389         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79390         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79391         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79392         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79393         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79394         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
79395         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79396         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79397         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79398         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79399         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79400         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79401         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79402         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79403         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79404         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79405         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79406         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79407         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79408         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79409         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79410         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79411         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79412         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79413         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
79414         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79415         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79416         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79417         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79418         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79419         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79420         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79421         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
79422         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79423         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79424         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79425         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79426         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79427         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
79428         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79429         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79430         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79431         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79432         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79433         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79434         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79435         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79436         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79437         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79438         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
79439         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79440         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79441         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79442         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
79443         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
79444         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
79445         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
79446         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
79447         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
79448         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
79449         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79450         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79451         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79452         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79453         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
79454         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79455         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
79456         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
79457         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
79458         (__isnanf): Likewise.
79459         (__isinf_ns): Likewise.
79460         (__isinf_nsf): Likewise.
79461         (__finite): Likewise.
79462         (__finitef): Likewise.
79463         (__ieee754_sqrt): Define as macro.
79464         (__ieee754_sqrtf): Define as macro.
79465         (__ieee754_sqrtl): Define as macro.
79466         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
79467         inlined copy.
79468         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
79469         __FINITE_MATH_ONLY__ consistent.
79470         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
79472 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
79474         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
79475         of rawmemchr.
79477         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
79479 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
79481         * po/ja.po: Update from translation team.
79483 2011-10-08  Roland McGrath  <roland@hack.frob.com>
79485         * locale/programs/locarchive.c (prepare_address_space): New function.
79486         (create_archive, enlarge_archive, open_archive): Use it.
79488         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
79489         inside [SHARED], where it is used.
79491         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
79493         * nss/getent.c (netgroup_keys): Remove unused variable.
79494         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79496 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
79498         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
79499         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
79500         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
79501         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
79502         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
79503         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
79504         * math/Makefile (libm-calls): Add s_isinf_ns.
79505         * math/divtc3.c: Use __isinf_nsl instead of isinf.
79506         * math/multc3.c: Likewise.
79507         * math/s_casin.c: Likewise.
79508         * math/s_casinf.c: Likewise.
79509         * math/s_casinl.c: Likewise.
79510         * math/s_ccos.c: Likewise.
79511         * math/s_ccosf.c: Likewise.
79512         * math/s_ccosl.c: Likewise.
79513         * math/s_ctan.c: Likewise.
79514         * math/s_ctanf.c: Likewise.
79515         * math/s_ctanh.c: Likewise.
79516         * math/s_ctanhf.c: Likewise.
79517         * math/s_ctanhl.c: Likewise.
79518         * math/s_ctanl.c: Likewise.
79519         * math/w_fmod.c: Likewise.
79520         * math/w_fmodf.c: Likewise.
79521         * math/w_fmodl.c: Likewise.
79522         * math/w_remainder.c: Likewise.
79523         * math/w_remainderf.c: Likewise.
79524         * math/w_remainderl.c: Likewise.
79525         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
79526         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
79527         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
79528         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
79529         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
79530         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
79531         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
79532         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
79534         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
79535         of the number.
79536         * stdio-common/printf_fphex.c: Likewise.
79537         * stdio-common/printf_size.c: Likewise.
79539         * math/e_exp10.c: Include math_private.h using <...> not "...".
79540         * math/e_exp10f.c: Likewise.
79541         * math/e_exp10l.c: Likewise.
79542         * math/e_exp2l.c: Likewise.
79543         * math/e_j0l.c: Likewise.
79544         * math/e_j1l.c: Likewise.
79545         * math/e_jnl.c: Likewise.
79546         * math/e_lgammal_r.c: Likewise.
79547         * math/e_rem_pio2l.c: Likewise.
79548         * math/e_scalb.c: Likewise.
79549         * math/e_scalbf.c: Likewise.
79550         * math/e_scalbl.c: Likewise.
79551         * math/k_cosl.c: Likewise.
79552         * math/k_sinl.c: Likewise.
79553         * math/k_tanl.c: Likewise.
79554         * math/s_cacoshf.c: Likewise.
79555         * math/s_catan.c: Likewise.
79556         * math/s_catanf.c: Likewise.
79557         * math/s_catanh.c: Likewise.
79558         * math/s_catanhf.c: Likewise.
79559         * math/s_catanhl.c: Likewise.
79560         * math/s_catanl.c: Likewise.
79561         * math/s_ccosh.c: Likewise.
79562         * math/s_ccoshf.c: Likewise.
79563         * math/s_ccoshl.c: Likewise.
79564         * math/s_cexp.c: Likewise.
79565         * math/s_cexpf.c: Likewise.
79566         * math/s_cexpl.c: Likewise.
79567         * math/s_clog.c: Likewise.
79568         * math/s_clog10.c: Likewise.
79569         * math/s_clog10f.c: Likewise.
79570         * math/s_clog10l.c: Likewise.
79571         * math/s_clogf.c: Likewise.
79572         * math/s_clogl.c: Likewise.
79573         * math/s_csin.c: Likewise.
79574         * math/s_csinf.c: Likewise.
79575         * math/s_csinh.c: Likewise.
79576         * math/s_csinhf.c: Likewise.
79577         * math/s_csinhl.c: Likewise.
79578         * math/s_csinl.c: Likewise.
79579         * math/s_csqrt.c: Likewise.
79580         * math/s_csqrtf.c: Likewise.
79581         * math/s_csqrtl.c: Likewise.
79582         * math/s_ctan.c: Likewise.
79583         * math/s_ctanf.c: Likewise.
79584         * math/s_ctanh.c: Likewise.
79585         * math/s_ctanhf.c: Likewise.
79586         * math/s_ctanhl.c: Likewise.
79587         * math/s_ctanl.c: Likewise.
79588         * math/s_ldexp.c: Likewise.
79589         * math/s_ldexpf.c: Likewise.
79590         * math/s_ldexpl.c: Likewise.
79591         * math/s_significand.c: Likewise.
79592         * math/s_significandf.c: Likewise.
79593         * math/s_significandl.c: Likewise.
79594         * math/w_acos.c: Likewise.
79595         * math/w_acosf.c: Likewise.
79596         * math/w_acosh.c: Likewise.
79597         * math/w_acoshf.c: Likewise.
79598         * math/w_acoshl.c: Likewise.
79599         * math/w_acosl.c: Likewise.
79600         * math/w_asin.c: Likewise.
79601         * math/w_asinf.c: Likewise.
79602         * math/w_asinl.c: Likewise.
79603         * math/w_atan2.c: Likewise.
79604         * math/w_atan2f.c: Likewise.
79605         * math/w_atan2l.c: Likewise.
79606         * math/w_atanh.c: Likewise.
79607         * math/w_atanhf.c: Likewise.
79608         * math/w_atanhl.c: Likewise.
79609         * math/w_cosh.c: Likewise.
79610         * math/w_coshf.c: Likewise.
79611         * math/w_coshl.c: Likewise.
79612         * math/w_dremf.c: Likewise.
79613         * math/w_exp10.c: Likewise.
79614         * math/w_exp10f.c: Likewise.
79615         * math/w_exp10l.c: Likewise.
79616         * math/w_exp2.c: Likewise.
79617         * math/w_exp2f.c: Likewise.
79618         * math/w_fmod.c: Likewise.
79619         * math/w_fmodf.c: Likewise.
79620         * math/w_fmodl.c: Likewise.
79621         * math/w_hypot.c: Likewise.
79622         * math/w_hypotf.c: Likewise.
79623         * math/w_hypotl.c: Likewise.
79624         * math/w_j0.c: Likewise.
79625         * math/w_j0f.c: Likewise.
79626         * math/w_j0l.c: Likewise.
79627         * math/w_j1.c: Likewise.
79628         * math/w_j1f.c: Likewise.
79629         * math/w_j1l.c: Likewise.
79630         * math/w_jn.c: Likewise.
79631         * math/w_jnf.c: Likewise.
79632         * math/w_jnl.c: Likewise.
79633         * math/w_lgamma.c: Likewise.
79634         * math/w_lgamma_r.c: Likewise.
79635         * math/w_lgammaf.c: Likewise.
79636         * math/w_lgammaf_r.c: Likewise.
79637         * math/w_lgammal.c: Likewise.
79638         * math/w_lgammal_r.c: Likewise.
79639         * math/w_log.c: Likewise.
79640         * math/w_log10.c: Likewise.
79641         * math/w_log10f.c: Likewise.
79642         * math/w_log10l.c: Likewise.
79643         * math/w_log2.c: Likewise.
79644         * math/w_log2f.c: Likewise.
79645         * math/w_log2l.c: Likewise.
79646         * math/w_logf.c: Likewise.
79647         * math/w_logl.c: Likewise.
79648         * math/w_pow.c: Likewise.
79649         * math/w_powf.c: Likewise.
79650         * math/w_powl.c: Likewise.
79651         * math/w_remainder.c: Likewise.
79652         * math/w_remainderf.c: Likewise.
79653         * math/w_remainderl.c: Likewise.
79654         * math/w_scalb.c: Likewise.
79655         * math/w_scalbf.c: Likewise.
79656         * math/w_scalbl.c: Likewise.
79657         * math/w_sinh.c: Likewise.
79658         * math/w_sinhf.c: Likewise.
79659         * math/w_sinhl.c: Likewise.
79660         * math/w_sqrt.c: Likewise.
79661         * math/w_sqrtf.c: Likewise.
79662         * math/w_sqrtl.c: Likewise.
79663         * math/w_tgamma.c: Likewise.
79664         * math/w_tgammaf.c: Likewise.
79665         * math/w_tgammal.c: Likewise.
79667         * po/ja.po: Update from translation team.
79669 2011-09-29  Andreas Jaeger  <aj@suse.de>
79671         [BZ #13179]
79672         * sunrpc/netname.c (netname2host): Fix logic.
79674         [BZ #6779]
79675         [BZ #6783]
79676         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
79677         correctly.
79678         * math/w_remainder.c (__remainder): Likewise.
79679         * math/w_remainderf.c (__remainderf): Likewise.
79680         * math/libm-test.inc (remainder_test): Add test cases.
79682 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79684         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
79685         sdiv_qrnnd.
79687 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
79689         * string/test-memcmp.c: Avoid unncessary #defines.
79690         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79692 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79694         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
79695         Use new sse2 version for core i3 - i7 as it's faster
79696         than sse42 version.
79697         (bit_Prefer_PMINUB_for_stringop): New.
79698         * sysdeps/x86_64/rawmemchr.S: Update.
79699         Replace with faster SSE2 version.
79700         * sysdeps/x86_64/memrchr.S: New file.
79701         * sysdeps/x86_64/memchr.S: Update.
79702         Replace with faster SSE2 version.
79704 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
79706         * elf/dl-load.c (lose): Add cast to avoid warning.
79708 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
79710         * po/ca.po: Update from translation team.
79712         * inet/getnetgrent_r.c: Hook up nscd.
79713         * nscd/Makefile (routines): Add nscd_netgroup.
79714         (nscd-modules): Add netgroupcache.
79715         (CFLAGS-netgroupcache.c): Define.
79716         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
79717         (cache_search): Add const to second parameter.
79718         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
79719         INNETGR.
79720         (dbs): Add netgrdb entry.
79721         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
79722         (verify_persistent_db): Handle netgrdb.
79723         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
79724         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
79725         GETFDNETGR.
79726         (netgroup_response_header): Define.
79727         (innetgroup_response_header): Define.
79728         (datahead): Add netgroup_response_header and innetgroup_response_header
79729         elements.
79730         * nscd/nscd.conf: Add entries for netgroup cache.
79731         * nscd/nscd.h (dbtype): Add netgrdb.
79732         (_PATH_NSCD_NETGROUP_DB): Define.
79733         (netgroup_iov_disabled): Declare.
79734         (xmalloc, xcalloc, xrealloc): Move declarations here.
79735         (cache_search): Adjust prototype.
79736         Add netgroup-related prototypes.
79737         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
79738         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
79739         (__nscd_innetgr): Declare.
79740         * nscd/selinux.c (perms): Use access_vector_t as element type and
79741         add netgroup-related initializers.
79742         * nscd/netgroupcache.c: New file.
79743         * nscd/nscd_netgroup.c: New file.
79744         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
79745         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
79746         For four parameters use innetgr.
79747         * nss/nss_files/files-init.c: Add definition and callback for netgr.
79748         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
79749         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
79750         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
79752         * nscd/connections.c (register_traced_file): Don't register file
79753         for disabled databases.
79755 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
79757         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
79759         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
79760         from tree and freeing node.
79762 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
79764         * nss/nsswitch.c (__nss_database_lookup): Handle
79765         nss_parse_service_list out of memory case.
79767 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
79769         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
79770         out of memory case.
79772 2011-10-04  Andreas Schwab  <schwab@redhat.com>
79774         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
79775         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
79776         pass it down.
79777         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
79778         elf_machine_rela, elf_machine_lazy_rel.
79779         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
79780         (ELF_DYNAMIC_DO_REL): Likewise.
79781         (ELF_DYNAMIC_DO_RELA): Likewise.
79782         (ELF_DYNAMIC_RELOCATE): Likewise.
79783         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
79784         to ELF_DYNAMIC_DO_REL.
79785         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
79786         (dl_main): In trace mode always set __RTLD_NOIFUNC.
79787         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
79788         elf_machine_rela.
79789         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
79790         skip_ifunc, don't call ifunc function if non-zero.
79791         (elf_machine_rela): Likewise.
79792         (elf_machine_lazy_rel): Likewise.
79793         (elf_machine_lazy_rela): Likewise.
79794         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
79795         (elf_machine_lazy_rel): Likewise.
79796         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
79797         Likewise.
79798         (elf_machine_lazy_rel): Likewise.
79799         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79800         Likewise.
79801         (elf_machine_lazy_rel): Likewise.
79802         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
79803         (elf_machine_lazy_rel): Likewise.
79804         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
79805         (elf_machine_lazy_rel): Likewise.
79806         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
79807         (elf_machine_lazy_rel): Likewise.
79808         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
79809         (elf_machine_lazy_rel): Likewise.
79810         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
79811         (elf_machine_lazy_rel): Likewise.
79812         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
79813         (elf_machine_lazy_rel): Likewise.
79815 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
79817         * nss/nss_files/files-init.c (_nss_files_init): Use static
79818         initialization for all the *_traced_file variables.
79820 2011-09-28  Andreas Schwab  <schwab@redhat.com>
79822         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79824 2011-09-27  Roland McGrath  <roland@hack.frob.com>
79826         [BZ #13226]
79827         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
79829 2011-09-27  Andreas Schwab  <schwab@redhat.com>
79831         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79832         Reread the line before reparsing it.
79834 2011-09-26  Andreas Schwab  <schwab@redhat.com>
79836         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
79838 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
79839             Maxim Kuvyrkov  <maxim@codesourcery.com>
79840             Joseph Myers  <joseph@codesourcery.com>
79842         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
79843         if needed for __stack_chk_guard.
79845 2011-09-19  Roland McGrath  <roland@hack.frob.com>
79847         * sysdeps/posix/spawni.c (script_execute): Always define it.
79848         It will be optimized away if unused.
79849         (maybe_script_execute): New function.
79850         (__spawni): Call it.
79852         * Makerules: Don't include tls.make.
79853         (config-tls): Always set to thread.
79854         * tls.make.c: File removed.
79856 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
79858         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
79859         * config.make.in (CPPFLAGS-config): New substituted variable.
79861 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79863         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
79865         [BZ #13192]
79866         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
79867         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
79869 2011-09-15  Roland McGrath  <roland@hack.frob.com>
79871         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
79872         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
79873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79874         (CALL_FAIL): Likewise.
79875         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
79876         (CALL_FAIL): Macro removed.
79877         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
79879 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79881         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
79882         for __FINITE_MATH_ONLY__ == 1.
79884 2011-09-15  Andreas Schwab  <schwab@redhat.com>
79886         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
79887         __ieee754_sqrt instead of sqrt.
79888         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
79889         __ieee754_sqrtf instead of sqrtf.
79890         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
79891         __floorf instead of floorf.
79892         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
79893         __floorf, __truncf instead of floorf, truncf.
79895 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
79897         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
79899         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
79900         __extern_always_inline.
79901         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
79902         32-bit.
79904 2011-09-14  Andreas Schwab  <schwab@redhat.com>
79906         * elf/rtld.c (dl_main): Also relocate in dependency order when
79907         doing symbol dependency testing.
79909 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
79911         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79912         Always define `refsym'.
79914 2011-09-13  Andreas Schwab  <schwab@redhat.com>
79916         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
79917         (__FD_ELT): Renamed from __FDELT.
79918         * misc/bits/select2.h (__FD_ELT): Likewise.
79919         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
79920         __FD_MASK instead of __FDELT, __FDMASK.
79921         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79922         Likewise.
79923         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79924         Likewise.
79926         * elf/Makefile (gen-ldd): Fix pattern.
79928         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
79929         (init_tls): Likewise.
79931 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
79933         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
79935 2011-09-12  Andreas Schwab  <schwab@redhat.com>
79937         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
79938         `struct cmsghdr *' instead of `void *'.
79939         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
79940         Likewise.
79942 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
79944         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79945         if non-absolute.
79946         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79947         ldd_rewrite_script.
79949 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79951         * configure.in: Remove --with-tls option.
79952         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79953         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79954         out in case it is missing.
79955         * sysdeps/ia64/elf/configure.in: Likewise.
79956         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79957         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79958         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79959         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79960         * sysdeps/sh/elf/configure.in: Likewise.
79961         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79962         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79963         * sysdeps/x86_64/elf/configure.in: Likewise.
79964         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79965         * sysdeps/mach/hurd/tls.h: Likewise.
79967         [BZ #13067]
79968         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79970         [BZ #13090]
79971         * configure.in: Fix use of AC_INIT.
79973         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79975 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79977         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79978         __set_errno.
79979         * malloc/hooks.c: Likewise.
79981         [BZ #11929]
79982         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79983         variables statically.
79984         (narenas): Initialize.
79985         (list_lock): Initialize.
79986         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79987         initializtion of main_arena and list_lock.  Small cleanups.
79988         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79989         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79990         Add initializers to main_arena and mp_.
79991         (malloc_state): Remove pagesize member.  Change all users to use
79992         GLRO(dl_pagesize).
79994         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79995         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79996         is always initialized.
79998         * malloc/malloc.c: Removed unused configurations and dead code.
79999         * malloc/arena.c: Likewise.
80000         * malloc/hooks.c: Likewise.
80001         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80003         * include/tls.h: Removed.  USE___THREAD must always be defined.
80004         * bits/libc-tsd.h: Don't handle !USE___THREAD.
80005         * elf/dl-libc.c: Likewise.
80006         * elf/dl-tsd.c: Likewise.
80007         * include/errno.h: Likewise.
80008         * include/netdb.h: Likewise.
80009         * include/resolv.h: Likewise.
80010         * inet/herrno-loc.c: Likewise.
80011         * inet/herrno.c: Likewise.
80012         * malloc/arena.c: Likewise.
80013         * malloc/hooks.c: Likewise.
80014         * malloc/malloc.c: Likewise.
80015         * resolv/res-state.c: Likewise.
80016         * resolv/res_libc.c: Likewise.
80017         * sysdeps/i386/dl-machine.h: Likewise.
80018         * sysdeps/ia64/dl-machine.h: Likewise.
80019         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80020         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80021         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80022         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80023         * sysdeps/sh/dl-machine.h: Likewise.
80024         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80025         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80026         * sysdeps/unix/i386/sysdep.S: Likewise.
80027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80028         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80029         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80030         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80032         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80033         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80037         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80038         * sysdeps/x86_64/dl-machine.h: Likewise.
80039         * tls.make.c: Likewise.
80041         * configure.in: Remove --with-__thread option.  Make tests for
80042         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80043         tls_model attribute fail if no support is available.  Remove
80044         USE_IN_LIBIO.
80045         * Makeconfig: Adjust for dropped configure option.  All features are
80046         now mandatory.
80047         * Makerules: Likewise.
80048         * Versions.def: Likewise.
80049         * argp/argp-fmtstream.c: Likewise.
80050         * argp/argp-fmtstream.h: Likewise.
80051         * argp/argp-help.c: Likewise.
80052         * assert/assert.c: Likewise.
80053         * config.h.in: Likewise.
80054         * config.make.in: Likewise.
80055         * configure: Likewise.
80056         * configure.in: Likewise.
80057         * csu/Versions: Likewise.
80058         * csu/init.c: Likewise.
80059         * elf/tst-audit2.c: Likewise.
80060         * elf/tst-tls10.c: Likewise.
80061         * elf/tst-tls10.h: Likewise.
80062         * elf/tst-tls11.c: Likewise.
80063         * elf/tst-tls12.c: Likewise.
80064         * elf/tst-tls14.c: Likewise.
80065         * elf/tst-tlsmod11.c: Likewise.
80066         * elf/tst-tlsmod12.c: Likewise.
80067         * elf/tst-tlsmod13.c: Likewise.
80068         * elf/tst-tlsmod13a.c: Likewise.
80069         * elf/tst-tlsmod14a.c: Likewise.
80070         * elf/tst-tlsmod15b.c: Likewise.
80071         * elf/tst-tlsmod16a.c: Likewise.
80072         * elf/tst-tlsmod16b.c: Likewise.
80073         * elf/tst-tlsmod7.c: Likewise.
80074         * elf/tst-tlsmod8.c: Likewise.
80075         * elf/tst-tlsmod9.c: Likewise.
80076         * gmon/gmon.c: Likewise.
80077         * grp/fgetgrent_r.c: Likewise.
80078         * grp/putgrent.c: Likewise.
80079         * hurd/fopenport.c: Likewise.
80080         * include/libc-symbols.h: Likewise.
80081         * include/tls.h: Likewise.
80082         * intl/gettextP.h: Likewise.
80083         * intl/loadinfo.h: Likewise.
80084         * locale/global-locale.c: Likewise.
80085         * locale/localeinfo.h: Likewise.
80086         * mach/devstream.c: Likewise.
80087         * malloc/arena.c: Likewise.
80088         * malloc/set-freeres.c: Likewise.
80089         * misc/err.c: Likewise.
80090         * misc/getttyent.c: Likewise.
80091         * misc/mntent_r.c: Likewise.
80092         * posix/getopt.c: Likewise.
80093         * posix/wordexp.c: Likewise.
80094         * pwd/fgetpwent_r.c: Likewise.
80095         * resolv/Versions: Likewise.
80096         * resolv/res_hconf.c: Likewise.
80097         * shadow/fgetspent_r.c: Likewise.
80098         * shadow/putspent.c: Likewise.
80099         * stdio-common/printf_fphex.c: Likewise.
80100         * stdio-common/tmpfile.c: Likewise.
80101         * stdlib/abort.c: Likewise.
80102         * stdlib/fmtmsg.c: Likewise.
80103         * sunrpc/auth_unix.c: Likewise.
80104         * sunrpc/clnt_perr.c: Likewise.
80105         * sunrpc/clnt_tcp.c: Likewise.
80106         * sunrpc/clnt_udp.c: Likewise.
80107         * sunrpc/clnt_unix.c: Likewise.
80108         * sunrpc/openchild.c: Likewise.
80109         * sunrpc/svc_simple.c: Likewise.
80110         * sunrpc/svc_tcp.c: Likewise.
80111         * sunrpc/svc_udp.c: Likewise.
80112         * sunrpc/svc_unix.c: Likewise.
80113         * sunrpc/xdr.c: Likewise.
80114         * sunrpc/xdr_array.c: Likewise.
80115         * sunrpc/xdr_rec.c: Likewise.
80116         * sunrpc/xdr_ref.c: Likewise.
80117         * sunrpc/xdr_stdio.c: Likewise.
80119 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80121         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80123 2011-07-03  Andreas Jaeger  <aj@suse.de>
80125         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80126         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80127         regenerate with gen-libm-tests.pl.
80129 2010-05-12  Petr Baudis  <pasky@suse.cz>
80131         [BZ #11589]
80132         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80133         around j0() zero points by switching to j1().
80134         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80135         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80137         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80139 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80141         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80142         instead of 0.
80143         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80144         instead of 0.
80145         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80146         Patch in part by Pavel Roskin <proski@gnu.org>.
80148         [BZ #13138]
80149         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80150         realloc.
80151         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
80152         Free memory block if necessary.
80154         [BZ #12847]
80155         * libio/genops.c (INTDEF): For string streams the _lock pointer can
80156         be NULL.  Don't lock in this case.
80158 2011-09-09  Roland McGrath  <roland@hack.frob.com>
80160         * elf/elf.h (ELFOSABI_GNU): New macro.
80161         (ELFOSABI_LINUX): Define to that.
80163 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
80165         * string/strncat.c (strncat): Undef the symbol in case it has been
80166         defined in bits/string.h.
80168 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80170         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80172         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80173         link map.
80175 2011-08-17  Andreas Jaeger  <aj@suse.de>
80177         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80179 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
80180             Ian Lance Taylor  <iant@google.com>
80182         * math/libm-test.inc (lround_test): New testcase.
80183         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80185 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
80187         * Makefile: Remove support for automatic cvs check-ins.
80188         * Makerules: Likewise.
80189         * config.make.in: Likewise.
80190         * configure.in: Likewise.
80191         * intl/Makefile: Likewise.
80192         * locale/Makefile: Likewise.
80193         * po/Makefile: Likewise.
80194         * posix/Makefile: Likewise.
80195         * sysdeps/gnu/Makefile: Likewise.
80196         * sysdeps/mach/hurd/Makefile: Likewise.
80197         * sysdeps/sparc/sparc32/Makefile: Likewise.
80199         [BZ #13118]
80200         * posix/Makefile (bug-regex32-ENV): Define.
80201         Patch by John Stanley <jpsinthemix@verizon.net>.
80203         * misc/Makefile (headers): Add bits/select2.h.
80204         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80205         * misc/bits/select2.h: New file.
80206         * include/bits/select2.h: New file.
80207         * debug/Makefile (routines): Add fdelt_chk.
80208         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80209         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80210         FD_ISSET.
80211         * debug/fdelt_chk.c: New file.
80213         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
80214         * wcsmbs/test-wmemcmp.c: Likewise.
80215         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80216         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80218 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80220         * string/Makefile (strop-tests): Add memcmp.
80221         * string/test-wmemcmp.c: New file.
80222         * string/test-memcmp.c: Add wmemcmp support.
80224 2011-09-08  Roland McGrath  <roland@hack.frob.com>
80226         [BZ #13153]
80227         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
80228         2011-07-19 change.
80230         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
80231         garbage value in a __mach_port_mod_refs call in the cases of the
80232         task-self and thread-self ports.
80234 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80236         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
80238 2011-09-08  Andreas Schwab  <schwab@redhat.com>
80240         * elf/dl-load.c (lose): Check for non-null L.
80242 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
80244         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
80246         * elf/dl-libc.c (dlerror_run): Pass back error code from
80247         dl_catch_error.
80249         [BZ #13123]
80250         * elf/dl-load.c (lose): Free l_origin if it is valid.
80252         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
80253         names.
80254         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
80255         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80256         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80257         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80258         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
80259         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
80261 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80263         * sysdeps/powerpc/fpu/e_hypot.c: New file.
80264         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
80265         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
80266         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
80267         * sysdeps/powerpc/fpu/k_cosf.c: New file.
80268         * sysdeps/powerpc/fpu/k_sinf.c: New file.
80269         * sysdeps/powerpc/fpu/s_cosf.c: New file.
80270         * sysdeps/powerpc/fpu/s_sinf.c: New file.
80271         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
80272         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
80274 2011-08-15  Alan Modra  <amodra@gmail.com>
80276         [BZ #13092]
80277         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
80278         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
80279         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
80280         ppc_mcount to static-only-routines.
80281         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
80282         __mcount_internal.
80283         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
80284         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
80286 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
80288         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
80289         for finite and infinity parameters.
80291 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80293         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
80294         and add nop instructions for throughput optimization.
80295         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80297 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
80299         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
80300         aligned copy for power7 with vector-scalar instructions.
80301         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
80303 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
80305         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
80306         AVX check.
80308 2011-09-07  Andreas Schwab  <schwab@redhat.com>
80310         [BZ #13144]
80311         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
80312         last change.
80314 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
80316         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80317         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
80318         syscall wrapper around clock_gettime in __vdso_clock_gettime.
80319         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
80320         clock_gettime.
80322 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
80324         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
80325         Forgot to demangle the pointer.
80327         * sysdeps/i386/sysdep.h: Define atom_text_section.
80328         * sysdeps/x86_64/sysdep.h: Likewise.
80329         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
80330         section with atom_text_section.
80331         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80332         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80333         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
80334         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80335         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
80337         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
80338         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
80339         already be defined.  Change to take two parameters and don't assign
80340         result to variable.  Adjust all users.
80341         Define INTERNAL_GETTIME if not already defined.
80342         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
80343         call.
80344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
80345         HAVE_CLOCK_GETTIME_VSYSCALL.
80346         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
80348         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
80349         gettimeofday vsyscall, just use time.
80351 2011-09-06  Andreas Schwab  <schwab@redhat.com>
80353         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
80354         <errno.h>.
80356 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
80358         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
80359         syscall on x86-64.
80360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
80361         syscall.
80362         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
80363         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
80364         syscall if possible.
80366 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
80368         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
80369         e_ident.  Don't pass to find_mapsXX.
80370         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
80372 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80375         strchr-sse2-no-bsf strrchr-sse2-no-bsf
80376         * sysdeps/x86_64/multiarch/strchr.S: Update.
80377         Check bit_slow_BSF bit.
80378         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
80379         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
80380         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
80382 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
80384         [BZ #13134]
80385         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
80386         before glibc 2.15.
80387         (tryshell): Define.
80388         (__spawni): Change last parameter to be flag.  Test
80389         SPAWN_XFLAGS_USE_PATH flag to use path or not.
80390         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
80391         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
80392         * posix/spawni.c: Likewise.
80393         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
80394         * posix/spawnp.c: Likewise.  Change normal version to use
80395         SPAWN_XFLAGS_USE_PATH.
80396         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
80397         SPAWN_XFLAGS_TRY_SHELL.
80399         [BZ #13150]
80400         * posix/glob.h: Remove gcc 1.x support.
80402         [BZ #13068]
80403         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
80405 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80407         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80408         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
80409         strrchr-sse2-bsf
80410         * sysdeps/i386/i686/multiarch/strchr.S: New file.
80411         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
80412         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
80413         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
80414         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
80415         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
80417 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80419         * sysdeps/x86_64/wcscmp.S: New file.
80421         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
80422         wcscmp-c wcscmp-sse2
80423         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
80424         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
80425         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
80426         * wcsmbs/wcscmp.c: Allow renaming.
80428 2011-09-05  David S. Miller  <davem@davemloft.net>
80430         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
80431         stack slot, rather than the struct return pointer slot.
80432         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
80433         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
80434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
80435         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
80437 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
80439         * po/ja.po: Update from translation team.
80441         [BZ #13144]
80442         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
80443         kernel in 64-bit binaries.
80445 2011-09-01  David S. Miller  <davem@davemloft.net>
80447         * elf/elf.h (HWCAP_SPARC_*): Move to..
80448         * sysdeps/sparc/sysdep.h: this new file and add new values.
80449         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
80450         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
80451         _DL_HWCAP_COUNT to 24.
80452         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
80453         entries.
80454         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
80455         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
80456         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
80457         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
80458         instead of magic constants.
80459         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80461 2011-08-31  David S. Miller  <davem@davemloft.net>
80463         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
80464         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
80465         Reimplement to do errno handling inline.
80466         (SYSCALL_ERROR_HANDLER): New macro.
80467         (__SYSCALL_STRING): Do not do errno handling in asm.
80468         (__CLONE_SYSCALL_STRING): Delete.
80469         (__INTERNAL_SYSCALL_STRING): Delete.
80470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
80471         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
80472         (PSEUDO): Reimplement to do errno handling inline.
80473         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
80474         (SYSCALL_ERROR_HANDLER): New macro.
80475         (__SYSCALL_STRING): Do not do errno handling in asm.
80476         (__CLONE_SYSCALL_STRING): Delete.
80477         (__INTERNAL_SYSCALL_STRING): Delete.
80478         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
80479         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
80480         i386.
80481         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
80482         (inline_syscall*): Add 'err' argument.
80483         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
80484         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
80485         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
80486         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
80488         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
80489         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80491 2011-08-30  Andreas Schwab  <schwab@redhat.com>
80493         * elf/rtld.c (dl_main): Relocate objects in dependency order.
80495 2011-08-29  Jiri Olsa <jolsa@redhat.com>
80497         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
80498         directive.
80500 2011-08-24  David S. Miller  <davem@davemloft.net>
80502         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
80504 2011-08-24  Andreas Schwab  <schwab@redhat.com>
80506         * elf/Makefile: Add rules to build and run unload8 test.
80507         * elf/unload8.c: New file.
80508         * elf/unload8mod1.c: New file.
80509         * elf/unload8mod1x.c: New file.
80510         * elf/unload8mod2.c: New file.
80511         * elf/unload8mod3.c: New file.
80513         * elf/dl-close.c (_dl_close_worker): Reset private search list if
80514         it wasn't used.
80516 2011-08-23  David S. Miller  <davem@davemloft.net>
80518         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
80519         subtract stack bias.
80520         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
80521         %sp not %fp in calculations.
80522         (_JMPBUF_UNWINDS_ADJ): Likewise.
80524         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
80525         (aio_suspend): Call it to force an exception region around the
80526         AIO_MISC_WAIT() invocation.
80528 2011-08-23  Andreas Schwab  <schwab@redhat.com>
80530         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
80531         backslash.
80533 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
80535         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
80536         protection macro.
80537         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
80538         and <dl-machine.h>.
80539         (Elf64_FuncDesc): Remove.
80541 2011-08-22  David S. Miller  <davem@davemloft.net>
80543         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
80544         sigaltstack check, add missing cfi directives.
80545         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
80546         missing cfi directives, and sigaltstack handling.
80548 2011-08-16  Andreas Schwab  <schwab@redhat.com>
80550         [BZ #11724]
80551         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
80552         object is seen twice.
80553         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80555         * elf/Makefile (distribute): Add tst-initorder2.c.
80556         (tests): Add tst-initorder2.
80557         (modules-names): Add tst-initorder2a tst-initorder2b
80558         tst-initorder2c tst-initorder2d.  Add rules to build them.
80559         ($(objpfx)tst-initorder2.out): New rule.
80560         * elf/tst-initorder2.c: New file.
80561         * elf/tst-initorder2.exp: New file.
80563 2011-08-22  Andreas Schwab  <schwab@redhat.com>
80565         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
80567         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
80568         dependencies back to end of function.
80570         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80571         $(elfobjdir)/ld.so.
80573 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
80575         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
80576         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
80577         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
80578         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
80579         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
80580         of __vdso_gettimeofday.
80581         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
80582         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
80583         attribute_hidden.
80584         (_libc_vdso_platform_setup): Remove initialization of
80585         __vdso_gettimeofday and __vdso_time.
80587 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
80589         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
80590         and fgetc_unlocked.
80591         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
80592         getc_unlocked.
80594         * elf/dl-open.c (add_to_global): Report additions to the global scope
80595         for LD_DEBUG=scopes.
80596         (dl_open_worker): Also print scope of newly loaded dependencies.
80597         (_dl_show_scope): Indicate if there is no scope.
80599         [BZ #13114]
80600         * stdio-common/Makefile (tests): Add bug24.
80601         * stdio-common/bug24.c: New file.
80603 2011-08-19  Andreas Jaeger  <aj@suse.de>
80605         [BZ #13114]
80606         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
80607         non-existant file when using close-on-exec mode.
80609 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
80611         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
80612         the very first instruction.
80614         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
80615         the CFI state in the end.
80616         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
80617         inclusion of dl-trampoline.h.
80618         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
80620 2011-08-19  Andreas Schwab  <schwab@redhat.com>
80622         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
80623         expectations for long double.
80625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
80626         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
80628 2011-08-14  David S. Miller  <davem@davemloft.net>
80630         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
80631         artificual limit depends upon the system page size.
80633 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
80635         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
80636         * resolv/Makefile: Define CFLAGS-libresolv.
80638 2011-08-17  Andreas Schwab  <schwab@redhat.com>
80640         * nss/makedb.c (compute_tables): Make variables used in nested
80641         function static.
80643 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
80645         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
80646         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
80647         if buffer was too small.
80649         * elf/pldd.c (main): Attach to all threads in the process.
80650         Rewrite /proc handling to use *at functions.
80652 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
80654         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
80655         specifies first scope to show.
80656         (dl_open_worker): Update callers.  Move printing scope of new
80657         object to before the relocation.
80658         * elf/rtld.c (dl_main): Update _dl_show_scope call.
80659         * sysdeps/generic/ldsodefs.h: Update declaration.
80661         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
80662         string for the scope number.
80664 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
80666         * nscd/servicescache.c (cache_addserv): Make sure written is always
80667         initialized.
80669 2011-08-14  Roland McGrath  <roland@hack.frob.com>
80671         * sysdeps/i386/i486/bits/atomic.h
80672         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
80673         statement expression, so as to suppress "set but not used" warning.
80674         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
80676         * string/strncat.c (STRNCAT): Use prototype definition.
80678         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
80679         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
80680         -Iprograms here.
80681         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
80682         (localedef-modules): Add localedef.
80683         (locale-modules): Add locale.
80685         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
80686         * elf/rtld.c (dl_main): Invert order of assignment in last change,
80687         to avoid a warning.
80689 2011-08-14  David S. Miller  <davem@davemloft.net>
80691         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
80692         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
80694 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
80696         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
80697         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
80698         * elf/rtld.c (dl_main): Set l_name of vDSO.
80699         Call _dl_show_scope when DL_DEBUG_SCOPES.
80700         (process_dl_debug): Recognize scopes flag and also set it for all.
80701         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
80702         Declare _dl_show_scope.
80704         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
80705         (do_dlopen): Pass caller_dlopen to dl_open.
80706         (__libc_dlopen_mode): Initialize caller_dlopen.
80708         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
80709         of libc.  Make tolower call locale-independent.  Optimize a bit by
80710         using isdigit instead of isalnum.
80711         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
80713 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
80715         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
80716         was a dependency or dynamically loaded.
80718 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
80720         * intl/l10nflist.c: Allow architecture-specific pop function.
80721         * sysdeps/x86_64/l10nflist.c: New file.
80723         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
80724         classification.
80726 2011-08-10  Andreas Schwab  <schwab@redhat.com>
80728         * include/dirent.h: Add libc_hidden_proto for scandirat and
80729         scandirat64.  Don't declare __scandirat64.
80730         * dirent/scandirat.c: Add libc_hidden_def.
80731         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
80732         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
80734 2011-08-10  David S. Miller  <davem@davemloft.net>
80736         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
80737         enum.
80738         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80739         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80740         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80742 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
80744         * Versions.def [libc]: Add GLIBC_2.15.
80745         * dirent/Makefile (routines): Add scandirat and scandirat64.
80746         * dirent/Versions [libc]: Export scandirat and scandirat64 for
80747         GLIBC_2.15.
80748         * dirent/dirent.h: Declare scandirat and scandirat64.
80749         * dirent/scandirat.c: New file.
80750         * dirent/scandirat64.c: New file.
80751         * sysdeps/wordsize-64/scandirat.c: New file.
80752         * sysdeps/wordsize-64/scandirat64.c: New file.
80753         * dirent/opendir.c: Define opendirat.
80754         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
80755         using scandirat.
80756         * dirent/scandir64.c: Adjust for scandir.c change.
80757         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
80758         __scandirat64, and __scandir_cancel_handler.
80759         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
80760         additional parameter and use openat instead of open (outside of ld.so).
80761         Add new __opendir as wrapper around __opendirat.
80762         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
80763         here without requiring old scandirat implementation.
80765 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
80767         * dirent/scandir.c (cancel_handler): Renamed to
80768         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
80769         defined.  Adjust users.
80770         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
80771         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
80773 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
80775         * string/test-string.h (IMPL): Use __STRING to expand name and then
80776         stringify it.
80778         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
80779         of cleanups.
80781 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80783         * string/Makefile: Update.
80784         (strop-tests): Append strncat.
80785         * string/test-wcscmp.c: New file.
80786         New comprehensive test for wcscmp.
80787         * string/test-strcmp.c: Update.
80788         (WIDE): New define.
80790 2011-07-22  Andreas Schwab  <schwab@redhat.com>
80792         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
80793         line.
80795 2011-07-26  Andreas Schwab  <schwab@redhat.com>
80797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80798         encoding to ACE if AI_IDN.
80800 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
80802         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
80803         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
80805 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80807         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
80808         Fix overflow bug in strncat.
80809         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
80811         * string/test-strncat.c: Update.
80812         Add new tests for checking overflow bugs.
80814 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80817         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
80818         * sysdeps/i386/i686/multiarch/strcat.S: New file.
80819         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
80820         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
80821         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
80822         * sysdeps/i386/i686/multiarch/strncat.S: New file.
80823         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
80824         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
80826         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
80827         (USE_AS_STRCAT): Define.
80828         Add strcat and strncat support.
80829         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80831 2011-07-25  Andreas Schwab  <schwab@redhat.com>
80833         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
80834         __n bigger than INT_MAX+1.
80835         (__strncmp_g): Likewise.
80837 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
80839         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
80840         * libio/stido.h: Likewise.
80842         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
80843         (AF_NFC): Define.
80844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
80845         (AF_NFC): Define.
80847         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
80848         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80849         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80850         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
80851         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80853         [BZ #13021]
80854         * scripts/test-installation.pl: Don't expect libnss_test1 to be
80855         installed.
80857         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
80858         typo.
80859         (_dl_x86_64_save_sse): Likewise.
80861 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
80863         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
80864         OSXSAVE.
80865         (_dl_x86_64_save_sse): Likewise.
80867         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
80869         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
80871 2011-07-21  Andreas Schwab  <schwab@redhat.com>
80873         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
80874         change.
80875         (_dl_x86_64_save_sse): Use correct AVX check.
80877 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80879         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
80880         bug in strncpy/strncat.
80881         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
80883 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
80885         * string/tester.c (test_strcat): Add tests for different alignments
80886         of source and destination.
80887         (test_strncat): Likewise.
80889 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80891         [BZ #12852]
80892         * posix/glob.c (glob): Check passed in values before using them in
80893         expressions to avoid some overflows.
80894         (glob_in_dir): Likewise.
80896         [BZ #13007]
80897         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
80898         check for AVX enablement so that we don't crash with old kernels and
80899         new hardware.
80900         * elf/tst-audit4.c: Add same checks here.
80901         * elf/tst-audit6.c: Likewise.
80903         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
80905 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
80907         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
80909 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80911         * po/cs.po: Update from translation team.
80912         * po/bg.po: Likewise.
80914 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
80916         * misc/sys/cdefs.h: Add support for const attribute.
80917         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
80918         to gnu_dev_{major,minor,makedev} functions.
80920 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
80922         * intl/dcigettext.c (get_output_charset): Add missing bracket.
80924 2011-07-20  Andreas Schwab  <schwab@redhat.com>
80926         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
80927         strlen results.
80929 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80931         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
80932         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
80933         register in order to avoid conflicts with the soft frame pointer
80934         being held in r11 when necessary.
80935         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
80936         (INTERNAL_VSYSCALL_NCS): Likewise.
80938 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
80940         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
80941         * elf/dl-fini.c (_dl_fini): Adjust caller.
80942         * elf/dl-close.c (_dl_close_worker): Likewise.
80943         * sysdeps/generic/ldsodefs.h: Adjust declaration.
80945 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80947         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80948         "aux_cache->nlibs < 0".
80950         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80951         in the reload-count case.
80953 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80956         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80957         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80958         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80959         * sysdeps/x86_64/multiarch/strcat.S: New file.
80960         * sysdeps/x86_64/multiarch/strncat.S: New file.
80961         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80962         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80963         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80964         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80965         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80966         (USE_AS_STRCAT): Define.
80967         Add strcat and strncat support.
80968         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80969         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80970         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80971         * string/strncat.c: Update.
80972         (USE_AS_STRNCAT): Define.
80973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80974         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80975         and i7.
80976         * sysdeps/x86_64/multiarch/init-arch.h
80977         (bit_Prefer_PMINUB_for_stringop): New.
80978         (index_Prefer_PMINUB_for_stringop): Likewise.
80979         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80980         bit_Prefer_PMINUB_for_stringop.
80982 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80984         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80985         buffer64.
80986         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80987         of casting of buffer.
80988         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80989         buffer32 and buffer64.
80990         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80991         writes instead of casting of buffer.
80992         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80993         buffer32.
80994         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80995         casting of buffer.
80997 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80999         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81001 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81003         * nscd/nscd.c (termination_handler): Don't do anything for a database
81004         if it has not yet been initialized.
81006 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81008         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81010 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81012         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81014 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81016         * po/nl.po: Update from translation team.
81017         * po/sv.po: Likewise.
81019 2011-07-16  Roland McGrath  <roland@hack.frob.com>
81021         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81022         now disallowed by GCC.
81024         * configure.in (use-default-link): Default to yes if a test -shared
81025         link meets our qualifications.
81026         * configure: Regenerated.
81028         * config.make.in (output-format): New variable.
81029         * configure.in: Check for ld --print-output-format support.
81030         * configure: Regenerated.
81031         * Makerules ($(common-objpfx)format.lds)
81032         [$(output-format) != unknown]: Just use $(output-format),
81033         instead of the linker-script munging.
81035 2011-07-14  Roland McGrath  <roland@hack.frob.com>
81037         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81038         of $(common-objpfx)shlib.lds.
81039         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81041         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81042         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81044         * configure.in (-z relro check): Adjust test code to add a large
81045         writable data section after it.
81046         * configure: Regenerated.
81048 2011-07-11  Roland McGrath  <roland@hack.frob.com>
81050         * configure.in (-z relro check): Fix test code to make the variable
81051         truly const.
81052         * configure: Regenerated.
81054 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
81056         * nscd/nscd.h (struct traced_file): Define.
81057         (struct database_dyn): Remove inotify_descr, reset_res, and filename
81058         elements.  Add traced_files.
81059         (inotify_fd): Declare.
81060         (register_traced_file): Declare.
81061         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81062         (inotify_fd): Export.
81063         (resolv_conf_descr): Remove.
81064         (nscd_init): Move inotify descriptor creation to main.
81065         Don't register files for notification here.
81066         (register_traced_file): New function.
81067         (invalidate_cache): Don't use reset_res to determine whether to call
81068         res_init, go through the list of registered files.
81069         (main_loop_poll): The inotify descriptors are now stored in the
81070         structures for the traced files.
81071         (main_loop_epoll): Likewise.
81072         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
81073         to __nss_disable_nscd.
81074         * nscd/cache.c (prune_cache): There is no single inotify descriptor
81075         for a database anymore.  Check the records for all the registered
81076         files instead.
81077         * nss/Makefile (libnss_files-routines): Add files-init.
81078         (libnss_db-routines): Add db-init.
81079         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81080         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81081         * nss/nss_db/db-init.c: New file.
81082         * nss/nss_files/files-init.c: New file.
81083         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
81084         __nss_lookup_function.
81085         (__nss_lookup_function): Call nss_load_library.
81086         (nss_load_all_libraries): New function.
81087         (__nss_disable_nscd): Take parameter with callback function for files
81088         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
81089         used for the cached services.
81090         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81091         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81092         options for features to all the files in nscd.
81094         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81096 2011-07-10  Roland McGrath  <roland@hack.frob.com>
81098         * csu/elf-init.c (__libc_csu_init): Comment typo.
81100 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
81102         * po/pl.po: Update from translation team.
81103         * po/ja.po: Likewise.
81104         * po/ru.po: Likewise.
81105         * po/ko.po: Likewise.
81106         * po/fr.po: Likewise.
81108 2011-07-09  Roland McGrath  <roland@hack.frob.com>
81110         * configure.in (.ctors/.dtors header and trailer check):
81111         Use an empirical test on a built program.
81112         * configure: Regenerated.
81114         * configure.in (-z relro check): Use an empirical test on a built DSO.
81115         Detect, but do not require, on ia64.
81116         * configure: Regenerated.
81118         * configure.in (READELF): Find it with AC_CHECK_TOOL.
81119         Update tests that use readelf to use $READELF instead.
81120         * configure: Regenerated.
81122 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
81124         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81125         if the result is not used.
81127 2011-07-05  Andreas Jaeger  <aj@suse.de>
81129         [BZ#9696]
81130         * stdlib/tst-strtod.c: Add testcase.
81132 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
81134         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81135         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81136         The latter has a higher limit.  Take additional parameter to pass to
81137         the new function.
81138         (__pathconf): Pass file to __statfs_link_max.
81139         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81140         __statfs_link_max.
81141         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81142         __statfs_link_max.
81144         [BZ #12868]
81145         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81146         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81147         Handle Lustre.
81148         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81149         (__statfs_filesize_max): Likewise.
81150         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81152 2011-07-05  Andreas Jaeger  <aj@suse.de>
81154         * resolv/res_comp.c (dn_skipname): Remove unused variable.
81156 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
81158         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81159         `status' variable.
81160         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81161         Likewise.
81163 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
81165         * Makefile (strop-tests): Add strncat.
81166         * string/test-strncat.c: New file.
81168 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
81170         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81172 2011-06-21  Andreas Jaeger  <aj@suse.de>
81174         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81175         Copy rule from iconvdata/Makefile.
81177 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81179         [BZ #12922]
81180         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81181         but no long options are defined, just return 'W'.
81183 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
81185         [BZ #9696]
81186         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81188 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81190         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81191         netgroups to read.
81192         (innetgr): Likewise.
81194 2011-07-05  Roland McGrath  <roland@hack.frob.com>
81196         * config.make.in (install_root): Default to $(DESTDIR).
81198 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
81200         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81202 2011-07-02  Roland McGrath  <roland@hack.frob.com>
81204         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81206         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81207         containing directory rather than embedding absolute directory names.
81209         * scripts/check-local-headers.sh: Rewritten using awk.
81210         Match by word, not by line.  Print error messages for matches.
81211         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81213         * Makerules [shlib-lds-flags empty]:
81214         ($(common-objpfx)libc_pic.opts): New target.
81215         ($(common-objpfx)libc_pic.os.clean): New target.
81216         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81218         * config.make.in (OBJCOPY): New variable.
81219         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81220         * configure: Regenerated.
81222         * config.make.in (use-default-link): New variable.
81223         * configure.in (use_default_link): Grok --with-default-link to set it.
81224         * configure: Regenerated.
81225         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
81226         (shlib-lds, shlib-lds-flags): Define to empty.
81228         * Makerules (shlib-lds): New variable.
81229         (shlib-lds-flags): New variable.
81230         (build-shlib, build-moduile, build-module-asneeded): Use it.
81231         ($(common-objpfx)libc.so): Use $(shlib-lds).
81232         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
81233         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
81235         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
81236         DT_FLAGS/DT_FLAGS_1 with zero flags.
81238         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
81239         linker script munging.
81241 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
81243         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
81244         as 128-bit value.
81245         * crypt/sha512.c (sha512_process_block): Perform total addition using
81246         128-bit if possible.
81247         (__sha512_finish_ctx): Likewise.
81248         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
81249         as 64-bit value.
81250         * crypt/sha256.c (SWAP64): Define.
81251         (sha256_process_block): Perform total addition using 64-bit if
81252         possible.
81253         (__sha256_finish_ctx): Likewise.
81255 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
81257         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
81258         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81259         * nscd/hstcache.c (cache_addhst): Likewise.
81260         * nscd/grpcache.c (cache_addgr): Likewise.
81261         * nscd/aicache.c (addhstaiX): Likewise.
81262         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
81264 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
81266         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
81267         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81268         * nscd/hstcache.c (cache_addhst): Likewise.
81269         * nscd/grpcache.c (cache_addgr): Likewise.
81270         * nscd/aicache.c (addhstaiX): Likewise.
81272 2011-07-01  Andreas Schwab  <schwab@redhat.com>
81274         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
81275         domain only when needed.
81277 2011-06-30  Andreas Schwab  <schwab@redhat.com>
81279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
81280         is always restored.
81282 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
81284         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
81285         are re-adding the entry.
81286         * nscd/servicescache.c (cache_addserv): Likewise.
81288 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
81290         * sysdeps/generic/dl-irel.h: fix protection against multiple
81291         inclusions.
81292         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
81294 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
81296         [BZ #12935]
81297         * malloc/memusage.sh: Fix quoting in message.
81298         * debug/xtrace.sh: Likewise.
81300         * configure.in: Remove support for --experimental-malloc option, make
81301         it the default.
81302         * config.make.in: Likewise.
81303         * malloc/Makefile: Likewise.
81305 2011-06-27  Andreas Schwab  <schwab@redhat.com>
81307         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
81308         two-byte characters.
81310 2011-06-27  Roland McGrath  <roland@hack.frob.com>
81312         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
81313         AC_CACHE_CHECK invocation.
81314         * configure: Regenerated.
81316         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
81318 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
81320         [BZ #12350]
81321         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
81322         bit from old_res_options.
81324         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
81326         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
81327         value type for setfct.
81329 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
81331         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
81332         __gettimeofday instead of gettimeofday.
81334 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
81336         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
81338 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
81340         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
81342         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
81343         info.
81345 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
81347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81348         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
81349         strcpy-sse2-unaligned strncpy-sse2-unaligned
81350         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
81351         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
81352         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
81353         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
81354         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
81355         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
81356         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
81357         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
81358         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
81359         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
81360         (STRCPY): Support SSE2 and SSSE3 versions.
81362 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
81364         [BZ #12874]
81365         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
81366         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
81367         kernels which artificially limit size of requests.
81369 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
81371         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81372         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
81373         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
81374         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
81375         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
81376         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
81377         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
81378         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
81379         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
81380         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
81381         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
81382         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
81383         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
81384         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
81385         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
81386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81387         Enable unaligned load optimization for Intel Core i3, i5 and i7
81388         processors.
81389         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
81390         Define.
81391         (index_Fast_Unaligned_Load): Define.
81392         (HAS_FAST_UNALIGNED_LOAD): Define.
81394 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
81396         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
81398 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
81400         [BZ #12907]
81401         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
81402         until it is clear that the information is realy needed.
81403         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
81405 2011-06-22  Andreas Schwab  <schwab@redhat.com>
81407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
81409 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
81411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
81412         /sys/devices/system/cpu/online if it is usable.
81414         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
81415         reading the information from the /proc filesystem to once a second.
81417 2011-06-21  Andreas Jaeger  <aj@suse.de>
81419         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
81420         NULL after inclusion of kernel headers.
81422 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
81424         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
81425         calls to internal_setent.
81427         [BZ #12885]
81428         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
81429         addresses using gethostbyname4_r ignore IPv4 addresses.
81431         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
81432         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
81434         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
81436 2011-06-20  David S. Miller  <davem@davemloft.net>
81438         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
81439         inclusions.
81440         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
81442         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
81443         (elf_irel): Use it.
81444         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
81445         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
81446         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
81447         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
81448         * sysdeps/x86_64/dl-irel.h: Likewise.
81450         * elf/dl-runtime.c: Use elf_ifunc_invoke.
81451         * elf/dl-sym.c: Likewise.
81453 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
81455         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
81456         need to dereference resplen2.
81458 2011-06-14  Andreas Schwab  <schwab@redhat.com>
81460         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
81462 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
81464         * Makeconfig: Define vardbdir and inst_vardbdir.
81465         * nss/Makefile: Add rules to install db-Makefile.
81467         * nss/nss_db/db-XXX.c: Cleanup.
81469         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
81470         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
81471         GLIBC_PRIVATE.
81472         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
81473         * nss/makedb.c: Implement -g option to specify that value strings
81474         are generated and should not be added to table iterated over for
81475         get*ent calls.
81476         * nss/nss_db/db-initgroups.c: New file.
81478         * nss/getent.c: Add support for initgroups lookups through getgrouplist
81479         interface.
81481         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
81482         (internal_getgrouplist): Adjust to name change.
81483         Update use_initgroups_entry if this is not the first call.
81484         * nss/databases.def: Add initgroups entry.
81486         * nss/makedb.c (compute_tables): Check result of multiple hash table
81487         sizes to minimize maximum chain length.
81489 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
81491         * Versions.def: Add entry for libnss_db.
81492         * shlib-versions: Likewise.
81493         * nss/Makefile: Add rules to build libnss_db.
81494         * nss/Versions: Add libnss_db information.  Organize libnss_files
81495         entries better.
81496         * nss/db-Makefile: Add gshadow support.  Change rules for the new
81497         makedb progra.  Some minor improvements to generate smaller files.
81498         * nss/nss_db/nss_db.h: Move NSS database header data structures to
81499         here from...
81500         * nss/makedb.c: ...here.
81501         Improve database format to be smaller and require less memory at
81502         runtime.
81503         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
81504         db anymore.
81505         * nss/nss_db/db-netgrp.c: Likewise.
81506         * nss/nss_db/db-open.c: Likewise.
81507         * nss/nss_files/flies-XXX.x: Adjust comments.
81508         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
81509         * nss/nss_files/files-grp.c: Likewise.
81510         * nss/nss_files/files-hosts.c: Likewise.
81511         * nss/nss_files/files-network.c: Likewise.
81512         * nss/nss_files/files-proto.c: Likewise.
81513         * nss/nss_files/files-pwd.c: Likewise.
81514         * nss/nss_files/files-rpc.c: Likewise.
81515         * nss/nss_files/files-service.c: Likewise.
81516         * nss/nss_files/files-sgrp.c: Likewise.
81517         * nss/nss_files/files-spwd.c: Likewise.
81518         * nss/nss_db/db-alias.c: Removed.
81519         * nss/nss_db/dummy-db.h: Removed.
81521 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
81523         * nss/makedb.c: Rewritten to not use database library.
81524         * nss/Makefile: Update to build new makedb program.
81526 2011-06-14  Andreas Jaeger  <aj@suse.de>
81528         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
81529         memset declaration.
81531 2011-06-10  Andreas Schwab  <schwab@redhat.com>
81533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
81534         tmpbuf.
81536 2011-06-10  Roland McGrath  <roland@hack.frob.com>
81538         * Makerules (shlib.lds): Fail if the linker script comes out empty.
81539         * elf/Makefile ($(objpfx)ld.so): Likewise.
81541         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
81542         Don't list ld.so twice in dependencies.
81544         * posix/bug-regex31.c: Include <stdlib.h>.
81546         * nscd/hstcache.c (cache_addhst): Remove unused variable.
81548         * nis/nss_compat/compat-spwd.c
81549         (getspent_next_nss_netgr): Remove unused variable.
81550         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
81552         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
81553         nonmembers" output to use the right array.
81555         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
81557         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
81559         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
81560         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
81561         * catgets/gencat.c (read_input_file): Likewise.
81562         * locale/programs/locarchive.c (enlarge_archive): Likewise.
81564         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
81565         variable definition inside #if's controlling its use.
81567         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
81569         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
81571         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
81573         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
81574         unreachable code.
81576         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
81578         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
81579         * configure: Regenerated.
81581         * Makerules: Revert last change.
81582         * elf/Makefile: Likewise.
81584 2011-06-09  Roland McGrath  <roland@hack.frob.com>
81586         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
81587         * elf/Makefile ($(objpfx)librtld.os): Likewise.
81588         (reloc-link): Likewise.
81590 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
81592         * elf/Makefile: Add rules to build pldd.
81593         * elf/pldd.c: New file.
81594         * elf/pldd-xx.c: New file.
81596 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
81598         * version.h: Update for 2.15 development version.
81600 2011-06-07  David S. Miller  <davem@davemloft.net>
81602         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
81603         ifuncs.
81604         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
81605         elf_machine_lazy_rel): Likewise.
81606         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
81607         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
81608         elf_machine_lazy_rel): Likewise.
81609         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
81610         dl_hwcap via passed in argument.
81611         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
81612         Likewise.
81614 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81616         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
81618 2011-06-06  Roland McGrath  <roland@hack.frob.com>
81620         [BZ #12849]
81621         * manual/fdl-1.1.texi: New file, verbatim from:
81622         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
81623         * manual/lgpl-2.1.texi: New file, verbatim from:
81624         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
81625         * manual/Makefile (licenses): New variable, list those new file names.
81626         (texis): Use it.
81627         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
81629         * manual/fdl.texi: File removed.
81630         * manual/lesser.texi: File removed.
81631         * manual/libc.texinfo (Copying, Documentation License):
81632         Use new @include file names, put @appendix directive before @include.
81634 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
81636         [BZ #12841]
81637         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
81638         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
81639         (mq_open): Add __NTH.
81641 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
81643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81644         Assume Intel Core i3/i5/i7 processor if AVX is available.
81646 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
81648         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81649         typo.
81651 2011-05-31  Andreas Schwab  <schwab@redhat.com>
81653         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
81654         memory.  Use alloca_account.  Fix memory leak when retrying.
81656 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
81658         * version.h (RELEASE): Bump for 2.14 release.
81659         * include/features.h (__GLIBC_MINOR__): Bump to 14.
81661         * config.make.in (RANLIB): Remove entry.
81663 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
81665         * po/Makefile (po-sed-cmd): Add ksh to extensions.
81666         (libc.pot): Work around missing support for .ksh extension in xgettext.
81668         [BZ #12684]
81669         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
81670         if both request failed.
81671         (send_dg): In case of server errors clear resplen or *resplen2.
81673         [BZ #12454]
81674         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
81675         when there are multiple maps.
81676         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
81677         (_dl_fini): Remove test here.
81679         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
81681 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
81683         [BZ #12350]
81684         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
81685         bit from old_res_options.
81686         (gaih_inet): Likewise.
81688         [BZ #11099]
81689         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
81690         as signed.
81692         * resolv/res_init.c (res_setoptions): Make the code more compact.
81694         [BZ #11558]
81695         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
81696         set RES_USEVC.
81698         [BZ #11634]
81699         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
81701         * malloc/malloc.h: Mark malloc hook variables as deprecated.
81703         [BZ #11781]
81704         * malloc/malloc.h: Declare malloc hook variables as volatile.
81706         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
81707         in last patch.
81709         [BZ #11799]
81710         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
81711         raise in the comment.
81712         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81713         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81714         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
81716 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
81718         [BZ #12811]
81719         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
81720         grow the buffers more if it already has to be sufficient.
81721         (build_wcs_upper_buffer): Likewise.
81722         * posix/regexec.c (check_matching): Likewise.
81723         (clean_state_log_if_needed): Likewise.
81724         (extend_buffers): Don't enlarge buffers beyond size of the input
81725         buffer.
81726         Patches mostly by Emil Wojak <emil@wojak.eu>.
81727         * posix/bug-regex32.c: New file.
81728         * posix/Makefile (tests): Add bug-regex32.
81730         * locale/findlocale.c (_nl_find_locale): Return right away if
81731         _nl_explode_name failed.
81732         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
81734         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
81736         * debug/xtrace.sh: Unify messages.
81737         * malloc/memusage.sh: Likewise.
81739         [BZ #12813]
81740         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
81741         time symbol from vDSO.  Substitute with vsyscall if not available.
81742         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
81743         __vdso_time.
81745         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
81746         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
81747         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
81748         Add sendmmsg and internal_sendmmsg.
81749         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
81750         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
81751         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
81753         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
81754         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
81755         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
81757 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
81759         [BZ #12813]
81760         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
81761         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
81762         available.
81763         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
81764         __vdso_getcpu.
81766         [BZ #12814]
81767         * iconvdata/Makefile (tests): Add bug-iconv9.
81768         * iconvdata/bug-iconv9.c: New file.
81770 2011-05-27  Andreas Schwab  <schwab@redhat.com>
81772         [BZ #12814]
81773         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
81775 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
81777         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81778         (struct user_regs_struct): Change intcs field back to cs.
81780 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
81782         * po/ja.po: Update from translation team.
81784 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
81786         [BZ #12795]
81787         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
81788         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
81790 2011-05-20  Andreas Schwab  <schwab@redhat.com>
81792         * stdlib/longlong.h: Update from GCC.
81794 2011-05-23  Andreas Schwab  <schwab@redhat.com>
81796         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
81797         parameter name.
81798         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
81799         Add parameter name.
81800         (__sysconf): Pass it down.
81802 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
81804         [BZ #12671]
81805         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
81806         some situations.
81807         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
81808         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
81809         add in in __libc_use_alloca calls.  Adjust callers.
81810         (glob): Use malloc in some situations.
81812         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
81813         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
81814         pltexit.
81816 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
81818         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
81819         and CLOCK_BOOTTIME_ALARM.
81821         [BZ #12782]
81822         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
81823         is returned.
81825         * string/_strerror.c (__strerror_r): Print negative errors as signed
81826         numbers.
81828         [BZ #12777]
81829         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
81830         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
81831         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
81833         * configure.in: Fix typo in redirection and correct removal of test
81834         files in two cases.
81836         [BZ #12788]
81837         * locale/setlocale.c (new_composite_name): Fix test to check for
81838         identical name of all categories.
81840         [BZ #12792]
81841         * libio/filedoalloc.c (local_isatty): New function.
81842         (_IO_file_doallocate): Use local_isatty.
81843         * stdio-common/perror.c (perror): In case a new stream is used
81844         forward the stream error.
81845         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
81846         error flag.
81848 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
81850         [BZ #11884]
81851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
81852         alloca.
81853         * include/alloca.h (extend_alloca_account): Define.
81855         [BZ #11857]
81856         * posix/regex.h: Fix comments with documentation of user-accessible
81857         fields after compilation and describe correct free'ing of pattern
81858         after re_compile_pattern.
81859         Patch by Reuben Thomas <rrt@sc3d.org>.
81861 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
81863         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
81864         and -mno-altivec to prevent the compiler from using Altivec and/or
81865         VSX instructions when the corresponding registers are not available.
81867 2011-05-19  Andreas Schwab  <schwab@redhat.com>
81869         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
81871 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
81873         * libio/freopen.c (freopen): Use __dup2, not dup2.
81874         * libio/freopen64.c (freopen64): Likewise.
81876 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81878         [BZ #12775]
81879         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
81880         * math/Makefile (tests): Add test-powl.
81881         (CFLAGS-test-powl.c): Define.
81882         * math/test-powl.c: New file.
81884 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81886         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
81888 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
81890         [BZ #11837]
81891         * iconvdata/gb18030.c: Update to GB18020-2005.
81893 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
81895         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
81896         RE_SYNTAX_POSIX_AWK): Update to match recent development.
81897         Patch by Aharon Robbins <arnold@skeeve.com>.
81899         [BZ #11892]
81900         * stdlib/putenv.c (putenv): Don't always create copy of the variable
81901         on the stack.
81903         [BZ #11895]
81904         * misc/pselect.c (__pselect): Handle timeout value errors hidden
81905         through underflows.
81907         [BZ #12766]
81908         * misc/error.c (error_at_line): Ensure file_name and old_file_name
81909         point to strings before performing equality test for error_one_per_line
81910         mode.
81912         [BZ #11697]
81913         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
81915         [BZ #11820]
81916         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81917         (struct user_fpregs_struct): Avoid __uint*_t types.
81919         [BZ #6420]
81920         * malloc/mtrace.c (tr_where): Add additional parameter to point to
81921         symbol info.  Use it instead of calling _dl_addr locally.
81922         (lock_and_info): New function.
81923         (tr_freehook): Call lock_and_info and pass symbol info as additional
81924         parameter to tr_where.
81925         (tr_mallochook): Likewise.
81926         (tr_reallochook): Likewise.
81927         (tr_memalignhook): Likewise.
81929         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
81930         used and couldn't be at all thread-safe.
81932 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
81934         * libio/freopen.c (freopen): Don't close old file descriptor
81935         before the new one is opened.  Instead dup the new file descriptor
81936         to the old one after the new stream is created.
81937         * libio/freopen64.c (freopen64): Likewise.
81938         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
81939         * libio/fileops.c (_IO_new_file_close_it): Handle new
81940         _IO_FLAGS2_NOCLOSE flag.
81941         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81942         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81943         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81944         _IO_FLAGS2_NOCLOSE flag.
81945         * include/unistd.h: Add hidden_proto for dup3.
81946         Define __have_dup3.
81947         * io/dup3.c: Define hidden symbol.
81948         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81950         [BZ #7101]
81951         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81952         when an incomplete long option is used.
81953         * posix/tst-getopt_long1.c: New file.
81954         * posix/Makefile (tests): Add tst-getopt_long1.
81956         [BZ #10138]
81957         * scripts/config.guess: Update from autoconf-2.68.
81958         * scripts/config.sub: Likewise.
81960         [BZ #10157]
81961         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81962         tests into ...
81963         (has_cpuclock): ...this.  New function.
81964         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81965         macro here based on has_cpuclock code.
81967         [BZ #10149]
81968         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81969         First byte (not low byte) is now always NUL.
81970         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81972         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81973         Use non-cancelable interfaces.
81975         [BZ #9809]
81976         * locale/iso-639.def: Add entry for Sorani.
81978         [BZ #11901]
81979         * include/stdlib.h: Move include protection to the right place.
81980         Define abort_msg_s.  Declare __abort_msg with it.
81981         * stdlib/abort.c (__abort_msg): Adjust type.
81982         * assert/assert.c (__assert_fail_base): New function.  Majority
81983         of code from __assert_fail.  Allocate memory for __abort_msg with
81984         mmap.
81985         (__assert_fail): Now call __assert_fail_base.
81986         * assert/assert-perr.c: Remove bulk of implementation.  Use
81987         __assert_fail_base.
81988         * include/assert.hL Declare __assert_fail_base.
81989         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81990         mmap.
81991         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81993 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81995         [BZ #11952]
81996         [BZ #12453]
81997         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81998         until all modules are registered in the DTV.
81999         * elf/Makefile: Add rules to build and run tst-tls19.
82000         * elf/tst-tls19.c: New file.
82001         * elf/tst-tls19mod1.c: New file.
82002         * elf/tst-tls19mod2.c: New file.
82003         * elf/tst-tls19mod3.c: New file.
82004         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82006         [BZ #12083]
82007         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82008         correctly.
82010         [BZ #12601]
82011         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82012         two-byte sequence errors.
82013         * iconvdata/Makefile (tests): Add bug-iconv8.
82014         * iconvdata/bug-iconv8.c: New file.
82016         [BZ #12626]
82017         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82018         buf2 definition.
82020         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82022         [BZ #12432]
82023         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82024         (dummy_getcfa): New function.
82025         (init): Get _Unwind_GetCFA address, use dummy if not found.
82026         (backtrace_helper): In recursion check, also check whether CFA changes.
82027         (__backtrace): Completely initialize arg.
82029         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82030         storing incomplete byte sequence in state object.  Avoid testing for
82031         guaranteed too small input if we know there is enough data available.
82033 2011-05-11  Andreas Schwab  <schwab@redhat.com>
82035         * Makeconfig (+link-pie): Indent.
82036         * Rules (binaries-pie): Define if $(have-fpie) and
82037         $(build-shared).
82038         (binaries-shared): Also filter out $(binaries-pie).
82039         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82040         * nscd/Makefile (others-pie): Add nscd.
82041         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82042         ($(objpfx)nscd): Remove command override.
82043         * login/Makefile (others-pie): Add pt_chown.
82044         ($(objpfx)pt_chown): Remove command override.
82045         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82046         remove command overrides.
82048 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
82050         * libio/tst_putwc.c: Fix error messages.
82052         [BZ #12724]
82053         * libio/fileops.c (_IO_new_file_close_it): Always flush when
82054         currently writing and seek to current position when not.
82055         * libio/Makefile (tests): Add bug-fclose1.
82056         * libio/bug-fclose1.c: New file.
82058 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
82060         [BZ #12511]
82061         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82062         don't set DF_1_NODELETE here.
82063         (do_lookup_x): When entering new entry test for copy relocation
82064         and if necessary set DF_1_NODELETE flag.
82065         * elf/tst-unique4.cc: New file.
82066         * elf/tst-unique4.h: New file.
82067         * elf/tst-unique4lib.cc: New file.
82068         * elf/Makefile: Add rules to build and run tst-unique4.
82069         Patch by Piotr Bury <pbury@goahead.com>.
82071 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
82073         [BZ #12052]
82074         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82076         [BZ #12625]
82077         * misc/mntent_r.c (addmntent): Flush the stream after the output
82079         [BZ #12393]
82080         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82081         (is_trusted_path_normalize): Skip initial colon.  Append slash
82082         to empty buffer.  Duplicate is_trusted_path code but allow
82083         constructed patch to be prefix.
82084         (is_dst): Allow $ORIGIN followed by /.
82085         (_dl_dst_substitute): Correct clearing of check_for_trusted.
82086         Correct testing of result of is_trusted_path_normalize
82087         (decompose_rpath): Fix warning.
82089 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
82091         [BZ #11257]
82092         * grp/initgroups.c (internal_getgrouplist): When we found the service
82093         list through the initgroups entry in nsswitch.conf do not always
82094         continue on a successful lookup.  Don't always use the
82095         __nss_group_database value if it is set.
82096         * nss/nsswitch.conf (initgroups): Change action for successful db
82097         lookup to continue for compatibility.
82099 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
82101         [BZ #11532]
82102         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82103         and CP774 modules.
82104         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82105         and CP774 modules.
82106         * iconvdata/tst-tables.sh: Likewise.
82107         * iconvdata/cp770.c: New file.
82108         * iconvdata/cp771.c: New file.
82109         * iconvdata/cp772.c: New file.
82110         * iconvdata/cp773.c: New file.
82111         * iconvdata/cp774.c: New file.
82112         * iconvdata/testdata/CP770: New file.
82113         * iconvdata/testdata/CP770..UTF8: New file.
82114         * iconvdata/testdata/CP771: New file.
82115         * iconvdata/testdata/CP771..UTF8: New file.
82116         * iconvdata/testdata/CP772: New file.
82117         * iconvdata/testdata/CP772..UTF8: New file.
82118         * iconvdata/testdata/CP773: New file.
82119         * iconvdata/testdata/CP773..UTF8: New file.
82120         * iconvdata/testdata/CP774: New file.
82121         * iconvdata/testdata/CP774..UTF8: New file.
82123         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82124         END CHARMAP line.
82125         * iconvdata/gen-8bit-gap.sh: Likewise.
82126         * iconvdata/gen-8bit.sh: Likewise.
82128         * locale/iso-639.def: Add ary entry.
82130         [BZ #11258]
82131         * locale/C-translit.h.in: Add U20A1 transliteration.
82133         [BZ #12178]
82134         * locale/iso-639.def: Add wae entry.
82135         Patch by Kevin Bortis <bortis@translate-wae.ch>.
82137         [BZ #12545]
82138         * locale/programs/localedef.c (construct_output_path): Use ssize_t
82139         for n.
82141         [BZ #12711]
82142         * locale/C-translit.h.in: Add entry for U20B9.
82143         Patch by pravin.d.s@gmail.com.
82145 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
82147         [BZ #12713]
82148         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82149         ENAMETOOLONG use generic getcwd.
82150         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
82151         in rtld.  Use *stat64.
82152         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82153         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82154         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82155         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82156         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82157         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82158         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82159         __fstatat64 macros.
82160         * include/dirent.h: Add libc_hidden_proto for rewinddir.
82161         * dirent/rewinddir.c: Add libc_hidden_def.
82162         * sysdeps/mach/hurd/rewinddir.c: Likewise.
82163         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
82165         * include/dirent.h (__alloc_dir): Add flags parameter.
82166         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82167         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82168         __alloc_dir.
82169         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
82170         from fdopendir if O_CLOEXEC is already set.
82172 2011-03-15  Alan Modra  <amodra@gmail.com>
82174         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82175         l_tls_firstbyte_offset non-zero.  Save padding offset in
82176         l_tls_firstbyte_offset for later use.
82177         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82178         freeing static tls block.
82180 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
82182         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82183         where #ifdef was intended.  The intent is to prevent ARG_MAX from
82184         being defined by the kernel headers.
82186 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
82188         [BZ #12734]
82189         * resolv/resolv.h: Define RES_NOTLDQUERY.
82190         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82191         no-tld-query and set RES_NOTLDQUERY.
82192         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82193         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82194         modern BIND to search name as TLD unless forbidden.
82196 2011-05-07  Petr Baudis  <pasky@suse.cz>
82197             Ulrich Drepper  <drepper@gmail.com>
82199         [BZ #12393]
82200         * elf/dl-load.c (fillin_rpath): Move trusted path check...
82201         (is_trusted_path): ...to here.
82202         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82203         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82204         using is_trusted_path_normalize() in setuid scripts.
82206 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82208         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82209         __BEGIN/__END_DECLS.
82211 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
82213         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82214         NSS_STATUS_NOTFOUND if no record was found.
82216 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82218         * sunrpc/Makefile (headers): Add rpc/netdb.h.
82219         (headers-not-in-tirpc): Remove rpc/netdb.h
82220         * resolv/netdb.h: Revert last change.
82222 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82224         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
82225         circular dependency between libgcc.a and libc.a.
82227 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82229         * resolv/netdb.h: Don't include <rpc/netdb.h>.
82230         * nis/Makefile: Don't install rpcsvc/*.
82231         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
82232         instead of <rpc/types.h>.
82233         (MAXHOSTNAMELEN): Define.
82235 2011-05-03  Andreas Schwab  <schwab@redhat.com>
82237         * elf/ldconfig.c (add_dir): Don't crash on empty path.
82239 2011-04-28  Maciej Babinski  <mbabinski@google.com>
82241         [BZ #12714]
82242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
82243         gethostbyname4_r when IPv6 results are possible.
82245 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
82247         [BZ #12723]
82248         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
82249         _PC_PIPE_BUF handling.
82251 2011-04-30  Bruno Haible  <bruno@clisp.org>
82253         [BZ #12717]
82254         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
82255         * resolv/netdb.h (getnameinfo): Change type of flags parameter
82256         to 'int'.
82257         * inet/getnameinfo.c (getnameinfo): Likewise.
82259 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
82261         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
82262         to groups setting in database lookup.
82263         * nss/nsswitch.conf: Add initgroups entry.
82265 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
82267         [BZ #12685]
82268         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
82269         mode string.
82270         Patch by Eric Blake <eblake@redhat.com>.
82272 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
82274         * sunrpc/Makefile (need-export-routines): Add svc_run.
82275         (routines): Remove svc_run.
82276         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
82277         * sunrpc/clnt_perr.c (clnt_perrno): Export.
82278         * sunrpc/svc_run.c (svc_run): Likewise.
82279         * sunrpc/svc_udp.c (svcudp_create): Likewise.
82281 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
82283         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
82284         problem in reallocation in last patch.
82286 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
82288         * sunrpc/Makefile: Move inclusion of Rules.
82290 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
82292         * nss/nss_files/files-initgroups.c: New file.
82293         * nss/Makefile (libnss_files-routines): Add files-initgroups.
82294         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
82295         _nss_files_initgroups_dyn.
82297 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
82299         * elf/elf.h (R_ARM_IRELATIVE): Define.
82301 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
82303         * po/ru.po: Update from translation team.
82305 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
82307         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
82308         dependencies.
82310 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
82312         [BZ #12653]
82313         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
82314         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
82315         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
82317         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
82319 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
82321         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
82322         differing bytes.
82323         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
82324         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
82325         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
82327 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
82329         [BZ #12420]
82330         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
82331         storing it.
82332         * stdlib/bug-getcontext.c: New file.
82333         * stdlib/Makefile: Add rules to build and run bug-getcontext.
82335 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82337         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
82338         instructions into .machine "z9-109".
82339         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
82340         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
82342 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82344         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
82345         between environment variables and auxiliary vector.
82347 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
82349         * Makefile: Add rules to build linkobj/libc.so.
82350         * include/libc-symbols.h: Define libc_hidden_nolink.
82351         * include/rpc/auth.h: Mark functions which are to be hidden.
82352         * include/rpc/auth_des.h: Likewise.
82353         * include/rpc/auth_unix.h: Likewise.
82354         * include/rpc/clnt.h: Likewise.
82355         * include/rpc/des_crypt.h: Likewise.
82356         * include/rpc/key_prot.h: Likewise.
82357         * include/rpc/pmap_clnt.h: Likewise.
82358         * include/rpc/pmap_prot.h: Likewise.
82359         * include/rpc/pmap_rmt.h: Likewise.
82360         * include/rpc/rpc_msg.h: Likewise.
82361         * include/rpc/svc.h: Likewise.
82362         * include/rpc/svc_auth.h: Likewise.
82363         * include/rpc/xdr.h: Likewise.
82364         * nis/Makefile: Link all DSOs against linkobj/libc.so.
82365         * nss/Makefile: Likewise.
82366         * sunrpc/Makefile: Don't install headers.  Build library with normal
82367         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
82368         * sunrpc/auth_des.c: Hide exported symbols by default, export some
82369         for the compat linking library.  Remove use of INTDEF/INTUSE.
82370         * sunrpc/auth_none.c: Likewise.
82371         * sunrpc/auth_unix.c: Likewise.
82372         * sunrpc/authdes_prot.c: Likewise.
82373         * sunrpc/authuxprot.c: Likewise.
82374         * sunrpc/clnt_gen.c: Likewise.
82375         * sunrpc/clnt_perr.c: Likewise.
82376         * sunrpc/clnt_raw.c: Likewise.
82377         * sunrpc/clnt_simp.c: Likewise.
82378         * sunrpc/clnt_tcp.c: Likewise.
82379         * sunrpc/clnt_udp.c: Likewise.
82380         * sunrpc/clnt_unix.c: Likewise.
82381         * sunrpc/des_crypt.c: Likewise.
82382         * sunrpc/des_soft.c: Likewise.
82383         * sunrpc/get_myaddr.c: Likewise.
82384         * sunrpc/key_call.c: Likewise.
82385         * sunrpc/key_prot.c: Likewise.
82386         * sunrpc/netname.c: Likewise.
82387         * sunrpc/pm_getmaps.c: Likewise.
82388         * sunrpc/pm_getport.c: Likewise.
82389         * sunrpc/pmap_clnt.c: Likewise.
82390         * sunrpc/pmap_prot.c: Likewise.
82391         * sunrpc/pmap_prot2.c: Likewise.
82392         * sunrpc/pmap_rmt.c: Likewise.
82393         * sunrpc/publickey.c: Likewise.
82394         * sunrpc/rpc_cmsg.c: Likewise.
82395         * sunrpc/rpc_common.c: Likewise.
82396         * sunrpc/rpc_dtable.c: Likewise.
82397         * sunrpc/rpc_prot.c: Likewise.
82398         * sunrpc/rpc_thread.c: Likewise.
82399         * sunrpc/rtime.c: Likewise.
82400         * sunrpc/svc.c: Likewise.
82401         * sunrpc/svc_auth.c: Likewise.
82402         * sunrpc/svc_authux.c: Likewise.
82403         * sunrpc/svc_raw.c: Likewise.
82404         * sunrpc/svc_run.c: Likewise.
82405         * sunrpc/svc_simple.c: Likewise.
82406         * sunrpc/svc_tcp.c: Likewise.
82407         * sunrpc/svc_udp.c: Likewise.
82408         * sunrpc/svc_unix.c: Likewise.
82409         * sunrpc/svcauth_des.c: Likewise.
82410         * sunrpc/xcrypt.c: Likewise.
82411         * sunrpc/xdr.c: Likewise.
82412         * sunrpc/xdr_array.c: Likewise.
82413         * sunrpc/xdr_float.c: Likewise.
82414         * sunrpc/xdr_intXX_t.c: Likewise.
82415         * sunrpc/xdr_mem.c: Likewise.
82416         * sunrpc/xdr_rec.c: Likewise.
82417         * sunrpc/xdr_ref.c: Likewise.
82418         * sunrpc/xdr_sizeof.c: Likewise.
82419         * sunrpc/xdr_stdio.c: Likewise.
82421 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
82423         [BZ #12650]
82424         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
82425         * sysdeps/ia64/dl-tls.h: Likewise.
82426         * sysdeps/powerpc/dl-tls.h: Likewise.
82427         * sysdeps/s390/dl-tls.h: Likewise.
82428         * sysdeps/sh/dl-tls.h: Likewise.
82429         * sysdeps/sparc/dl-tls.h: Likewise.
82430         * sysdeps/x86_64/dl-tls.h: Likewise.
82431         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
82433 2011-03-14  Andreas Schwab  <schwab@redhat.com>
82435         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
82436         rpath element also skip the following colon.
82437         (expand_dynamic_string_token): Add is_path parameter and pass
82438         down to DL_DST_REQUIRED and _dl_dst_substitute.
82439         (decompose_rpath): Call expand_dynamic_string_token with
82440         non-zero is_path.  Ignore empty rpaths.
82441         (_dl_map_object_from_fd): Call expand_dynamic_string_token
82442         with zero is_path.
82444 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
82446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
82447         Make cancelable.
82449 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
82451         [BZ #12655]
82452         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
82453         Patch by Filipe David Manana <fdmanana@apache.org>.
82455 2011-04-07  Andreas Schwab  <schwab@redhat.com>
82457         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
82458         Maintain aligned stack.
82459         (CHECK_RSP): Remove unused macro.
82461 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
82463         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
82464         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
82466 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
82468         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
82470         * include/features.h: Mention __USE_XOPEN2K8 in comment.
82472 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
82474         [BZ #12518]
82475         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
82476         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
82477         * sysdeps/x86_64/memmove.c: New file.
82478         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
82479         (memcpy): Renamed to ...
82480         (__new_memcpy): This.
82481         (memcpy): Provide GLIBC_2_14 memcpy.
82482         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
82483         (memcpy): Provide GLIBC_2_2_5 memcpy.
82485 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82487         [BZ #12631]
82488         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
82490 2011-03-30  Andreas Schwab  <schwab@redhat.com>
82492         * misc/syncfs.c: New file.
82493         * misc/Makefile (routines): Add syncfs.
82494         * posix/unistd.h: Declare syncfs.
82495         * sysdeps/unix/syscalls.list: Add syncfs.
82497 2011-04-01  Andreas Schwab  <schwab@redhat.com>
82499         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
82500         open_by_handle_at.
82501         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82502         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82503         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82504         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82506         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
82507         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82509 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82511         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
82512         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82513         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
82514         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82515         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82516         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82517         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82519         * io/Makefile: Compile fallocate.c, fallocate64.c, and
82520         sync_file_range.c with -fexceptions.
82521         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
82522         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
82523         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
82524         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
82525         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
82526         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
82527         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
82528         sync_file_range as cancellation point
82529         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
82530         now a wrapper around __call_sync_file_range with cancellation handling.
82531         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
82532         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
82533         function name to __call_sync_file_range.
82534         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
82535         Add call_sync_file_range.
82537 2011-04-01  Andreas Schwab  <schwab@redhat.com>
82539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82540         bits/timex.h.
82542 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82544         * iconv/iconv.h: Fix typo in comment.
82545         * io/fcntl.h: Likewise.
82546         * libio/stdio.h: Likewise.
82547         * posix/spawn.h: Likewise.
82548         * posix/unistd.h: Likewise.
82549         * stdlib/stdlib.h: Likewise.
82550         * time/time.h: Likewise.
82551         * wcsmbs/wchar.h: Likewise.
82553         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
82554         open_by_handle): Add.
82555         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
82556         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
82557         Augment a few comments.
82558         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82560         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82561         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82562         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82563         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
82564         open_by_handle.
82566         * io/fcntl.h (AT_EMPTY_PATH): Define.
82568 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
82570         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
82571         * sysdeps/unix/sysv/linux/bits/time.h: New file.
82572         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
82573         to...
82574         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
82575         * Versions.def: Add GLIBC_2.14.
82576         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
82577         Export.
82579 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
82581         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
82582         round counter.
82583         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
82585 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82587         [BZ #12597]
82588         * string/test-strncmp.c (do_page_test): New function.
82589         (check2): Likewise.
82590         (test_main): Call check2.
82591         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
82593 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
82595         [BZ #12587]
82596         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
82597         Handle cache information in CPU leaf 4.
82598         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
82600 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
82602         [BZ #12583]
82603         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
82604         character representation.
82605         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
82607 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
82609         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
82610         END(__isnan) to END(__isnanf) to match function entry point/label
82611         EALIGN(__isnanf,...).
82613 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
82615         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
82617 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
82619         [BZ #12510]
82620         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
82621         copy from the symbol referenced in the relocation to initialize the
82622         used variable.
82623         Patch by Piotr Bury <pbury@goahead.com>.
82624         * elf/Makefile: Add rules to build and tst-unique3.
82625         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
82626         * elf/tst-unique3.cc: New file.
82627         * elf/tst-unique3.h: New file.
82628         * elf/tst-unique3lib.cc: New file.
82629         * elf/tst-unique3lib2.cc: New file.
82631         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
82633 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
82635         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
82636         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
82637         to _start.
82639 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
82641         * elf/dl-load.c (_dl_map_object): If we are looking for the first
82642         to-be-loaded object along a path to loader is ld.so.
82644 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
82645             Ulrich Drepper  <drepper@gmail.com>
82647         * sysdeps/x86_64/memset.S: After aligning destination, code
82648         branches to different locations depending on the value of
82649         misalignment, when multiarch is enabled. Fix this.
82651 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
82653         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
82654         Set _x86_64_preferred_memory_instruction for AMD processsors.
82655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82656         Set bit_Prefer_SSE_for_memop for AMD processors.
82658 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
82660         * libio/fmemopen.c (fmemopen): Optimize a bit.
82662 2011-03-03  Andreas Schwab  <schwab@redhat.com>
82664         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
82666 2011-03-03  Roland McGrath  <roland@redhat.com>
82668         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
82670 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
82672         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
82673         __bzero_ultra1 instead of __memset_ultra1.
82675 2011-02-23  Andreas Schwab  <schwab@redhat.com>
82676             Ulrich Drepper  <drepper@gmail.com>
82678         [BZ #12509]
82679         * include/link.h (struct link_map): Add l_orig_initfini.
82680         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
82681         returning unsuccessfully.
82682         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
82683         close of a file loaded at startup, restore the original l_initfini
82684         list.
82685         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
82686         list, store the pointer.
82687         * elf/Makefile ($(objpfx)noload-mem): New rule.
82688         (noload-ENV): Define.
82689         (tests): Add $(objpfx)noload-mem.
82690         * elf/noload.c: Include <memcheck.h>.
82691         (main): Call mtrace.  Close all opened handles.
82693 2011-02-17  Andreas Schwab  <schwab@redhat.com>
82695         [BZ #12454]
82696         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
82697         dependencies are missing.
82699 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82701         Fix __if_freereq crash: Unlike the generic version which uses free,
82702         Hurd needs munmap.
82703         * sysdeps/mach/hurd/ifreq.h: New file.
82705 2011-01-27  Petr Baudis  <pasky@suse.cz>
82706             Ulrich Drepper  <drepper@gmail.com>
82708         [BZ 12445]#
82709         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
82710         to extend_alloca().
82711         * stdio-common/bug23.c: New file.
82712         * stdio-common/Makefile (tests): Add bug23.
82714 2010-09-28  Andreas Schwab  <schwab@redhat.com>
82715             Ulrich Drepper  <drepper@gmail.com>
82717         [BZ #12489]
82718         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
82719         before performing relro protection.  At old place add assertion
82720         to make sure nothing changed.
82722 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
82723             Glauber de Oliveira Costa  <glommer@gmail.com>
82725         * elf/elf.h: Add new ARM TLS relocs.
82727 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
82729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
82730         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
82731         cast from r3.
82732         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
82733         'tests' variable.
82734         * sysdeps/wordsize-64/tst-writev.c: New file.
82736 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
82738         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
82739         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
82740         insns in _dl_start to prevent a TOC reference before relocs are
82741         resolved.
82743 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
82745         [BZ #12469]
82746         * Makeconfig: Remove RANLIB definition.
82747         * Makerules: Don't use RANLIB.
82748         * aclocal.m4: Remove ranlib test.
82749         * configure.in: No need to check for ranlib.
82750         * elf/rtld-Rules: Don't use RANLIB.
82752 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82754         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
82755         protection macro.
82756         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
82757         inclusion protection macro.
82759         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
82760         SIGRTMIN and SIGRTMAX and print information in that case only when
82761         SIGRTMIN is defined.
82763 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
82765         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
82766         arginfo fn returning -1.
82768         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
82769         and thousands string is zero terminated.
82771 2011-02-03  Andreas Schwab  <schwab@redhat.com>
82773         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
82774         sysdeps/unix/sysv/linux/bits/socket.h.
82776 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82778         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
82779         (__CPU_COUNT): Remove old macros.
82780         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
82781         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
82782         (__CPU_ALLOC, __CPU_FREE): Add macros.
82783         (__sched_cpualloc, __sched_cpufree): Add declarations.
82785 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
82787         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
82788         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
82789         * nscd/aicache.c (addhstaiX): Return timeout of added value.
82790         (readdhstai): Return value of addhstaiX call.
82791         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
82792         (addgrbyX): Return value returned by cache_addgr.
82793         (readdgrbyname): Return value returned by addgrbyX.
82794         (readdgrbygid): Likewise.
82795         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
82796         (addpwbyX): Return value returned by cache_addpw.
82797         (readdpwbyname): Return value returned by addhstbyX.
82798         (readdpwbyuid): Likewise.
82799         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
82800         (addservbyX): Return value returned by cache_addserv.
82801         (readdservbyname): Return value returned by addservbyX:
82802         (readdservbyport): Likewise.
82803         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
82804         (addhstbyX): Return value returned by cache_addhst.
82805         (readdhstbyname): Return value returned by addhstbyX.
82806         (readdhstbyaddr): Likewise.
82807         (readdhstbynamev6): Likewise.
82808         (readdhstbyaddrv6): Likewise.
82809         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
82810         (readdinitgroups): Return value returned by addinitgroupsX.
82811         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
82812         (prune_cache): Keep track of timeout value of re-added entries.
82813         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
82814         * nscd/nscd.h: Adjust prototypes of readd* functions.
82816 2011-02-04  Roland McGrath  <roland@redhat.com>
82818         * nis/nis_server.c (nis_servstate): Use the right name for 0.
82819         (nis_stats): Likewise.
82820         * nis/nis_modify.c (nis_modify): Likewise.
82821         * nis/nis_remove.c (nis_remove): Likewise.
82822         * nis/nis_add.c (nis_add): Likewise.
82824         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
82826         * posix/fnmatch_loop.c: Add some consts.
82828         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
82830 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
82832         [BZ #12460]
82833         * config.make.in (config-cflags-novzeroupper): Define.
82834         * configure.in: Substitute libc_cv_cc_novzeroupper.
82835         * elf/Makefile (AVX-CFLAGS): Define.
82836         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
82837         (CFLAGS-tst-auditmod4a.c): Likewise.
82838         (CFLAGS-tst-auditmod4b.c): Likewise.
82839         (CFLAGS-tst-auditmod6b.c): Likewise.
82840         (CFLAGS-tst-auditmod6c.c): Likewise.
82841         (CFLAGS-tst-auditmod7b.c): Likewise.
82842         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
82844 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
82846         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
82847         function to the callback.
82848         Patch partly by Jiri Olsa <jolsa@redhat.com>.
82850 2011-02-02  Andreas Schwab  <schwab@redhat.com>
82852         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
82853         of errno.
82855 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
82857         [BZ #11724]
82858         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
82859         of constructors.
82860         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
82861         of destructors.
82862         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
82864         [BZ #11724]
82865         * elf/Makefile: Add rules to build and run new test.
82866         * elf/tst-initorder.c: New file.
82867         * elf/tst-initorder.exp: New file.
82868         * elf/tst-initordera1.c: New file.
82869         * elf/tst-initordera2.c: New file.
82870         * elf/tst-initordera3.c: New file.
82871         * elf/tst-initordera4.c: New file.
82872         * elf/tst-initorderb1.c: New file.
82873         * elf/tst-initorderb2.c: New file.
82874         * elf/tst-order-a1.c: New file.
82875         * elf/tst-order-a2.c: New file.
82876         * elf/tst-order-a3.c: New file.
82877         * elf/tst-order-a4.c: New file.
82878         * elf/tst-order-b1.c: New file.
82879         * elf/tst-order-b2.c: New file.
82880         * elf/tst-order-main.c: New file.
82881         New test case by George Gensure <werkt0@gmail.com>.
82883 2010-10-01  Andreas Schwab  <schwab@redhat.com>
82885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82886         decoding ACE if AI_CANONIDN.
82888 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
82890         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
82892 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
82894         * version.h (RELEASE): Bump for 2.13 release.
82895         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
82897         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
82899         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
82900         MADV_NOHUGEPAGE.
82901         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
82902         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
82903         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82904         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82905         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82906         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82908         * posix/getconf.c: Update copyright year.
82909         * catgets/gencat.c: Likewise.
82910         * csu/version.c: Likewise.
82911         * debug/catchsegv.sh: Likewise.
82912         * debug/xtrace.sh: Likewise.
82913         * elf/ldconfig.c: Likewise.
82914         * elf/ldd.bash.in: Likewise.
82915         * elf/sprof.c (print_version): Likewise.
82916         * iconv/iconv_prog.c: Likewise.
82917         * iconv/iconvconfig.c: Likewise.
82918         * locale/programs/locale.c: Likewise.
82919         * locale/programs/localedef.c: Likewise.
82920         * malloc/memusage.sh: Likewise.
82921         * malloc/mtrace.pl: Likewise.
82922         * nscd/nscd.c (print_version): Likewise.
82923         * nss/getent.c: Likewise.
82925         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
82926         PF_CAIF, and PF_ALG.
82927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82929 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
82931         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
82932         (modules-names): Use them.
82933         (ifunc-test-modules, ifunc-pie-tests): Define.
82934         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
82935         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
82936         (test-extras): Likewise.
82937         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
82938         $(compile-command.c).
82939         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
82940         (all-built-dso): Define.
82941         (check-textrel.out, check-execstack.out): Depend on it.
82943         * configure.in: Don't override --enable-multi-arch.
82945 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
82947         [BZ #6812]
82948         * nscd/hstcache.c (tryagain): Define.
82949         (cache_addhst): Return tryagain not notfound for temporary errors.
82950         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82951         failed.
82953 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82955         [BZ #10563]
82956         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82957         to make the syscall.
82958         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82960         [BZ #12378]
82961         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82962         and fall back to matching as normal character if the string ends before
82963         the matching ']' is found.  This is what POSIX requires.
82964         * posix/testfnm.c: Adjust test result.
82965         * posix/globtest.sh: Adjust test result.  Add new test.
82966         * posix/tst-fnmatch.input: Likewise.
82967         * posix/tst-fnmatch2.c: Add new test.
82969 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82971         * elf/Makefile (check-execstack): Revert last change.  Depend on
82972         check-execstack.h.
82973         (check-execstack.h): New target.
82974         (generated): Add check-execstack.h.
82975         * elf/check-execstack.c: Include "check-execstack.h".
82976         (main): Revert last change.
82977         (handle_file): Return zero if GNU_STACK is absent and
82978         DEFAULT_STACK_PERMS doesn't include PF_X.
82980 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82982         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82983         in child fails because the descriptor is already closed.
82984         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82985         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82986         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82988         [BZ #12397]
82989         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82990         syscall.
82992         [BZ #10484]
82993         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82994         temporary buffer used to handle multi lookups locally.
82995         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82997 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82999         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83000         loader is ld.so.
83002 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
83004         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83005         alignment for SSE2.
83007 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83009         [BZ #12394]
83010         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83011         characters.  When rounding increased number of integer digits recompute
83012         number of groups.
83013         * stdio-common/tst-grouping.c: New file.
83014         * stdio-common/Makefile: Add rules to build and run tst-grouping.
83016 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
83018         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83019         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
83021         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83022         void.
83023         * bits/select.h: Likewise.
83025 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
83027         * po/ja.po: Update from translation team.
83029 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
83031         [BZ #11155]
83032         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83033         implementation just like for lxstat, fxstatat, et al.
83035 2010-12-27  Jim Meyering  <meyering@redhat.com>
83037         [BZ #12348]
83038         * posix/regexec.c (build_trtable): Return failure indication upon
83039         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
83041 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
83043         [BZ #12201]
83044         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83045         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83046         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83047         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83049         [BZ #12207]
83050         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83052         [BZ #12204]
83053         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83054         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83056 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
83058         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83059         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83060         script has SORT_BY_INIT_PRIORITY.
83061         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83062         NO_CTORS_DTORS_SECTIONS is defined.
83063         * elf/soinit.c: Likewise.
83064         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83065         NO_CTORS_DTORS_SECTIONS is defined.
83066         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83067         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83068         * sysdeps/sh/init-first.c: Likewise.
83069         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83071 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
83073         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83074         always use the slow path.
83076 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
83078         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83079         similar rule which adds the sysdep directories to the header search in
83080         order to pick up the correct platform stackinfo.h.
83081         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83082         perform test if it is, otherwise return successfully without testing.
83083         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83084         DEFAULT_STACK_PERMS define in stackinfo.h.
83085         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83086         defined in stackinfo.h.
83087         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83088         DEFAULT_STACK_PERMS defined in stackinfo.h.
83089         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83090         * sysdeps/ia64/stackinfo.h: Likewise.
83091         * sysdeps/s390/stackinfo.h: Likewise.
83092         * sysdeps/sh/stackinfo.h: Likewise.
83093         * sysdeps/sparc/stackinfo.h: Likewise.
83094         * sysdeps/x86_64/stackinfo.h: Likewise.
83095         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83096         PF_X for powerpc64.  Retain PF_X for powerpc32.
83098 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
83100         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83101         accurately.
83102         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83103         GETDENTS_64BIT_ALIGNED.
83105 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
83107         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83109 2010-12-10  Andreas Schwab  <schwab@redhat.com>
83111         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83112         _GNU_SOURCE.
83114         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83115         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83116         Remove __restrict.
83117         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83118         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83120 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
83122         [BZ #11655]
83123         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83124         are initialized.
83126 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
83128         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83130 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
83132         * po/it.po: Update from translation team.
83134 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
83136         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83137         unused codes.
83139 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
83141         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83143 2010-11-24  Andreas Schwab  <schwab@redhat.com>
83145         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83146         specially.
83147         (gaih_getanswer_slice): Likewise.
83149 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
83151         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83153 2010-05-31  Petr Baudis  <pasky@suse.cz>
83155         [BZ #11149]
83156         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83157         silently even in the chroot mode.
83159 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
83161         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83162         last patch a bit.  Pretty printing
83164 2010-05-31  Petr Baudis <pasky@suse.cz>
83166         [BZ #10085]
83167         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83168         initialization of skip_initgroups_dyn.
83170 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
83172         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83173         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83175 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
83177         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83179 2010-11-11  Andreas Schwab  <schwab@redhat.com>
83181         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83182         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83183         (tst-fnmatch-ENV): Set MALLOC_TRACE.
83184         ($(objpfx)tst-fnmatch-mem): New rule.
83185         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83186         * posix/tst-fnmatch.c (main): Call mtrace.
83188 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
83190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83191         Support Intel processor model 6 and model 0x2c.
83193 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
83195         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83196           signed comparison.
83198 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
83200         [BZ #12205]
83201         * string/test-strncasecmp.c (check_result): New function.
83202         (do_one_test): Use it.
83203         (check1): New function.
83204         (test_main): Use it.
83205         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83206         Support strcasecmp and strncasecmp.
83208 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
83210         [BZ #12194]
83211         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83212         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83214 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
83216         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83217         IFUNC support.
83218         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83219         memset-x86-64.
83220         * sysdeps/x86_64/multiarch/bzero.S: New file.
83221         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83222         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83223         * sysdeps/x86_64/multiarch/memset.S: New file.
83224         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
83225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83226         Set bit_Prefer_SSE_for_memop for Intel processors.
83227         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
83228         Define.
83229         (index_Prefer_SSE_for_memop): Define.
83230         (HAS_PREFER_SSE_FOR_MEMOP): Define.
83232 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
83234         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
83235         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
83237 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
83239         [BZ #12191]
83240         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83241         (__x86_64_raw_data_cache_size_half): Likewise.
83242         (__x86_64_raw_shared_cache_size): Likewise.
83243         (__x86_64_raw_shared_cache_size_half): Likewise.
83245         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83246         (__x86_64_raw_data_cache_size_half): Likewise.
83247         (__x86_64_raw_shared_cache_size): Likewise.
83248         (__x86_64_raw_shared_cache_size_half): Likewise.
83249         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
83250         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
83251         and __x86_64_raw_shared_cache_size_half.  Round
83252         __x86_64_data_cache_size_half, __x86_64_data_cache_size
83253         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
83254         to multiple of 256 bytes.
83256 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
83258         [BZ #12167]
83259         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
83260         of inacessible symlinks.  Verify result of symlink before returning it.
83261         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
83262         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
83264 2010-10-28  Erich Ritz  <erichritz@gmail.com>
83266         * math/math.h (isinf): Fix typo in comment.
83268 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
83270         * po/da.po: Update from translation team.
83272 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
83274         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
83275         is added to the list.
83277 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83278             Ulrich Drepper  <drepper@gmail.com>
83280         * elf/dl-object.c (_dl_new_object): Don't append the new object to
83281         the global list here.  Move code to...
83282         (_dl_add_to_namespace_list): ...here.  New function.
83283         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
83284         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
83285         * elf/dl-load.c (lose): Don't remove the element from the list.
83286         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
83287         (_dl_map_object): Likewise.
83289 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
83291         [BZ #12159]
83292         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
83293         into all bytes of SSE register.
83294         Patch by Richard Li <richardpku@gmail.com>.
83296 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
83298         [BZ #12140]
83299         * malloc/malloc.c (_int_free): Fill correct number of bytes when
83300         perturbing.
83302 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
83304         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
83305         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
83306         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
83307         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
83309         submachine.
83310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
83312 2010-10-22  Andreas Schwab  <schwab@redhat.com>
83314         * include/dlfcn.h (__RTLD_SECURE): Define.
83315         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
83316         mode & __RTLD_SECURE instead.
83317         (open_path): Rename preloaded parameter to secure.
83318         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
83319         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
83320         * elf/dl-deps.c (openaux): Likewise.
83321         * elf/rtld.c (struct map_args): Remove is_preloaded.
83322         (map_doit): Don't use it.
83323         (dl_main): Likewise.
83324         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
83325         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
83327 2010-09-09  Andreas Schwab  <schwab@redhat.com>
83329         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
83330         (sysd-rules-targets): Remove duplicates.
83331         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
83332         rtld-%.$o dependency.
83334 2010-10-18  Andreas Schwab  <schwab@redhat.com>
83336         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
83337         _dl_map_object do it.
83339 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
83341         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
83342         fast fma builtins, define the macros in the C99 standard.
83343         (FP_FAST_FMAF): Likewise.
83344         (FP_FAST_FMAL): Likewise.
83345         * sysdeps/x86_64/bits/mathdef.h: Likewise.
83347         * bits/mathdef.h: Update copyright year.
83348         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83350 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
83352         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
83353         builtins, define the macros in the C99 standard.
83354         (FP_FAST_FMAF): Likewise.
83355         (FP_FAST_FMAL): Likewise.
83356         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
83357         multiply/add.
83358         (FP_FAST_FMAF): Likewise.
83360 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
83362         [BZ #3268]
83363         * math/libm-test.inc (fma_test): Some new testcases.
83364         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
83365         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
83366         y and infinite z.  Do multiplication by C already in long double.
83367         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
83368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
83369         y and infinite z.  Do bitwise or of inexact bit into u.d.
83370         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
83371         * sysdeps/i386/fpu/s_fmaf.S: Removed.
83372         * sysdeps/i386/fpu/s_fma.S: Removed.
83373         * sysdeps/i386/fpu/s_fmal.S: Removed.
83375 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
83377         [BZ #3268]
83378         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
83379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
83380         computation is not scheduled after fetestexcept.  Fix value
83381         of minimum denormal long double.
83383 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
83385         [BZ #3268]
83386         * math/libm-test.inc (fma_test): Add some more tests.
83387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
83388         correctly.
83390 2010-10-15  Andreas Schwab  <schwab@redhat.com>
83392         * scripts/data/localplt-s390-linux-gnu.data: New file.
83393         * scripts/data/localplt-s390x-linux-gnu.data: New file.
83395 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
83397         [BZ #3268]
83398         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
83399         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
83400         instead of dbl-64.
83401         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
83402         inlines.
83403         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
83404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
83405         if one of x and y is very large and the other is subnormal.
83406         * sysdeps/s390/fpu/s_fmaf.c: New file.
83407         * sysdeps/s390/fpu/s_fma.c: New file.
83408         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
83409         * sysdeps/powerpc/fpu/s_fma.S: New file.
83410         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
83411         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
83412         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
83414 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
83416         [BZ #3268]
83417         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
83418         fma tests.
83419         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
83420         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
83421         * sysdeps/i386/i686/multiarch/s_fma.c: Include
83422         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
83423         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
83424         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
83425         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
83427 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
83429         [BZ #12078]
83430         * posix/regcomp.c (parse_branch): One more memory leak plugged.
83431         * posix/bug-regex31.input: Add test case.
83433 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
83435         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
83436         * posix/bug-regex31.input: New file.
83438         [BZ #12078]
83439         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
83440         (parse_sub_exp): Fix last change, use postorder.
83442         * posix/bug-regex31.c: New file.
83443         * posix/Makefile: Add rules to build and run bug-regex31.
83445         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
83447         [BZ #12078]
83448         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
83450         [BZ #12108]
83451         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
83452         to have entries in sys_siglist.
83454         [BZ #12093]
83455         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
83456         be NULL.
83458 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
83460         [BZ #3268]
83461         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
83462         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
83463         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
83464         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
83465         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83466         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
83467         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
83468         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
83469         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
83470         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
83471         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
83472         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
83473         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
83474         * math/ftestexcept.c (fetestexcept): Likewise.
83475         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
83476         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
83477         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
83478         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
83479         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
83480         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
83481         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
83483 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
83485         [BZ #12107]
83486         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
83487         newline.
83489 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
83491         * string/bug-strstr1.c: New file.
83492         * string/Makefile: Add rules to build and run bug-strstr1.
83494 2010-10-05  Eric Blake  <eblake@redhat.com>
83496         [BZ #12092]
83497         * string/str-two-way.h (two_way_long_needle): Always clear memory
83498         when skipping input due to the shift table.
83500 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
83502         [BZ #12005]
83503         * malloc/mcheck.c: Handle large requests.
83505         [BZ #12077]
83506         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
83507         for strncmp and strncasecmp.
83508         * string/stratcliff.c: Add tests for strcmp and strncmp.
83509         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
83511 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83513         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
83514         __set_fpscr.
83516 2010-09-30  Andreas Jaeger  <aj@suse.de>
83518         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
83519         (CGROUP_SUPER_MAGIC): Define.
83520         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83521         Handle btrfs and cgroup file systems.
83522         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
83523         Likewise.
83525 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
83527         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
83528         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
83530 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83532         [BZ #12067]
83533         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
83534         trying to locate the ELF header.
83536 2010-09-27  Andreas Schwab  <schwab@redhat.com>
83538         [BZ #11611]
83539         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
83540         Mask out sign-bit copies when constructing f_fsid.
83542 2010-09-24  Petr Baudis <pasky@suse.cz>
83544         * debug/stack_chk_fail_local.c: Add missing licence exception.
83545         * debug/warning-nop.c: Likewise.
83547 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
83549         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
83550         implementing getdents64 using getdents syscall, set d_type if
83551         __ASSUME_GETDENTS32_D_TYPE.
83553 2010-09-16  Andreas Schwab  <schwab@redhat.com>
83555         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
83556         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
83558 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
83560         [BZ #12037]
83561         * posix/unistd.h: Undo change of feature selection for ftruncate from
83562         2010-01-11.
83564 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
83566         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
83567         detection.
83569 2010-09-20  Andreas Schwab  <schwab@redhat.com>
83571         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
83572         fanotify_mark.
83573         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83575 2010-09-14  Andreas Schwab  <schwab@redhat.com>
83577         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
83578         variables after CHECK_SP call.
83579         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
83581 2010-09-13  Andreas Schwab  <schwab@redhat.com>
83582             Ulrich Drepper  <drepper@redhat.com>
83584         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
83585         re-relocationg ld.so.
83586         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
83587         _dl_init_paths call.
83588         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
83589         here anymore.
83591 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
83593         * resolv/res_init.c (__res_vinit): Count the default server we added.
83595 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
83596             Ulrich Drepper  <drepper@redhat.com>
83598         [BZ #11968]
83599         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83600         (____longjmp_chk): Use %ebx for saving value across system call.
83601         Add unwind info.
83603 2010-09-06  Andreas Schwab  <schwab@redhat.com>
83605         * manual/Makefile: Don't mix pattern rules with normal rules.
83607 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
83609         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
83610         operation.
83611         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
83612         * libio/iofopncook.c (_IO_cookie_init): Likewise.
83613         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
83614         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
83615         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83616         Likewise.
83618 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
83620         [BZ #11979]
83621         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
83622         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
83624 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
83626         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
83627         * sysdeps/x86_64/addmul_1.S: Likewise.
83628         * sysdeps/x86_64/lshift.S: Likewise.
83629         * sysdeps/x86_64/mul_1.S: Likewise.
83630         * sysdeps/x86_64/rshift.S: Likewise.
83631         * sysdeps/x86_64/sub_n.S: Likewise.
83632         * sysdeps/x86_64/submul_1.S: Likewise.
83634 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83636         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
83637         Define __sched_param instead of SCHED_* and sched_param when
83638         <bits/sched.h> is included with __need_schedparam defined.
83639         * bits/sched.h [__need_schedparam]
83640         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
83641         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
83642         (__defined_schedparam): Define to 1.
83643         (__sched_param): New structure, identical to sched_param.
83644         (__need_schedparam): Undefine.
83646 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
83648         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
83649         (epoll_create1): Declare.
83651         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
83653 2010-08-31  Andreas Schwab  <schwab@redhat.com>
83655         [BZ #7066]
83656         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
83657         shifting retval into place.
83659 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
83661         * nis/rpcsvc/nis.h: Update copyright notice.
83662         * nis/rpcsvc/nis.x: Likewise.
83663         * nis/rpcsvc/nis_callback.h: Likewise.
83664         * nis/rpcsvc/nis_callback.x: Likewise.
83665         * nis/rpcsvc/nis_object.x: Likewise.
83666         * nis/rpcsvc/nis_tags.h: Likewise.
83667         * nis/rpcsvc/yp.h: Likewise.
83668         * nis/rpcsvc/yp.x: Likewise.
83669         * nis/rpcsvc/ypupd.h: Likewise.
83670         * nis/yp_xdr.c: Likewise.
83671         * nis/ypupdate_xdr.c: Likewise.
83673         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
83674         mainly the body of pmap_getport.  Add parameters to specify timeouts.
83675         (pmap_getport): Use __libc_rpc_getport.
83676         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
83677         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
83678         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
83680 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
83682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
83683         fanotify_mark.
83685 2010-08-27  Roland McGrath  <roland@redhat.com>
83687         * sysdeps/i386/i686/multiarch/Makefile
83688         (CFLAGS-varshift.c): New variable.
83690 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
83692         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
83693         * sysdeps/i386/i686/multiarch/varshift.c: New file.
83695         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
83697         * sysdeps/x86_64/strlen.S: Minimal code improvement.
83699 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
83701         * sysdeps/x86_64/strlen.S: Unroll the loop.
83702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83703         strlen-sse2 strlen-sse2-bsf.
83704         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
83705         __strlen_no_bsf if bit_Slow_BSF is set.
83706         (__strlen_sse42): Removed.
83707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
83708         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
83710 2010-08-25  Roland McGrath  <roland@redhat.com>
83712         * sysdeps/x86_64/multiarch/varshift.S: File removed.
83713         * sysdeps/x86_64/multiarch/varshift.c: New file.
83714         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
83715         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
83716         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
83717         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
83719 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
83721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83722         strlen-sse2 strlen-sse2-bsf.
83723         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
83724         __strlen_sse2_bsf if bit_Slow_BSF is unset.
83725         (__strlen_sse2): Removed.
83726         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
83727         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
83728         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
83729         bit_Slow_BSF for Atom.
83730         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
83731         (index_Slow_BSF): Define.
83732         (HAS_SLOW_BSF): Define.
83734 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
83736         [BZ #10851]
83737         * resolv/res_init.c (__res_vinit): When no server address at all
83738         is given default to loopback.
83740 2010-08-24  Roland McGrath  <roland@redhat.com>
83742         * configure.in: Remove config-name.h generation.
83743         * configure: Regenerated.
83744         * config-name.in: File removed.
83745         * scripts/config-uname.sh: New file.
83746         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
83747         ($(objdir)config-name.h): New target.
83749         * sunrpc/rpc_parse.h: Avoid nested comment.
83751 2010-08-24  Richard Henderson  <rth@redhat.com>
83752             Ulrich Drepper  <drepper@redhat.com>
83753             H.J. Lu  <hongjiu.lu@intel.com>
83755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
83756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
83757         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
83758         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
83759         _mm_alignr_epi8 with _mm_loadu_si128.
83760         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
83761         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
83762         (__m128i_shift_right): Removed.
83763         * sysdeps/i386/i686/multiarch/varshift.h: New file.
83764         * sysdeps/i386/i686/multiarch/varshift.S: New file.
83765         * sysdeps/x86_64/multiarch/varshift.h: New file.
83766         * sysdeps/x86_64/multiarch/varshift.S: New file.
83768 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
83770         * configure.in: Move assembler checks to before sysdep dir checking.
83772 2010-08-20  Petr Baudis  <pasky@suse.cz>
83774         * LICENSES: Sync the sunrpc license.
83776 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
83778         * sunrpc/auth_des.c: Update copyright notice once again.
83779         * sunrpc/auth_none.c: Likewise.
83780         * sunrpc/auth_unix.c: Likewise.
83781         * sunrpc/authdes_prot.c: Likewise.
83782         * sunrpc/authuxprot.c: Likewise.
83783         * sunrpc/bindrsvprt.c: Likewise.
83784         * sunrpc/clnt_gen.c: Likewise.
83785         * sunrpc/clnt_perr.c: Likewise.
83786         * sunrpc/clnt_raw.c: Likewise.
83787         * sunrpc/clnt_simp.c: Likewise.
83788         * sunrpc/clnt_tcp.c: Likewise.
83789         * sunrpc/clnt_udp.c: Likewise.
83790         * sunrpc/clnt_unix.c: Likewise.
83791         * sunrpc/des_crypt.c: Likewise.
83792         * sunrpc/des_soft.c: Likewise.
83793         * sunrpc/get_myaddr.c: Likewise.
83794         * sunrpc/getrpcport.c: Likewise.
83795         * sunrpc/key_call.c: Likewise.
83796         * sunrpc/key_prot.c: Likewise.
83797         * sunrpc/openchild.c: Likewise.
83798         * sunrpc/pm_getmaps.c: Likewise.
83799         * sunrpc/pm_getport.c: Likewise.
83800         * sunrpc/pmap_clnt.c: Likewise.
83801         * sunrpc/pmap_prot.c: Likewise.
83802         * sunrpc/pmap_prot2.c: Likewise.
83803         * sunrpc/pmap_rmt.c: Likewise.
83804         * sunrpc/rpc/auth.h: Likewise.
83805         * sunrpc/rpc/auth_unix.h: Likewise.
83806         * sunrpc/rpc/clnt.h: Likewise.
83807         * sunrpc/rpc/des_crypt.h: Likewise.
83808         * sunrpc/rpc/key_prot.h: Likewise.
83809         * sunrpc/rpc/netdb.h: Likewise.
83810         * sunrpc/rpc/pmap_clnt.h: Likewise.
83811         * sunrpc/rpc/pmap_prot.h: Likewise.
83812         * sunrpc/rpc/pmap_rmt.h: Likewise.
83813         * sunrpc/rpc/rpc.h: Likewise.
83814         * sunrpc/rpc/rpc_des.h: Likewise.
83815         * sunrpc/rpc/rpc_msg.h: Likewise.
83816         * sunrpc/rpc/svc.h: Likewise.
83817         * sunrpc/rpc/svc_auth.h: Likewise.
83818         * sunrpc/rpc/types.h: Likewise.
83819         * sunrpc/rpc/xdr.h: Likewise.
83820         * sunrpc/rpc_clntout.c: Likewise.
83821         * sunrpc/rpc_cmsg.c: Likewise.
83822         * sunrpc/rpc_common.c: Likewise.
83823         * sunrpc/rpc_cout.c: Likewise.
83824         * sunrpc/rpc_dtable.c: Likewise.
83825         * sunrpc/rpc_hout.c: Likewise.
83826         * sunrpc/rpc_main.c: Likewise.
83827         * sunrpc/rpc_parse.c: Likewise.
83828         * sunrpc/rpc_parse.h: Likewise.
83829         * sunrpc/rpc_prot.c: Likewise.
83830         * sunrpc/rpc_sample.c: Likewise.
83831         * sunrpc/rpc_scan.c: Likewise.
83832         * sunrpc/rpc_scan.h: Likewise.
83833         * sunrpc/rpc_svcout.c: Likewise.
83834         * sunrpc/rpc_tblout.c: Likewise.
83835         * sunrpc/rpc_util.c: Likewise.
83836         * sunrpc/rpc_util.h: Likewise.
83837         * sunrpc/rpcinfo.c: Likewise.
83838         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
83839         * sunrpc/rpcsvc/key_prot.x: Likewise.
83840         * sunrpc/rpcsvc/klm_prot.x: Likewise.
83841         * sunrpc/rpcsvc/mount.x: Likewise.
83842         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
83843         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
83844         * sunrpc/rpcsvc/rex.x: Likewise.
83845         * sunrpc/rpcsvc/rstat.x: Likewise.
83846         * sunrpc/rpcsvc/rusers.x: Likewise.
83847         * sunrpc/rpcsvc/sm_inter.x: Likewise.
83848         * sunrpc/rpcsvc/spray.x: Likewise.
83849         * sunrpc/rpcsvc/yppasswd.x: Likewise.
83850         * sunrpc/rtime.c: Likewise.
83851         * sunrpc/svc.c: Likewise.
83852         * sunrpc/svc_auth.c: Likewise.
83853         * sunrpc/svc_authux.c: Likewise.
83854         * sunrpc/svc_raw.c: Likewise.
83855         * sunrpc/svc_run.c: Likewise.
83856         * sunrpc/svc_simple.c: Likewise.
83857         * sunrpc/svc_tcp.c: Likewise.
83858         * sunrpc/svc_udp.c: Likewise.
83859         * sunrpc/svc_unix.c: Likewise.
83860         * sunrpc/svcauth_des.c: Likewise.
83861         * sunrpc/xcrypt.c: Likewise.
83862         * sunrpc/xdr.c: Likewise.
83863         * sunrpc/xdr_array.c: Likewise.
83864         * sunrpc/xdr_float.c: Likewise.
83865         * sunrpc/xdr_mem.c: Likewise.
83866         * sunrpc/xdr_rec.c: Likewise.
83867         * sunrpc/xdr_ref.c: Likewise.
83868         * sunrpc/xdr_sizeof.c: Likewise.
83869         * sunrpc/xdr_stdio.c: Likewise.
83871         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
83872         handling.
83874 2010-08-19  Andreas Schwab  <schwab@redhat.com>
83876         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
83878 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
83880         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
83881         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
83882         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
83883         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
83884         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
83885         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
83886         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
83887         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
83888         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
83889         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
83890         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
83891         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
83892         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
83893         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
83895 2010-07-26  Anton Blanchard  <anton@samba.org>
83897         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
83898         * malloc/arena.c (heap_trim): Likewise.
83900 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
83902         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
83903         here.  Not...
83904         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
83905         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
83907 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
83909         * sysdeps/i386/elf/Makefile: New file.
83911 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83913         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
83914         from fanotify_init.
83915         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
83916         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83918 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
83920         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
83921         of strncasecmp_l.
83922         * sysdeps/multiarch/strcmp.S: Likewise.
83924 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
83926         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83927         strncase_l-nonascii.
83928         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83929         Add strncase_l-ssse3.
83930         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
83931         * sysdeps/x86_64/strcmp.S: Likewise.
83932         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
83933         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
83934         * sysdeps/x86_64/strncase.S: New file.
83935         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
83936         * sysdeps/x86_64/strncase_l.S: New file.
83937         * string/Makefile (strop-tests): Add strncasecmp.
83938         * string/test-strncasecmp.c: New file.
83940         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
83941         warning.
83943         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83944         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83946 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83948         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83950 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83952         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83953         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83954         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83956 2010-05-01  Alan Modra  <amodra@gmail.com>
83958         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83959         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83960         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83961         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83962         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83963         tidying.  Don't tail-call __sigjmp_save for static lib.
83964         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83965         save location.
83966         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83967         (CALL_MCOUNT): Add eh info, and nop after bl.
83968         (TAIL_CALL_SYSCALL_ERROR): New macro.
83969         (PSEUDO_RET): Use it.
83970         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83971         Correct save location of integer regs and cr.
83972         (_dl_profile_resolve): Correct cr save location.  Delete nops
83973         after bl when SHARED.  Reduce cfi size a little by better
83974         placement of cfi directives.
83975         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83976         make a stack frame.  Instead use parm save area as a temp.
83977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83978         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83980         Don't make a stack frame for parent, use parm save area.
83981         Increase child stack frame to 112 bytes.  Don't save unused reg,
83982         and adjust reg usage.  Set up cfi on error recovery and
83983         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83985         (__makecontext): Add dummy nop after jump to exit.
83986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83987         Use correct parm save area and cr save, reduce stack frame.
83988         Correct cfi for possible PSEUDO_RET frame setup.
83989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83990         Branch to local label emitted by PSEUDO_RET rather than
83991         __syscall_error.
83993 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83995         [BZ #11904]
83996         * locale/programs/locale.c (print_assignment): New function.
83997         (show_locale_vars): Use it.
83999 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
84001         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84002         field.
84003         (struct statfs64): Likewise.
84004         (_STATFS_F_FLAGS): Define.
84005         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84006         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84007         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84008         (ST_VALID): Define locally.
84009         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84010         __statvfs_getflags, use the provided value.
84011         * sysdeps/unix/sysv/linux/kernel-features.h: Define
84012         __ASSUME_STATFS_F_FLAGS.
84014         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84016         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84017         Add sys/fanotify.h.
84018         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84019         fanotify_mask for GLIBC_2.13.
84020         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84021         fanotify_init and fanotify_mark.
84022         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84023         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84025         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84026         Add prlimit.
84027         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84028         prlimit64 for GLIBC_2.13.
84029         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84030         prlimit64.
84031         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84032         syscall.
84033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84034         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84035         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84036         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
84038         add prlimit alias.
84039         * sysdeps/unix/sysv/linux/prlimit.c: New file.
84041         [BZ #11903]
84042         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84043         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84045         * nss/Makefile: Add rules to build and run tst-nss-test1.
84046         * shlib-versions: Add entry for libnss_test1.
84047         * nss/nss_test1.c: New file.
84048         * nss/tst-nss-test1.c: New file.
84050         * nss/nsswitch.c (__nss_database_custom): Define new variable.
84051         (__nss_configure_lookup): Set appropriate entry in
84052         __nss_configure_lookup to true.
84053         * nss/nsswitch.h: Define enum with indeces of databases in
84054         databases and __nss_database_custom arrays.  Declare
84055         __nss_database_custom.
84056         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84057         to avoid using nscd when custom rules are installed.
84058         * nss/getXXbyYY_r.c: Likewise.
84059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84061         * nss/nss_files/files-parse.c: Whitespace fixes.
84063 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
84065         [BZ #11883]
84066         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84067         * posix/fnmatch_loop.c: Likewise.
84069 2010-07-17  Andi Kleen  <ak@linux.intel.com>
84071         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84072         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84073         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84074         * Versions.def [GLIBC_2.13]: Add.
84076 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
84078         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84079         Also fail if tpwd after pwuid call is NULL.
84081 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84083         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84084         when converting to ms.
84086 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84088         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84089         EOPNOTSUPP errors with ENOTTY.
84090         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84091         EOPNOTSUPP errors with ENOTTY.
84093 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
84095         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84096         Add strcasecmp_l-ssse3.
84097         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84098         strcasecmp.
84099         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84100         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84101         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84103 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
84105         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84107         * string/Makefile (strop-tests): Add strcasecmp.
84108         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84109         strcasecmp_l-nonascii.
84110         (gen-as-const-headers): Add locale-defines.sym.
84111         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84112         * sysdeps/x86_64/strcasecmp.S: New file.
84113         * sysdeps/x86_64/strcasecmp_l.S: New file.
84114         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84115         * sysdeps/x86_64/locale-defines.sym: New file.
84116         * string/test-strcasecmp.c: New file.
84118         * string/test-strcasestr.c: Test both ends of the range of characters.
84119         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84121 2010-07-29  Roland McGrath  <roland@redhat.com>
84123         [BZ #11856]
84124         * manual/locale.texi (Yes-or-No Questions): Fix example code.
84126 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
84128         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84129         for ld.so.
84131 2010-07-27  Andreas Schwab  <schwab@redhat.com>
84133         * manual/memory.texi (Malloc Tunable Parameters): Document
84134         M_PERTURB.
84136 2010-07-26  Roland McGrath  <roland@redhat.com>
84138         [BZ #11840]
84139         * configure.in (-fgnu89-inline check): Set and substitute
84140         gnu89_inline, not libc_cv_gnu89_inline.
84141         * configure: Regenerated.
84142         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84144 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
84146         * string/test-strnlen.c: New file.
84147         * string/Makefile (strop-tests): Add strnlen.
84148         * string/tester.c (test_strnlen): Add a few more test cases.
84149         * string/tst-strlen.c: Better error reporting.
84151         * sysdeps/x86_64/strnlen.S: New file.
84153 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
84155         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84156         lower-latency instructions.
84158 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
84160         * string/test-strcasestr.c: New file.
84161         * string/test-strstr.c: New file.
84162         * string/Makefile (strop-tests): Add strstr and strcasestr.
84163         * string/str-two-way.h: Don't undefine MAX.
84164         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84166 2010-07-21  Andreas Schwab  <schwab@redhat.com>
84168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84169         strcasestr-nonascii.
84170         (CFLAGS-strcasestr-nonascii.c): Define.
84171         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84172         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84173         Remove unused attribute.
84175 2010-07-20  Roland McGrath  <roland@redhat.com>
84177         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84178         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
84179         ld.so.cache was broken.  With it, there is no way to disable dsocaps
84180         like LD_HWCAP_MASK can disable hwcaps.
84182 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84184         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84186 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
84188         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84189         call in strcasestr.
84190         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84191         __strcasestr_sse42_nonascii.
84192         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84193         strcasestr-nonascii.c.
84194         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84196 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
84198         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84199         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84200         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84201         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84203 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
84205         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84206         fcntl.
84208 2010-07-06  Andreas Schwab  <schwab@redhat.com>
84210         [BZ #11577]
84211         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84212         dl_signal_cerror.
84214 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
84216         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84217         _PC_PIPE_BUF using F_GETPIPE_SZ.
84219 2010-07-05  Roland McGrath  <roland@redhat.com>
84221         * manual/arith.texi (Rounding Functions): Fix rint description
84222         implicit in round description.
84224 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
84226         * elf/Makefile: Fix linking for a few tests to make recent linker
84227         happy.
84229 2010-06-30  Andreas Schwab  <schwab@redhat.com>
84231         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84232         $(common-objpfx)libc_nonshared.a.
84234 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
84236         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
84237         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
84238         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84239         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84240         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
84241         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
84242         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84243         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
84245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
84246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
84247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
84249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
84251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
84252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
84253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
84254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
84256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
84258         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
84259         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
84260         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
84261         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
84262         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
84263         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
84264         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
84265         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
84266         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
84267         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
84268         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
84269         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
84270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
84271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
84272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
84273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
84274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
84275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
84276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
84277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
84278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
84279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
84280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
84281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
84282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
84283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
84285 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
84287         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
84288         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
84289         * string/memmove.c (memmove): Renamed to ...
84290         (MEMMOVE): ...this.  Default to memmove.
84291         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
84292         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
84293         (END_CHK): Define.
84294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84295         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
84296         mempcpy-ssse3-back memmove-ssse3-back.
84297         * sysdeps/x86_64/multiarch/bcopy.S: New file .
84298         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
84299         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
84300         * sysdeps/x86_64/multiarch/memcpy.S: New file.
84301         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
84302         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
84303         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
84304         * sysdeps/x86_64/multiarch/memmove.c: New file.
84305         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
84306         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
84307         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
84308         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
84309         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
84310         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
84311         Define.
84312         (index_Fast_Copy_Backward): Define.
84313         (HAS_ARCH_FEATURE): Define.
84314         (HAS_FAST_REP_STRING): Define.
84315         (HAS_FAST_COPY_BACKWARD): Define.
84317 2010-06-21  Andreas Schwab  <schwab@redhat.com>
84319         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84320         Restore proper fallback handling.
84322 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
84324         [BZ #11701]
84325         * posix/group_member.c (__group_member): Correct checking loop.
84327         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
84328         OOM in getpwuid_r correctly.  Return error number when the caller
84329         should return, otherwise -1.
84330         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
84331         call returning > 0 value.
84332         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
84334 2010-06-07  Andreas Schwab  <schwab@redhat.com>
84336         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
84337         libc_nonshared.a from targets in modules-names.
84339 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
84341         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
84342         requires it.
84344 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
84346         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
84347         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
84348         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
84349         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
84351 2010-06-02  Andreas Schwab  <schwab@redhat.com>
84353         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
84355 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
84357         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
84358         and F_GETPIPE_SZ.
84359         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84360         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84362         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84363         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84364         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84366 2010-06-14  Roland McGrath  <roland@redhat.com>
84368         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
84370 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
84372         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
84373         __REDIRECT followed by __THROW.
84374         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
84375         * posix/getopt.h (getopt): Likewise.
84377 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84379         * hurd/lookup-at.c (__file_name_lookup_at): Accept
84380         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
84381         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
84382         in AT_FLAGS.
84383         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
84384         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
84386 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
84388         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
84390 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
84392         [BZ #11640]
84393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84394         Properly check family and model.
84396 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
84398         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
84400 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
84402         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
84404 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
84406         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
84407         symbol reference.
84409 2010-05-19  Andreas Schwab  <schwab@redhat.com>
84411         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
84412         symbol reference.
84414 2010-05-21  Andreas Schwab  <schwab@redhat.com>
84416         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
84417         and internal_recvmmsg.
84418         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
84419         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
84420         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
84421         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
84423         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
84424         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
84425         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
84427 2010-05-20  Andreas Schwab  <schwab@redhat.com>
84429         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
84431 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
84433         POWER7 optimizations.
84434         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
84435         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
84437 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
84439         * version.h: Update for 2.13 development version.
84441 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
84443         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
84444         exceptions.  Return 0.
84446 2010-05-07  Roland McGrath  <roland@redhat.com>
84448         * elf/ldconfig.c (main): Add a const.
84450 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
84452         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
84453         (args_options): Add no-idn option.
84454         (ahosts_keys_int): Add idn_flags to ai_flags.
84455         (parse_option): Handle 'i' option to clear idn_flags.
84457         * malloc/malloc.c (_int_free): Possible race in the most recently
84458         added check.  Only act on the data if no current modification
84459         happened.
84461 See ChangeLog.17 for earlier changes.